You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package is to record ros2 bag with desired topic.
4
+
5
+
## Usage
6
+
7
+
Here is a usage below.
8
+
9
+
```sh
10
+
ros2 run autoware_rosbag_recorder record.sh [-o filename]
11
+
```
12
+
13
+
If you want some other topics to record, you need to modify below in record.sh as an example.
14
+
15
+
```sh
16
+
ros2 bag record -e "(.*)/velodyne_packets|/pacmod_interface/(.*)|/pacmod/(.*)|/vehicle/(.*)|/sensing/imu/(.*)|/sensing/gnss/(.*)|/sensing/camera/(.*)/camera_info|/sensing/camera/(.*)/compressed|/perception/object_recognition/detection/rois(.)|/perception/object_recognition/objects" -o "$OPTARG";
17
+
```
18
+
19
+
## Assumptions / Known limits
20
+
21
+
Recording all topics in autoware is very heavy so usually you need to avoid points cloud topics to record.
echo"Usage: ros2 run autoware_rosbag_recorder record.sh [-o filename]"1>&2
5
+
exit 1
6
+
}
7
+
8
+
whilegetopts o:h OPT;do
9
+
case$OPTin
10
+
"o") echo"record as $OPTARG" ;;
11
+
"h") usage_exit ;;
12
+
"*") usage_exit ;;
13
+
\?) usage_exit ;;
14
+
esac
15
+
done
16
+
17
+
if [ -n"$OPTARG" ];then
18
+
ros2 bag record -e "(.*)/velodyne_packets|/pacmod_interface/(.*)|/pacmod/(.*)|/vehicle/(.*)|/sensing/imu/(.*)|/sensing/gnss/(.*)|/sensing/camera/(.*)/camera_info|/sensing/camera/(.*)/compressed|/perception/object_recognition/detection/rois(.)|/perception/object_recognition/objects" -o "$OPTARG"
0 commit comments