This is a tiny toy for ros2 bag record
.
If you have troubles making ros2 bag record
with limited topics from many topics, try this.
- flask
- ROS2
My test environment is:
- Ubuntu 22.04 (on x64 Hardware)
- ROS2 Humble
- flask installed by
apt install python3-flask
- Firefox
git clone
or just download this repository.- launch a terminal, source ROS2 setup.bash and navigate to the cloned directory
- run
python app.py
- open
localhost:5000
with a browser
Inside app.py
, environmental variables of the terminal are taken over and ros2 topic list
is called.
Then the topics are categorized by their top-level namespace (we assume Autoware.universe), like...
- control
- /control/command/control_cmd
- /control/command/emergency_cmd
- /control/command/gear_cmd
- /control/command/hazard_lights_cmd
- ...
- perception
- /perception/object_recognition/detection/centerpoint/objects
- /perception/object_recognition/detection/centerpoint/validation/objects
- /perception/object_recognition/detection/clustering/clusters
- /perception/object_recognition/detection/clustering/concat_downsampled_pcl/input/twist
- ...
- ...