Public Member Functions | |
def | __init__ |
def | parse_file |
def | start |
def | stop |
def | wait |
Private Member Functions | |
def | _add_point |
def | _clean_line |
def | _execute_gripper_commands |
Private Attributes | |
_gripper_rate | |
_l_arm | |
_l_goal | |
_l_grip | |
_l_gripper | |
_left_client | |
_param_ns | |
_r_arm | |
_r_goal | |
_r_grip | |
_r_gripper | |
_right_client |
Definition at line 58 of file joint_trajectory_file_playback.py.
Definition at line 59 of file joint_trajectory_file_playback.py.
def joint_trajectory_file_playback.Trajectory._add_point | ( | self, | |
positions, | |||
side, | |||
time | |||
) | [private] |
Appends trajectory with new point @param positions: joint positions @param side: limb to command point @param time: time from start for point in seconds
Definition at line 156 of file joint_trajectory_file_playback.py.
def joint_trajectory_file_playback.Trajectory._clean_line | ( | self, | |
line, | |||
joint_names | |||
) | [private] |
Cleans a single line of recorded joint positions @param line: the line described in a list to process @param joint_names: joint name keys @return command: returns dictionary {joint: value} of valid commands @return line: returns list of current line values stripped of commas
Definition at line 131 of file joint_trajectory_file_playback.py.
def joint_trajectory_file_playback.Trajectory._execute_gripper_commands | ( | self | ) | [private] |
Definition at line 113 of file joint_trajectory_file_playback.py.
def joint_trajectory_file_playback.Trajectory.parse_file | ( | self, | |
filename | |||
) |
Parses input file into FollowJointTrajectoryGoal format @param filename: input filename
Definition at line 177 of file joint_trajectory_file_playback.py.
def joint_trajectory_file_playback.Trajectory.start | ( | self | ) |
Sends FollowJointTrajectoryAction request
Definition at line 236 of file joint_trajectory_file_playback.py.
def joint_trajectory_file_playback.Trajectory.stop | ( | self | ) |
Preempts trajectory execution by sending cancel goals
Definition at line 244 of file joint_trajectory_file_playback.py.
def joint_trajectory_file_playback.Trajectory.wait | ( | self | ) |
Waits for and verifies trajectory execution result
Definition at line 259 of file joint_trajectory_file_playback.py.
Definition at line 59 of file joint_trajectory_file_playback.py.
Definition at line 59 of file joint_trajectory_file_playback.py.
Definition at line 59 of file joint_trajectory_file_playback.py.
Definition at line 59 of file joint_trajectory_file_playback.py.
Definition at line 59 of file joint_trajectory_file_playback.py.
Definition at line 59 of file joint_trajectory_file_playback.py.
Definition at line 59 of file joint_trajectory_file_playback.py.
Definition at line 59 of file joint_trajectory_file_playback.py.
Definition at line 59 of file joint_trajectory_file_playback.py.
Definition at line 59 of file joint_trajectory_file_playback.py.
Definition at line 59 of file joint_trajectory_file_playback.py.
Definition at line 59 of file joint_trajectory_file_playback.py.