![]() |
An open-source, flexible 3D physical simulation framework
|
#include <NodeArraySensor.h>
Public Member Functions | |
NodeArraySensor (interfaces::ControlCenter *control, IDListConfig config, bool initArray=true, bool registerReceiver=true) | |
virtual | ~NodeArraySensor (void) |
virtual int | getAsciiData (char *data) const |
virtual int | getSensorData (interfaces::sReal **data) const |
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... | |
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 () |
Static Public Member Functions | |
static interfaces::BaseConfig * | parseConfig (interfaces::ControlCenter *control, configmaps::ConfigMap *config) |
![]() | |
static BaseConfig * | parseConfig (ControlCenter *control, configmaps::ConfigMap *config) |
Protected Attributes | |
std::string | typeName |
int | countIDs |
std::vector< double > | doubleArray |
IDListConfig | config |
![]() | |
ControlCenter * | control |
Additional Inherited Members | |
![]() | |
unsigned long | id |
std::string | name |
unsigned long | updateRate |
Definition at line 45 of file NodeArraySensor.h.
mars::sim::NodeArraySensor::NodeArraySensor | ( | interfaces::ControlCenter * | control, |
IDListConfig | config, | ||
bool | initArray = true , |
||
bool | registerReceiver = true |
||
) |
Definition at line 70 of file NodeArraySensor.cpp.
|
virtual |
Definition at line 102 of file NodeArraySensor.cpp.
|
virtual |
Reimplemented from mars::interfaces::BaseSensor.
Definition at line 53 of file NodeArraySensor.cpp.
|
virtual |
Reimplemented from mars::interfaces::BaseSensor.
Reimplemented in mars::sim::NodeContactForceSensor, mars::sim::NodeRotationSensor, mars::sim::NodeAngularVelocitySensor, mars::sim::NodePositionSensor, mars::sim::NodeVelocitySensor, and mars::sim::NodeCOMSensor.
Definition at line 110 of file NodeArraySensor.cpp.
|
virtual |
Reimplemented from mars::interfaces::BaseSensor.
Reimplemented in mars::sim::NodeContactForceSensor, mars::sim::NodeRotationSensor, mars::sim::NodeAngularVelocitySensor, mars::sim::NodePositionSensor, mars::sim::NodeVelocitySensor, and mars::sim::NodeCOMSensor.
Definition at line 125 of file NodeArraySensor.cpp.
|
static |
Definition at line 46 of file NodeArraySensor.cpp.
|
inlinevirtual |
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. |
Implements mars::data_broker::ReceiverInterface.
Reimplemented in mars::sim::NodeContactForceSensor, mars::sim::NodeRotationSensor, mars::sim::NodeAngularVelocitySensor, mars::sim::NodePositionSensor, and mars::sim::NodeVelocitySensor.
Definition at line 57 of file NodeArraySensor.h.
|
protected |
Definition at line 69 of file NodeArraySensor.h.
|
protected |
Definition at line 67 of file NodeArraySensor.h.
|
protected |
Definition at line 68 of file NodeArraySensor.h.
|
protected |
Definition at line 66 of file NodeArraySensor.h.