|
#include <ArmarXSimulation/components/RobotUnitSimulation/Devices/PlatformSimulationDevice.h>
Classes | |
struct | JointEmergencyStopController |
struct | JointStopMovementController |
struct | JointVelocityController |
Public Member Functions | |
PlatformSimulationDevice (const std::string &name) | |
Public Member Functions inherited from SensorDeviceTemplate< SensorValueHolonomicPlatform > | |
const SensorValueHolonomicPlatform * | getSensorValue () const final override |
SensorDeviceTemplate (const std::string &name) | |
Public Member Functions inherited from SensorDevice | |
virtual std::string | getReportingFrame () const |
template<class T > | |
const T * | getSensorValue () const |
virtual const SensorValueBase * | getSensorValue () const =0 |
std::string | getSensorValueType (bool withoutNamespaceSpecifier=false) const |
Returns the SensorValue's type as a string. More... | |
virtual void | rtReadSensorValues (const IceUtil::Time &sensorValuesTimestamp, const IceUtil::Time &timeSinceLastIteration) |
This is a hook for implementations to read the sensor value from a bus. More... | |
SensorDevice (const std::string &name) | |
Create a SensorDevice with the given name. More... | |
Public Member Functions inherited from DeviceBase | |
DeviceBase (const std::string &name) | |
Create a Device with the given name. More... | |
const std::string & | getDeviceName () const |
const std::set< std::string > & | getTags () const |
virtual bool | hasError () |
bool | hasTag (const std::string &tag) const |
const char * | rtGetDeviceName () const |
virtual | ~DeviceBase ()=default |
Public Member Functions inherited from ControlDevice | |
ControlDevice (const std::string &name) | |
Create a ControlDevice with the given name. More... | |
const std::vector< std::string > & | getControlModes () const |
JointController * | getJointController (const std::string &mode) |
const JointController * | getJointController (const std::string &mode) const |
JointController * | getJointController (std::size_t i) |
const JointController * | getJointController (std::size_t i) const |
std::vector< const JointController * > | getJointControllers () const |
std::map< std::string, std::string > | getJointControllerToTargetTypeNameMap () const |
JointController * | getJointEmergencyStopController () |
JointController * | getJointStopMovementController () |
RobotUnitModule::Devices * | getOwner () const |
bool | hasJointController (const std::string &mode) const |
JointController * | rtGetActiveJointController () |
const std::vector< JointController * > & | rtGetJointControllers () |
JointController * | rtGetJointEmergencyStopController () |
JointController * | rtGetJointStopMovementController () |
void | rtRun (const IceUtil::Time &sensorValuesTimestamp, const IceUtil::Time &timeSinceLastIteration) |
runs the active Joint Controller and write the target values into the control device More... | |
virtual void | rtSetActiveJointController (JointController *jointCtrl) |
Activates the given JointController for this device. More... | |
virtual void | rtWriteTargetValues (const IceUtil::Time &sensorValuesTimestamp, const IceUtil::Time &timeSinceLastIteration) |
This is a hook for implementations to write the setpoints to a bus. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from SensorDevice | |
static const SensorDevicePtr | NullPtr {nullptr} |
A static const nullptr in case a const ref to a nullptr needs to be returned. More... | |
Static Public Attributes inherited from ControlDevice | |
static const ControlDevicePtr | NullPtr {nullptr} |
A static const nullptr in case a const ref to a nullptr needs to be returned. More... | |
Protected Member Functions inherited from DeviceBase | |
void | addDeviceTag (const std::string &tag) |
adds the given tag to the Device More... | |
Protected Member Functions inherited from ControlDevice | |
void | addJointController (JointController *jointCtrl) |
adds the Joint controller to this ControlDevice More... | |
ControlTargetBase::ControlDeviceAccessToken | getControlTargetAccessToken () const |
Definition at line 35 of file PlatformSimulationDevice.h.
PlatformSimulationDevice | ( | const std::string & | name | ) |
Definition at line 24 of file PlatformSimulationDevice.cpp.
float initAbsolutePositionRotation |
Definition at line 103 of file PlatformSimulationDevice.h.
float initAbsolutePositionX |
Definition at line 101 of file PlatformSimulationDevice.h.
float initAbsolutePositionY |
Definition at line 102 of file PlatformSimulationDevice.h.
JointEmergencyStopController jointEmergencyCtrl |
Definition at line 106 of file PlatformSimulationDevice.h.
JointStopMovementController jointStopMovCtrl |
Definition at line 107 of file PlatformSimulationDevice.h.
JointVelocityController jointVel |
Definition at line 105 of file PlatformSimulationDevice.h.
Definition at line 99 of file PlatformSimulationDevice.h.