![]() |
An open-source, flexible 3D physical simulation framework
|
#include <JointArraySensor.h>
Public Member Functions | |
JointArraySensor (interfaces::ControlCenter *control, IDListConfig config, bool initArray=true) | |
virtual | ~JointArraySensor (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 |
![]() | |
ControlCenter * | control |
Private Attributes | |
IDListConfig | config |
Additional Inherited Members | |
![]() | |
unsigned long | id |
std::string | name |
unsigned long | updateRate |
Definition at line 46 of file JointArraySensor.h.
mars::sim::JointArraySensor::JointArraySensor | ( | interfaces::ControlCenter * | control, |
IDListConfig | config, | ||
bool | initArray = true |
||
) |
Definition at line 70 of file JointArraySensor.cpp.
|
virtual |
Definition at line 91 of file JointArraySensor.cpp.
|
virtual |
Reimplemented from mars::interfaces::BaseSensor.
Definition at line 53 of file JointArraySensor.cpp.
|
virtual |
Reimplemented from mars::interfaces::BaseSensor.
Reimplemented in mars::sim::JointAVGTorqueSensor, mars::sim::JointLoadSensor, mars::sim::JointTorqueSensor, and mars::sim::JointVelocitySensor.
Definition at line 97 of file JointArraySensor.cpp.
|
virtual |
Reimplemented from mars::interfaces::BaseSensor.
Reimplemented in mars::sim::JointAVGTorqueSensor, and mars::sim::JointLoadSensor.
Definition at line 112 of file JointArraySensor.cpp.
|
static |
Definition at line 46 of file JointArraySensor.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::JointAVGTorqueSensor, mars::sim::JointLoadSensor, mars::sim::JointTorqueSensor, mars::sim::JointVelocitySensor, and mars::sim::JointPositionSensor.
Definition at line 56 of file JointArraySensor.h.
|
private |
Definition at line 70 of file JointArraySensor.h.
|
protected |
Definition at line 66 of file JointArraySensor.h.
|
protected |
Definition at line 67 of file JointArraySensor.h.
|
protected |
Definition at line 65 of file JointArraySensor.h.