Running the ROS2 magnetometer calibration

2 views
Skip to first unread message

Pito Salas

unread,
Aug 25, 2025, 6:30:38 PM (13 days ago) Aug 25
to LINOROBOT
I got a "segmentation fault" running the calibration. Any idea?

[dome:~/linorobot2_ws] ros2 run robot_calibration magnetometer_calibration
[INFO] [1756160873.385704882] [magnetometer_calibration]: Subscribing to /imu/mag
[INFO] [1756160873.428269108] [magnetometer_calibration]: Publishing to cmd_vel
[INFO] [1756160873.436732980] [magnetometer_calibration]: Rotating robot for 60.000000 seconds.
[INFO] [1756160933.451009708] [magnetometer_calibration]: Done rotating robot.
[INFO] [1756160933.452567716] [magnetometer_calibration]: Saving bag file with 2252 samples.
[INFO] [1756160933.529107478] [magnetometer_calibration]: Initial estimate for hard iron offsets: [-6.50083e-05, -3.36221e-05, -2.69585e-05]
[ros2run]: Segmentation fault
[dome:~/linorobot2_ws]

hipp...@gmail.com

unread,
Aug 25, 2025, 7:14:39 PM (13 days ago) Aug 25
to LINOROBOT
Are you running on PC or Pi?

You might check

1. sudo dmesg  , to see the kernel log
2. sudo less /var/log/syslog, or the syslog viewer, to see the system log

pito...@gmail.com 在 2025年8月26日 星期二清晨6:30:38 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages