20 #ifndef _LINK_SENSORS_H_
21 #define _LINK_SENSORS_H_
23 #include "mbsimControl/sensor.h"
29 namespace MBSimControl {
37 LinkSensor(
const std::string &name) :
Sensor(name), link(NULL), linkString(
"") {}
38 std::string getType()
const {
return "LinkSensor"; }
39 void initializeUsingXML(xercesc::DOMElement *element);
40 void init(InitStage stage);
44 std::string linkString;
54 std::string getType()
const {
return "GeneralizedRelativePositionSensor"; }
56 int getSignalSize()
const {
return link->evalGeneralizedRelativePosition().size(); }
66 std::string getType()
const {
return "GeneralizedRelativeVelocitySensor"; }
68 int getSignalSize()
const {
return link->evalGeneralizedRelativeVelocity().size(); }
GeneralizedRelativePositionSensor.
Definition: link_sensors.h:51
AbsoluteVelocitySensor.
Definition: link_sensors.h:63
Sensor.
Definition: sensor.h:31
LinkSensor.
Definition: link_sensors.h:35