#!/bin/sh

# record bag from a specific camera, with corresponding
#   odometry and GPS

CAMERA=${1:-front_right}
BAGS=${ROS_HOME:-~/.ros}/bags

exec rosbag record -o $BAGS/camera/sensors /$CAMERA/camera/image_raw/compressed /$CAMERA/camera/camera_info /odom /imu /gps /tf

