Intermodalics / tango_ros

ROS related software for Tango
Apache License 2.0
67 stars 22 forks source link

rosbag record on device? #170

Open gitunit opened 7 years ago

gitunit commented 7 years ago

latency is very huge when topics are streamed via wifi to a desktop machine. is there a way to record all messages on device? if not, is this on your roadmap?

also what is the local master for?

thx in advance

smits commented 7 years ago

The local master can be used to have multiple nodes running on the device (such as an additional rosbag record node ;) ). It can also be used when using the Tango device as master in a robotic application.

gitunit commented 7 years ago

thx @smits . do i need to rebuild the project to run the rosbag record node? or is there a simpler way?

smits commented 7 years ago

It won't work out of the box. You'll need to figure out how to launch the rosbag node from the ROSJava application or how to get the rosbag executable on the device and launch it through adb. All of this is not directly on our roadmap.

subodh-malgonde commented 6 years ago

@gitunit Instead of recording on the device you can fix the timestamps in the bag file by running this script rosbagCookbook.

Also have a look at these:

  1. rosbag --clock time for files recorded on a different machine
  2. How to associate Rosbag time with data

Or use a solution like Chrony to synchronize times across computers. See this ROS time across machines