Skip to content

Commit c0ce5e5 causes Invensensev3 INS calibration to hang forever #29572

@heeplr

Description

@heeplr

Bug report

Since commit c0ce5e5, the ICM42688P (Invensensev3) on my board doesn't initialize anymore.

Backtrace:

...
#7  0x0000000000483e44 in AP_InertialSensor::wait_for_sample (this=0x8934c0 <rover+2960>) at ../../libraries/AP_InertialSensor/AP_InertialSensor.cpp:2128
#8  0x00000000004832b8 in AP_InertialSensor::update (this=0x8934c0 <rover+2960>) at ../../libraries/AP_InertialSensor/AP_InertialSensor.cpp:1906
#9  0x000000000048236c in AP_InertialSensor::_init_gyro (this=0x8934c0 <rover+2960>) at ../../libraries/AP_InertialSensor/AP_InertialSensor.cpp:1734
#10 0x0000000000481448 in AP_InertialSensor::init_gyro (this=0x8934c0 <rover+2960>) at ../../libraries/AP_InertialSensor/AP_InertialSensor.cpp:1421
#11 0x0000000000480974 in AP_InertialSensor::init (this=0x8934c0 <rover+2960>, loop_rate=50) at ../../libraries/AP_InertialSensor/AP_InertialSensor.cpp:954
#12 0x000000000041e700 in Rover::startup_INS (this=0x892930 <rover>) at ../../Rover/system.cpp:288
#13 0x000000000041df7c in Rover::init_ardupilot (this=0x892930 <rover>) at ../../Rover/system.cpp:123
#14 0x00000000004f1a90 in AP_Vehicle::setup (this=0x892930 <rover>) at ../../libraries/AP_Vehicle/AP_Vehicle.cpp:424
#15 0x00000000005d80fc in HAL_Linux::run (this=0x8a2318 <hal_linux>, argc=13, argv=0x7fffffffef58, callbacks=0x892930 <rover>) at ../../libraries/AP_HAL_Linux/HAL_Linux_Class.cpp:494
#16 0x000000000040cb50 in main (argc=13, argv=0x7fffffffef58) at ../../Rover/Rover.cpp:516

Version
Commit c0ce5e5

Platform
[ ] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[X] Rover
[ ] Submarine

Airframe type
Tracked rover

Hardware type
RPi5 + PilotPi + my patches (static build)

I'm not too familiar with ardupilot and would appreciate any hint on how to further debug this.
(But of course I hope @andyp1per and/or @tridge can see the cause of the problem at a first glance 😃 ).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions