ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

I am writing data of turtlebot movement, and I want to write a paper. How can I get the data?

asked 2019-01-09 00:39:17 -0600

saito gravatar image

Hello. I am a ROS beginner. I am doing SLAM of turtlebot 2 in the ubuntu 14.04, ros (indigo) personal computer environment.

I need the following data to write a paper. How can I get the data? (In navigation, I want data from RViz where I specified the goal point myself)

  1. The global map and the trajectory that the robot actually moved in the global map

  2. Movement distance and travel time from the start point to the goal point

  3. Data for making graphs of speed and distance, speed and time

that's all. What should I do?rosbag? Thank you.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2019-01-09 01:51:50 -0600

jayess gravatar image

updated 2019-01-09 01:54:34 -0600

You should record a rosbag of all your runs so that you can playback your data whenever you want, even if you can't use your robot. Plus, this has the added benefit of recording your trajectories and setpoints that you send to your robot as well. Then you can focus on visualizing and analyzing your data without any pressure of getting it right while doing an experiment.

edit flag offensive delete link more

Comments

thank you!!I want to use rosbag to make robot destinations every time. However, it does not work if you record and play it with this. why?rosbag record /move_base_simple/goal

saito gravatar image saito  ( 2019-01-09 03:18:52 -0600 )edit

Try

rosbag record -O subset /move_base_simple/goal

to record only a subset of topics and see the rosbag tutorials

jayess gravatar image jayess  ( 2019-01-09 03:28:05 -0600 )edit

You can certainly record. Looking at rostopic echo /move_base_simple/goal during playback. The topic has been submitted. However, the robot does not move.

saito gravatar image saito  ( 2019-01-09 03:45:27 -0600 )edit

I don't understand what you mean. Did the data get recorded?

jayess gravatar image jayess  ( 2019-01-09 03:53:28 -0600 )edit

yes!and publish.however, turtlebot dont move.

saito gravatar image saito  ( 2019-01-09 03:57:09 -0600 )edit

Ok, well that problem can't be answered without more information which would be out of scope for this question. You should create a new question for the new problem.

jayess gravatar image jayess  ( 2019-01-09 03:59:48 -0600 )edit

If this answered your question about recording the data, then can you please mark the answer as correct by clicking on the checkmark (✅)?

jayess gravatar image jayess  ( 2019-01-09 04:00:40 -0600 )edit

yea!!thanks!!

saito gravatar image saito  ( 2019-01-09 04:29:26 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2019-01-09 00:39:17 -0600

Seen: 963 times

Last updated: Jan 09 '19