necst-telescope / necst

:gem: NEw Control System for Telescope
https://necst-telescope.github.io/necst/
MIT License
3 stars 0 forks source link

Consider employing `ros2 bag` #61

Open KaoruNishikawa opened 1 year ago

KaoruNishikawa commented 1 year ago

Motivation

Concerns

Notes

r-yamada1998 commented 1 year ago

Looks interesting. One issue to be concerned about is writing speed and additional network load. Is writing speed enough for high-frequency publishers such as PID computation? Does additional network load exist? If so, does it cause any problems?

KaoruNishikawa commented 1 year ago

@r-yamada1998 rosbag2 should undergo detailed inspection on recording rate before we employ it, possibly using tools like below. https://index.ros.org/p/rosbag2_performance_benchmarking/ I am somewhat optimistic on this aspect, since ROS 2 design article says >100k small messages nicely recorded within 1s, and SQLite can record 3M data in 1s. https://github.com/ros2/design/blob/ros2bags/articles/rosbags.md#sqlite https://sqlite.org/forum/info/f832398c19d30a4a

On network load, there would be no difference from current recorder with NECSTDB, since both recorders use same approach on capturing messages, i.e. subscribing all the topics.