Closed GeomPozzoli closed 2 weeks ago
I confirmed that GLIM works well with rviz_MID360_launch.py
in livox_ros_driver2 with minor modifications described in the sensor setup guide.
Besides the configuration of GLIM, a common pitfall is ROS2 bag recording. You can quickly check if messages were properly recorded with ros2 bag info
. If things went correctly, there should be about x10 and x200 amount of points and IMU messages with respect to the bag duration like the following example.
Files: rosbag2_2024_04_16-14_17_01_0.db3
Bag size: 1.4 GiB
Storage id: sqlite3
ROS Distro: unknown
Duration: 277.166s
Start: Apr 16 2024 14:17:01.183 (1713244621.183)
End: Apr 16 2024 14:21:38.350 (1713244898.350)
Messages: 58217
Topic information: Topic: /livox/imu | Type: sensor_msgs/msg/Imu | Count: 55435 | Serialization Format: cdr
Topic: /livox/lidar | Type: sensor_msgs/msg/PointCloud2 | Count: 2772 | Serialization Format: cdr
Service: 0
Service information:
thanks for the reply, actually the IMU data is at 122x and not 200x
Files: rosbag2_2024_08_22-11_41_43_0.db3
Bag size: 108.5 MiB
Storage id: sqlite3
Duration: 21.534674116s
Start: Aug 22 2024 09:41:44.066534535 (1724319704.066534535)
End: Aug 22 2024 09:42:05.601208651 (1724319725.601208651)
Messages: 2844
Topic information: Topic: /livox/imu | Type: sensor_msgs/msg/Imu | Count: 2628 | Serialization Format: cdr
Topic: /livox/lidar | Type: sensor_msgs/msg/PointCloud2 | Count: 216 | Serialization Format: cdr
Topic: /parameter_events | Type: rcl_interfaces/msg/ParameterEvent | Count: 0 | Serialization Format: cdr
Topic: /rosout | Type: rcl_interfaces/msg/Log | Count: 0 | Serialization Format: cdr
I'll try to make some other registrations and see if I can solve it
After several tests I was able to verify that recording through ROS2 always gives me problems (at least on the raspberry pi4 4Gb). Instead, by proceeding with recording with ROS Noetic and then converting the .bag to ROS2, there are no more errors on the imu.
hello koide3, I'm trying to use glim with a livox mid 360 but I can't figure out where I'm going wrong. I tried to record rosbag2 through livox_ros_driver2 in ros2 environment with xfer_format 1 (livox custumized pointcloud) but when I launch glim the process stops, while with xfer_format 2 (Livox pointcloud2 PointXYZRTLT) the following warning is reported:
After kill the process with CTRL+C
I can't understand if the problem is in the acquisition data or in the configuration I made in GLIM, I have modified acc_scale, imu_topics, lidar_topics, T_lidar_imu, autoconf_perpoint_times: true, autoconf_prefer_frame_time: true
Did I miss any other strictly necessary changes?
Sorry for the stupid questions but I'm new to ROS and SLAM
Good Day