sbrodeur / ros-icreate-bbb

ROS (Robotic Operating System) packages for the iRobot Create with onboard BeagleBone Black
BSD 3-Clause "New" or "Revised" License
3 stars 2 forks source link

Test rosbag recording on robot #11

Closed sgcarrier closed 7 years ago

sgcarrier commented 7 years ago

Verify that recording goes well, doesn't saturate and starts with appropriate key presses. Rosbags should be well labeled and allow multiple recordings without having to connect via ssh to change things.

Need to verify how long the robot can last on battery power while moving and recording.

sgcarrier commented 7 years ago

Recording goes well, battery sustains fine. To start recording Y+B buttons are pressed and records for up to 10 mins or X+A is pressed, whatever happens first.

When saved they follow the format session_X were X starts at 0 and increments each time. However, everytime the service restart, this is reset, thus care must be taken to transfer rosbags everytime a reboot is done before recording again or else the rosbags are overwritten

sbrodeur commented 7 years ago

To solve the filename overwritting, I would just save the rosbag with the following format: session_

See the command below for an example of :

date +"%Y%m%d_%H%M%S"

This returns something like '20160926_210957' which can be appended to the filename to indicate the date and time of the recording.

sgcarrier commented 7 years ago

Fixed. Output now in the format : session[year][month][day][hour][min][sec].bag