Open ghost opened 4 years ago
I tried putting a sleep of 100 ms in the while loop. It did not help. It still got stuck after some random time.
This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.
Describe the bug When you subscribe to the uORB topic
vehicle_attitude
in PX4 SITL simulation, after a certain random time, it appears that the topic values does not get updated anymore. The timestamp values are old and remain so forever. The time after which values stop updating is random and varies.To Reproduce Steps to reproduce the behavior:
git clone https://www.github.com/PX4/Firmware; git checkout v1.10.2
vehicle_attitude
. Attaching the code for how I am subscribingmake px4_sitl_default jmavsim
px4_simple_app
INFO [px4_simple_app] Timestamp: 240364000.0000 Attitude: 1.0000 -0.0003 0.0011 0.0035
INFO [px4_simple_app] Timestamp: 240364000.0000 Attitude: 1.0000 -0.0003 0.0011 0.0035
INFO [px4_simple_app] Timestamp: 240364000.0000 Attitude: 1.0000 -0.0003 0.0011 0.0035
INFO [px4_simple_app] Timestamp: 240364000.0000 Attitude: 1.0000 -0.0003 0.0011 0.0035
INFO [px4_simple_app] Timestamp: 240364000.0000 Attitude: 1.0000 -0.0003 0.0011 0.0035
INFO [px4_simple_app] Timestamp: 240364000.0000 Attitude: 1.0000 -0.0003 0.0011 0.0035
INFO [px4_simple_app] Timestamp: 240364000.0000 Attitude: 1.0000 -0.0003 0.0011 0.0035
INFO [px4_simple_app] Timestamp: 240364000.0000 Attitude: 1.0000 -0.0003 0.0011 0.0035
INFO [px4_simple_app] Timestamp: 240364000.0000 Attitude: 1.0000 -0.0003 0.0011 0.0035
INFO [px4_simple_app] Timestamp: 240364000.0000 Attitude: 1.0000 -0.0003 0.0011 0.0035
INFO [px4_simple_app] Timestamp: 240364000.0000 Attitude: 1.0000 -0.0003 0.0011 0.0035
INFO [px4_simple_app] Timestamp: 240364000.0000 Attitude: 1.0000 -0.0003 0.0011 0.0035
Expected behavior Timestamp and quaternion values should be updated consistently
Screenshots
Additional context PX4 Firmware: 1.10.2 Platform: Windows 10 Toolchain: Cygwin v0.8