Public Member Functions | Private Member Functions | Private Attributes
joint_trajectory_file_playback.Trajectory Class Reference

List of all members.

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
def _feedback
def _get_trajectory_flag
def _set_trajectory_flag

Private Attributes

 _arm_trajectory_started
 _gripper_rate
 _l_arm
 _l_goal
 _l_grip
 _l_gripper
 _left_client
 _lock
 _param_ns
 _r_arm
 _r_goal
 _r_grip
 _r_gripper
 _right_client
 _slow_move_offset
 _trajectory_actual_offset
 _trajectory_start_offset

Detailed Description

Definition at line 59 of file joint_trajectory_file_playback.py.


Constructor & Destructor Documentation

Definition at line 60 of file joint_trajectory_file_playback.py.


Member Function Documentation

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 167 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 142 of file joint_trajectory_file_playback.py.

Definition at line 124 of file joint_trajectory_file_playback.py.

def joint_trajectory_file_playback.Trajectory._feedback (   self,
  data 
) [private]

Definition at line 259 of file joint_trajectory_file_playback.py.

Definition at line 272 of file joint_trajectory_file_playback.py.

def joint_trajectory_file_playback.Trajectory._set_trajectory_flag (   self,
  value = False 
) [private]

Definition at line 267 of file joint_trajectory_file_playback.py.

Parses input file into FollowJointTrajectoryGoal format

@param filename: input filename

Definition at line 188 of file joint_trajectory_file_playback.py.

Sends FollowJointTrajectoryAction request

Definition at line 279 of file joint_trajectory_file_playback.py.

Preempts trajectory execution by sending cancel goals

Definition at line 290 of file joint_trajectory_file_playback.py.

Waits for and verifies trajectory execution result

Definition at line 305 of file joint_trajectory_file_playback.py.


Member Data Documentation

Definition at line 60 of file joint_trajectory_file_playback.py.

Definition at line 60 of file joint_trajectory_file_playback.py.

Definition at line 60 of file joint_trajectory_file_playback.py.

Definition at line 60 of file joint_trajectory_file_playback.py.

Definition at line 60 of file joint_trajectory_file_playback.py.

Definition at line 60 of file joint_trajectory_file_playback.py.

Definition at line 60 of file joint_trajectory_file_playback.py.

Definition at line 60 of file joint_trajectory_file_playback.py.

Definition at line 60 of file joint_trajectory_file_playback.py.

Definition at line 60 of file joint_trajectory_file_playback.py.

Definition at line 60 of file joint_trajectory_file_playback.py.

Definition at line 60 of file joint_trajectory_file_playback.py.

Definition at line 60 of file joint_trajectory_file_playback.py.

Definition at line 60 of file joint_trajectory_file_playback.py.

Definition at line 60 of file joint_trajectory_file_playback.py.

Definition at line 60 of file joint_trajectory_file_playback.py.

Definition at line 60 of file joint_trajectory_file_playback.py.


The documentation for this class was generated from the following file:


baxter_examples
Author(s): Rethink Robotics Inc.
autogenerated on Sat Jun 8 2019 20:16:28