Home | Tutorials | Wiki | Issues
Ask Your Question
0

using rosbag record for recording/joint_states

asked 2013-02-27 06:47:38 -0600

Nachum gravatar image

updated 2013-03-03 06:51:42 -0600

Hi I am trying to record just the effort of part of the joints, what is the right way to do it? Thanks this is what i tried but didn't work:

rosbag record -O 3_cm /joint_states/effort/[15]

Nachum

edit: I did rosbag record -O 3cm /jointstates it does make a bag file but it doesn't let me display it in plot mode, only in raw data mode. Can it be changed?

edit retag flag offensive close merge delete

Comments

if i do that i get [ INFO] [1362313142.091380085]: Subscribing to /jointstates/effort/[15] terminate called after throwing an instance of 'ros::InvalidNameException' what(): Character [[] at element [21] is not valid in Graph Resource Name [/jointstates/effort/[15]]. Valid characters are a-z, A-Z, 0-9, / and _. Aborted (core dumped)

Nachum gravatar imageNachum ( 2013-03-03 04:44:09 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-03-01 15:12:45 -0600

david_rusbarsky gravatar image

Does the following do what you want?

rosbag record /atlas/joint_states

Given that all the data goes into one message, I don't think you can record just the effort. The rest of the fields (with the exception of the names) will probably be empty, so essentially you will be recording just the efforts if that is what is being published.

edit flag offensive delete link more

Comments

I'm able to record it but not in a format that can be plotted with rxbag. i get it as raw numbers

Nachum gravatar imageNachum ( 2013-03-03 04:45:35 -0600 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-02-27 06:47:38 -0600

Seen: 639 times

Last updated: Mar 03 '13