#include <virtual_shadowhand_library.h>
Public Member Functions | |
virtual JointsMap | getAllJointsData () |
virtual void | getConfig (std::string joint_name) |
virtual JointControllerData | getContrl (std::string ctrlr_name) |
virtual std::vector< DiagnosticData > | getDiagnostics () |
virtual JointData | getJointData (std::string joint_name) |
virtual int16_t | sendupdate (std::string joint_name, double target) |
virtual int16_t | setConfig (std::vector< std::string > myConfig) |
virtual int16_t | setContrl (std::string contrlr_name, JointControllerData ctrlr_data) |
VirtualShadowhandLibrary () | |
virtual | ~VirtualShadowhandLibrary () |
Public Member Functions inherited from shadowrobot::SRArticulatedRobot | |
SRArticulatedRobot () | |
virtual | ~SRArticulatedRobot () |
Additional Inherited Members | |
Public Types inherited from shadowrobot::SRArticulatedRobot | |
typedef std::map< std::string, JointData > | JointsMap |
typedef std::map< std::string, enum controller_parameters > | ParametersMap |
Public Attributes inherited from shadowrobot::SRArticulatedRobot | |
boost::mutex | controllers_map_mutex |
JointsMap | joints_map |
A mapping between the joint names and the information regarding those joints. More... | |
boost::mutex | joints_map_mutex |
ParametersMap | parameters_map |
A mapping between the parameter names and their values. More... | |
boost::mutex | parameters_map_mutex |
Protected Attributes inherited from shadowrobot::SRArticulatedRobot | |
boost::shared_ptr< self_test::TestRunner > | self_test |
this is the handle for the self tests. More... | |
Definition at line 36 of file virtual_shadowhand_library.h.
shadowrobot::VirtualShadowhandLibrary::VirtualShadowhandLibrary | ( | ) |
Definition at line 36 of file virtual_shadowhand_library.cpp.
|
inlinevirtual |
Definition at line 42 of file virtual_shadowhand_library.h.
|
virtual |
Get the data for all the joints.
Implements shadowrobot::SRArticulatedRobot.
Definition at line 125 of file virtual_shadowhand_library.cpp.
|
virtual |
Get the config of the palm
joint_name |
Implements shadowrobot::SRArticulatedRobot.
Definition at line 149 of file virtual_shadowhand_library.cpp.
|
virtual |
Get the controller parameters for a given controller name.
contrlr_name | the name of the controller. |
Implements shadowrobot::SRArticulatedRobot.
Definition at line 138 of file virtual_shadowhand_library.cpp.
|
virtual |
Get the diagnostics for the whole articulated robot.
Implements shadowrobot::SRArticulatedRobot.
Definition at line 153 of file virtual_shadowhand_library.cpp.
|
virtual |
Get the joint data for a specific joint.
joint_name | The name of the joint, as specified in joints_map. |
Implements shadowrobot::SRArticulatedRobot.
Definition at line 119 of file virtual_shadowhand_library.cpp.
|
virtual |
Generic method called to pass a new target to an articulated robot.
joint_name | The Joint in joints_map you wish to send the target to. |
target | The target in degree |
Implements shadowrobot::SRArticulatedRobot.
Definition at line 114 of file virtual_shadowhand_library.cpp.
|
virtual |
Set the config of the palm
myConfig |
Implements shadowrobot::SRArticulatedRobot.
Definition at line 144 of file virtual_shadowhand_library.cpp.
|
virtual |
Set the controller parameters for a given controller name.
contrlr_name | The name of the controller to setup. |
ctrlr_data | The data to pass to this controller. |
Implements shadowrobot::SRArticulatedRobot.
Definition at line 133 of file virtual_shadowhand_library.cpp.