Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pr2_bring not recording motor trace from grippers (ros ticket #5114) #216

Open
ahendrix opened this issue Mar 12, 2013 · 1 comment
Open

Comments

@ahendrix
Copy link
Member

pr2.launch should also log topics:

  • /motor_trace/r_gripper_motor
  • /motor_trace/l_gripper_motor

This is a bug, so the fix needs to be done for both C-turtle and diamondback.

Possible patch
{{{
--- /pr2.launch.orig 2011-05-17 16:05:48.527449560 -0700
+++ /pr2.launch.new 2011-05-17 16:07:26.167392828 -0700
@@ -103,7 +103,7 @@

<node name="motor_trace_logger" machine="c1" pkg="rosbag" type="record"

  •  args="-o /hwlog/pr2_motor_trace /motor_trace/bl_caster_l_wheel_motor /motor_trace/bl_caster_r_wheel_motor /motor_trace/bl_caster_rotation_motor /motor_trace/br_caster_l_wheel_motor /motor_trace/br_caster_r_wheel_motor /motor_trace/br_caster_rotation_motor /motor_trace/fl_caster_l_wheel_motor /motor_trace/fl_caster_r_wheel_motor /motor_trace/fl_caster_rotation_motor /motor_trace/fr_caster_l_wheel_motor /motor_trace/fr_caster_r_wheel_motor /motor_trace/fr_caster_rotation_motor /motor_trace/head_pan_motor /motor_trace/head_tilt_motor /motor_trace/l_elbow_flex_motor /motor_trace/l_forearm_roll_motor /motor_trace/l_shoulder_lift_motor /motor_trace/l_shoulder_pan_motor /motor_trace/l_upper_arm_roll_motor /motor_trace/l_wrist_l_motor /motor_trace/l_wrist_r_motor /motor_trace/laser_tilt_mount_motor /motor_trace/r_elbow_flex_motor /motor_trace/r_forearm_roll_motor /motor_trace/r_shoulder_lift_motor /motor_trace/r_shoulder_pan_motor /motor_trace/r_upper_arm_roll_motor /motor_trace/r_wrist_l_motor /motor_trace/r_wrist_r_motor /motor_trace/torso_lift_motor" />
    
  •  args="-o /hwlog/pr2_motor_trace /motor_trace/bl_caster_l_wheel_motor /motor_trace/bl_caster_r_wheel_motor /motor_trace/bl_caster_rotation_motor /motor_trace/br_caster_l_wheel_motor /motor_trace/br_caster_r_wheel_motor /motor_trace/br_caster_rotation_motor /motor_trace/fl_caster_l_wheel_motor /motor_trace/fl_caster_r_wheel_motor /motor_trace/fl_caster_rotation_motor /motor_trace/fr_caster_l_wheel_motor /motor_trace/fr_caster_r_wheel_motor /motor_trace/fr_caster_rotation_motor /motor_trace/head_pan_motor /motor_trace/head_tilt_motor /motor_trace/l_elbow_flex_motor /motor_trace/l_forearm_roll_motor /motor_trace/l_shoulder_lift_motor /motor_trace/l_shoulder_pan_motor /motor_trace/l_upper_arm_roll_motor /motor_trace/l_wrist_l_motor /motor_trace/l_wrist_r_motor /motor_trace/laser_tilt_mount_motor /motor_trace/r_elbow_flex_motor /motor_trace/r_forearm_roll_motor /motor_trace/r_shoulder_lift_motor /motor_trace/r_shoulder_pan_motor /motor_trace/r_upper_arm_roll_motor /motor_trace/r_wrist_l_motor /motor_trace/r_wrist_r_motor /motor_trace/torso_lift_motor /motor_trace/r_gripper_motor /motor_trace/l_gripper_motor" />
    
    }}}

trac data:

@ahendrix
Copy link
Member Author

[dking] It might be better to use a regular expression when selecting topics:
{{{
Usage: rosbag record TOPIC1 [TOPIC2 TOPIC3 ...]
-e, --regex match topics using regular expressions
}}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant