![]() |
An open-source, flexible 3D physical simulation framework
|
#include <JointLoadSensor.h>
Public Member Functions | |
JointLoadSensor (interfaces::ControlCenter *control, IDListConfig config) | |
~JointLoadSensor (void) | |
virtual int | getAsciiData (char *data) const |
virtual int | getSensorData (interfaces::sReal **data) const |
virtual void | produceData (const data_broker::DataInfo &info, data_broker::DataPackage *package, int callbackParam) |
virtual void | receiveData (const data_broker::DataInfo &info, const data_broker::DataPackage &package, int callbackParam) |
The DataBroker will call this method to notify the receiver of whenever the condition for which the receiver registered occur. More... | |
![]() | |
JointArraySensor (interfaces::ControlCenter *control, IDListConfig config, bool initArray=true) | |
virtual | ~JointArraySensor (void) |
virtual configmaps::ConfigMap | createConfig () const |
![]() | |
SensorInterface (ControlCenter *center) | |
virtual | ~SensorInterface () |
![]() | |
BaseSensor () | |
virtual | ~BaseSensor () |
BaseSensor (unsigned long id, std::string name) | |
unsigned long | getID () const |
const std::string | getName () const |
void | getCoreExchange (core_objects_exchange *obj) const |
![]() | |
ReceiverInterface () | |
virtual | ~ReceiverInterface () |
![]() | |
ProducerInterface () | |
virtual | ~ProducerInterface () |
Static Public Member Functions | |
static interfaces::BaseSensor * | instanciate (interfaces::ControlCenter *control, interfaces::BaseConfig *config) |
![]() | |
static interfaces::BaseConfig * | parseConfig (interfaces::ControlCenter *control, configmaps::ConfigMap *config) |
![]() | |
static BaseConfig * | parseConfig (ControlCenter *control, configmaps::ConfigMap *config) |
Private Attributes | |
long | loadIndices [3] |
data_broker::DataPackage | dbPackage |
Additional Inherited Members | |
![]() | |
unsigned long | id |
std::string | name |
unsigned long | updateRate |
![]() | |
std::string | typeName |
int | countIDs |
std::vector< double > | doubleArray |
![]() | |
ControlCenter * | control |
Definition at line 43 of file JointLoadSensor.h.
mars::sim::JointLoadSensor::JointLoadSensor | ( | interfaces::ControlCenter * | control, |
IDListConfig | config | ||
) |
Definition at line 47 of file JointLoadSensor.cpp.
mars::sim::JointLoadSensor::~JointLoadSensor | ( | void | ) |
Definition at line 63 of file JointLoadSensor.cpp.
|
virtual |
Reimplemented from mars::sim::JointArraySensor.
Definition at line 69 of file JointLoadSensor.cpp.
|
virtual |
Reimplemented from mars::sim::JointArraySensor.
Definition at line 83 of file JointLoadSensor.cpp.
|
static |
Definition at line 39 of file JointLoadSensor.cpp.
|
virtual |
Implements mars::data_broker::ProducerInterface.
Definition at line 95 of file JointLoadSensor.cpp.
|
virtual |
The DataBroker will call this method to notify the receiver of whenever the condition for which the receiver registered occur.
info | Information about the DataPackage. |
dataPackage | The DataPackage containing all the data. |
callbackParam | The int the receiver passed during registration. The default (the receiver didn't provide a callbackParam) is 0. This can be used to easily distinguish different registrations. |
Reimplemented from mars::sim::JointArraySensor.
Definition at line 116 of file JointLoadSensor.cpp.
|
private |
Definition at line 64 of file JointLoadSensor.h.
|
private |
Definition at line 63 of file JointLoadSensor.h.