#include <mc_rbdyn/RobotData.h>
Public Attributes | |
std::vector< std::string > | refJointOrder |
std::vector< double > | encoderValues |
std::vector< double > | encoderVelocities |
std::vector< double > | jointTorques |
std::vector< ForceSensor > | forceSensors |
std::unordered_map< std::string, size_t > | forceSensorsIndex |
std::unordered_map< std::string, size_t > | bodyForceSensors_ |
BodySensorVector | bodySensors |
std::unordered_map< std::string, size_t > | bodySensorsIndex |
std::unordered_map< std::string, size_t > | bodyBodySensors |
std::vector< JointSensor > | jointSensors |
std::unordered_map< std::string, size_t > | jointJointSensors |
std::unordered_map< std::string, mc_control::GripperPtr > | grippers |
std::vector< mc_control::GripperRef > | grippersRef |
DevicePtrVector | devices |
std::unordered_map< std::string, size_t > | devicesIndex |
std::vector< Robot * > | robots |
Hold data and objects that are shared among different views of a robot (control/real/output)
The framework enforce consistency between these views
This includes:
std::unordered_map<std::string, size_t> mc_rbdyn::RobotData::bodyBodySensors |
Correspondance between bodies' names and attached body sensors
std::unordered_map<std::string, size_t> mc_rbdyn::RobotData::bodyForceSensors_ |
Correspondance between bodies' names and attached force sensors
BodySensorVector mc_rbdyn::RobotData::bodySensors |
Hold all body sensors
std::unordered_map<std::string, size_t> mc_rbdyn::RobotData::bodySensorsIndex |
Correspondance between body sensor's name and body sensor index
DevicePtrVector mc_rbdyn::RobotData::devices |
Hold all devices that are neither force sensors nor body sensors
std::unordered_map<std::string, size_t> mc_rbdyn::RobotData::devicesIndex |
Correspondance between a device's name and a device index
std::vector<double> mc_rbdyn::RobotData::encoderValues |
Encoders' positions provided in the robot's ref joint order
std::vector<double> mc_rbdyn::RobotData::encoderVelocities |
Encoders' velocities provided in the robot's ref joint order
std::vector<ForceSensor> mc_rbdyn::RobotData::forceSensors |
std::unordered_map<std::string, size_t> mc_rbdyn::RobotData::forceSensorsIndex |
Correspondance between force sensor's name and force sensor index
std::unordered_map<std::string, mc_control::GripperPtr> mc_rbdyn::RobotData::grippers |
Grippers attached to this robot (empty until the robot is loaded into a controller)
std::vector<mc_control::GripperRef> mc_rbdyn::RobotData::grippersRef |
Grippers reference for this robot
std::unordered_map<std::string, size_t> mc_rbdyn::RobotData::jointJointSensors |
Correspondance between joints' names and attached joint sensors
std::vector<JointSensor> mc_rbdyn::RobotData::jointSensors |
Hold all joint sensors
std::vector<double> mc_rbdyn::RobotData::jointTorques |
Joint torques provided by the low-level controller
std::vector<std::string> mc_rbdyn::RobotData::refJointOrder |
Reference joint order see mc_rbdyn::RobotModule
std::vector<Robot *> mc_rbdyn::RobotData::robots |
A list of robots that share this data
This is used to communicate changes to the data to all instances that share this data