Page MenuHomec4science

OncillaFoot.cpp
No OneTemporary

File Metadata

Created
Fri, May 2, 18:31

OncillaFoot.cpp

#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