Variables | |
action = ros.resolve_name('~follow_joint_trajectory') | |
client = SimpleActionClient(action, FollowJointTrajectoryAction) | |
goal = FollowJointTrajectoryGoal() | |
goal_time_tolerance | |
initial_pose = dict(zip(joint_state.name, joint_state.position)) | |
joint_state = ros.wait_for_message(topic, JointState) | |
max_movement = max(abs(pose[joint] - initial_pose[joint]) for joint in pose) | |
param = ros.resolve_name('~joint_pose') | |
point = JointTrajectoryPoint() | |
pose = ros.get_param(param, None) | |
positions | |
result = client.get_result() | |
time_from_start | |
topic = ros.resolve_name('~joint_states') | |
velocities | |
move_to_start.action = ros.resolve_name('~follow_joint_trajectory') |
Definition at line 14 of file move_to_start.py.
move_to_start.client = SimpleActionClient(action, FollowJointTrajectoryAction) |
Definition at line 15 of file move_to_start.py.
move_to_start.goal = FollowJointTrajectoryGoal() |
Definition at line 38 of file move_to_start.py.
move_to_start.goal_time_tolerance |
Definition at line 44 of file move_to_start.py.
move_to_start.initial_pose = dict(zip(joint_state.name, joint_state.position)) |
Definition at line 28 of file move_to_start.py.
move_to_start.joint_state = ros.wait_for_message(topic, JointState) |
Definition at line 27 of file move_to_start.py.
move_to_start.max_movement = max(abs(pose[joint] - initial_pose[joint]) for joint in pose) |
Definition at line 30 of file move_to_start.py.
move_to_start.param = ros.resolve_name('~joint_pose') |
Definition at line 19 of file move_to_start.py.
move_to_start.point = JointTrajectoryPoint() |
Definition at line 32 of file move_to_start.py.
move_to_start.pose = ros.get_param(param, None) |
Definition at line 20 of file move_to_start.py.
move_to_start.positions |
Definition at line 40 of file move_to_start.py.
move_to_start.result = client.get_result() |
Definition at line 49 of file move_to_start.py.
move_to_start.time_from_start |
Definition at line 33 of file move_to_start.py.
move_to_start.topic = ros.resolve_name('~joint_states') |
Definition at line 25 of file move_to_start.py.
move_to_start.velocities |
Definition at line 41 of file move_to_start.py.