Closed etiennebeaulac closed 10 months ago
Partial stack trace on Linux shows it dying in the destructor:
(gdb) bt
#0 frc::ADIS16470_IMU::Close (this=this@entry=0x7fffd4001990) at /work/wpilibc/src/main/native/cpp/ADIS16470_IMU.cpp:458
#1 0x00007fffe733b6bb in frc::ADIS16470_IMU::~ADIS16470_IMU (this=0x7fffd4001990, __in_chrg=<optimized out>) at /work/wpilibc/src/main/native/cpp/ADIS16470_IMU.cpp:486
#2 0x00007fffe733b6fd in frc::ADIS16470_IMU::~ADIS16470_IMU (this=0x7fffd4001990, __in_chrg=<optimized out>) at /work/wpilibc/src/main/native/cpp/ADIS16470_IMU.cpp:487
A new WPILib release is rolling out soon, and looks like there are changes to the 16470 so I'll take a look then.
This was not fixed in the 2024.2 WPILib release.
Problem description
When we run
python -m robotpy test
with anADIS16470_IMU
, it crashes.Operating System
Windows
Installed Python Packages
Reproducible example code