Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F111505427
OncillaFoot.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, May 2, 18:31
Size
795 B
Mime Type
text/x-c
Expires
Sun, May 4, 18:31 (2 d)
Engine
blob
Format
Raw Data
Handle
25927944
Attached To
R6622 liboncilla
OncillaFoot.cpp
View Options
#include "OncillaFoot.h"
using namespace std;
namespace cca {
namespace rci {
namespace driver {
OncillaFoot::OncillaFoot(std::string name) :
rci::ResourceNode(name), rci::Sensing(), rci::ForceSensing() {
this->_dimension = 1;
this->addOutputPort<Forces> ();
}
ForcesPtr OncillaFoot::getForces() const {
throw std::runtime_error("Not yet implemented.");
}
OncillaFoot::~OncillaFoot() {
}
void OncillaFoot::onProcess() {
}
std::string OncillaFoot::print() const {
ostringstream outstream(ostringstream::out);
outstream.precision(3); // Precision when printing double values
outstream << "<Oncilla Foot>" << endl;
return outstream.str();
}
CCANodePtr OncillaFoot::create(string name) {
CCANodePtr node(new OncillaFoot(name));
return node;
}
}
}
}
Event Timeline
Log In to Comment