#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 short | sendupdate (std::string joint_name, double target) |
virtual short | setConfig (std::vector< std::string > myConfig) |
virtual short | setContrl (std::string contrlr_name, JointControllerData ctrlr_data) |
VirtualShadowhandLibrary () | |
virtual | ~VirtualShadowhandLibrary () |
Definition at line 19 of file virtual_shadowhand_library.h.
Definition at line 18 of file virtual_shadowhand_library.cpp.
virtual shadowrobot::VirtualShadowhandLibrary::~VirtualShadowhandLibrary | ( | ) | [inline, virtual] |
Definition at line 23 of file virtual_shadowhand_library.h.
std::map< std::string, JointData > shadowrobot::VirtualShadowhandLibrary::getAllJointsData | ( | ) | [virtual] |
Get the data for all the joints.
Implements shadowrobot::SRArticulatedRobot.
Definition at line 106 of file virtual_shadowhand_library.cpp.
void shadowrobot::VirtualShadowhandLibrary::getConfig | ( | std::string | joint_name | ) | [virtual] |
Get the config of the palm
joint_name |
Implements shadowrobot::SRArticulatedRobot.
Definition at line 126 of file virtual_shadowhand_library.cpp.
JointControllerData shadowrobot::VirtualShadowhandLibrary::getContrl | ( | std::string | contrlr_name | ) | [virtual] |
Get the controller parameters for a given controller name.
contrlr_name | the name of the controller. |
Implements shadowrobot::SRArticulatedRobot.
Definition at line 117 of file virtual_shadowhand_library.cpp.
std::vector< DiagnosticData > shadowrobot::VirtualShadowhandLibrary::getDiagnostics | ( | ) | [virtual] |
Get the diagnostics for the whole articulated robot.
Implements shadowrobot::SRArticulatedRobot.
Definition at line 129 of file virtual_shadowhand_library.cpp.
JointData shadowrobot::VirtualShadowhandLibrary::getJointData | ( | std::string | joint_name | ) | [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 101 of file virtual_shadowhand_library.cpp.
short shadowrobot::VirtualShadowhandLibrary::sendupdate | ( | std::string | joint_name, |
double | target | ||
) | [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 96 of file virtual_shadowhand_library.cpp.
short shadowrobot::VirtualShadowhandLibrary::setConfig | ( | std::vector< std::string > | myConfig | ) | [virtual] |
Set the config of the palm
myConfig |
Implements shadowrobot::SRArticulatedRobot.
Definition at line 122 of file virtual_shadowhand_library.cpp.
short shadowrobot::VirtualShadowhandLibrary::setContrl | ( | std::string | contrlr_name, |
JointControllerData | ctrlr_data | ||
) | [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 113 of file virtual_shadowhand_library.cpp.