Classes | |
class | HIRONX |
class | HrpsysConfigurator2 |
Functions | |
def | _get_geometry |
A method only inteded for class-internal usage. | |
def | delete_module |
def | getCurrentPose |
Returns the current physical pose of the specified joint. | |
def | getReferencePose |
Returns the current commanded pose of the specified joint. | |
def | setTargetPose |
Move the end-effector to the given absolute pose. | |
Variables | |
string | _MSG_ASK_ISSUEREPORT = 'Your report to ' |
string | _MSG_RESTART_QNX = 'You may want to restart QNX/ControllerBox afterward' |
string | default_frame_name = 'WAIST' |
JUST FOR TEST, REMOVE WHEN YOU MERGE. | |
SWITCH_OFF = OpenHRP.RobotHardwareService.SWITCH_OFF | |
SWITCH_ON = OpenHRP.RobotHardwareService.SWITCH_ON |
def hironx_ros_bridge.hironx_client._get_geometry | ( | self, | |
method, | |||
frame_name = None |
|||
) | [private] |
A method only inteded for class-internal usage.
method,: | One of the following Python function objects defined in class HrpsysConfigurator: [getCurrentPose, getCurrentPosition, getCurrentReference, getCurrentRPY, getReferencePose, getReferencePosition, getReferenceReference, getReferenceRPY] |
frame_name | str: set reference frame name (available from version 315.2.5) : {str: [float]} |
[{CHEST_JOINT0: [0.0, 0.0, 0.0]}, {HEAD_JOINT1: [0.0, 0.0, 0.5694999999999999]}, {RARM_JOINT5: [0.3255751238415409, -0.18236314012331808, 0.06762452267747099]}, {LARM_JOINT5: [0.3255751238415409, 0.18236314012331808, 0.06762452267747099]}]
Definition at line 90 of file hironx_client.py.
def hironx_ros_bridge.hironx_client.delete_module | ( | modname, | |
paranoid = None |
|||
) |
Definition at line 58 of file hironx_client.py.
def hironx_ros_bridge.hironx_client.getCurrentPose | ( | self, | |
lname = None , |
|||
frame_name = None |
|||
) |
Returns the current physical pose of the specified joint.
cf. getReferencePose that returns commanded value.
eg.
IN: robot.getCurrentPose('LARM_JOINT5') OUT: [-0.0017702356144599085, 0.00019034630541264752, -0.9999984150158207, 0.32556275164378523, 0.00012155879975329215, 0.9999999745367515, 0.0001901314142046251, 0.18236394191140365, 0.9999984257434246, -0.00012122202968358842, -0.001770258707652326, 0.07462472659364472, 0.0, 0.0, 0.0, 1.0]
lname: str
lname,: | Name of the link. |
frame_name | str: set reference frame name (from 315.2.5) : list of float |
[a11, a12, a13, x, a21, a22, a23, y, a31, a32, a33, z, 0, 0, 0, 1]
Definition at line 127 of file hironx_client.py.
def hironx_ros_bridge.hironx_client.getReferencePose | ( | self, | |
lname = None , |
|||
frame_name = None |
|||
) |
Returns the current commanded pose of the specified joint.
cf. getCurrentPose that returns physical pose.
lname: str
lname,: | Name of the link. |
frame_name | str: set reference frame name (from 315.2.5) : list of float |
[a11, a12, a13, x, a21, a22, a23, y, a31, a32, a33, z, 0, 0, 0, 1]
Definition at line 189 of file hironx_client.py.
def hironx_ros_bridge.hironx_client.setTargetPose | ( | self, | |
gname, | |||
pos, | |||
rpy, | |||
tm, | |||
frame_name = None |
|||
) |
Move the end-effector to the given absolute pose.
All d* arguments are in meter.
gname | str: Name of the joint group. Case-insensitive |
pos | list of float: In meter. |
rpy | list of float: In radian. |
tm | float: Second to complete the command. |
frame_name | str: Name of the frame that this particular command references to. |
Definition at line 223 of file hironx_client.py.
string hironx_ros_bridge::hironx_client::_MSG_ASK_ISSUEREPORT = 'Your report to ' |
Definition at line 53 of file hironx_client.py.
string hironx_ros_bridge::hironx_client::_MSG_RESTART_QNX = 'You may want to restart QNX/ControllerBox afterward' |
Definition at line 56 of file hironx_client.py.
JUST FOR TEST, REMOVE WHEN YOU MERGE.
Definition at line 88 of file hironx_client.py.
hironx_ros_bridge::hironx_client::SWITCH_OFF = OpenHRP.RobotHardwareService.SWITCH_OFF |
Definition at line 52 of file hironx_client.py.
hironx_ros_bridge::hironx_client::SWITCH_ON = OpenHRP.RobotHardwareService.SWITCH_ON |
Definition at line 51 of file hironx_client.py.