vectr-ucla / direct_lidar_inertial_odometry

[IEEE ICRA'23] A new lightweight LiDAR-inertial odometry algorithm with a novel coarse-to-fine approach in constructing continuous-time trajectories for precise motion correction.
MIT License
521 stars 101 forks source link

Updated ROS 2 commands #59

Closed horverno closed 4 days ago

horverno commented 2 weeks ago

Changed the ROS 1 commands to its ROS 2 counterpart.

horverno commented 5 days ago

hi @bilgineroral i tried to use the files (trees-dome.bag, aggressive_spinning.bag) but they seem like an old ROS 1 format which is not ROS 2 compatible.

What do you suggest in this case?

$ ros2 bag info /mnt/c/bag/aggressive_spinning.bag

[ERROR] [rosbag2_storage]: No storage id specified, and no plugin found that could open URI
bilgineroral commented 5 days ago

@horverno you can use the rosbags package to convert ros1 bags to ros2 bags, or vice versa. example usage would be rosbags-convert --src aggressive_spinning.bag --dst output and you'll find your ros2 bag in a folder named output.

perhaps you can include that in PR too

kennyjchen commented 4 days ago

Thank you! Merged.