-
Notifications
You must be signed in to change notification settings - Fork 17.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
floating point error in ArduCopter autotest #11
Comments
ghost
assigned tridge
Jan 13, 2013
this was fixed by disabling the wind drag correction code until we sort it out |
lucasdemarchi
added a commit
to lucasdemarchi/ardupilot
that referenced
this issue
Aug 2, 2018
GCS::update() shouldn't be reentrant but there may be places that make it so: one of them is when we call hal.scheduler->delay(): this may trigger the callbacks registered to keep mavlink messages going when sleeping for an extended period. There's at least one callchain that is triggered by trying to test motors on ArduCopter via a mavlink message: #0 Linux::Perf::begin (this=0x7cfee0, pc=0x2) at ../../libraries/AP_HAL_Linux/Perf.cpp:128 #1 0x00000000004e72c5 in Linux::Util::perf_begin (this=0x7b83e0 <utilInstance>, perf=0x2) at ../../libraries/AP_HAL_Linux/Util.h:83 #2 0x0000000000493062 in GCS_MAVLINK::update (this=0x7b55a0 <copter+7520>, run_cli=..., max_time_us=1000) at ../../libraries/GCS_MAVLink/GCS_Common.cpp:849 #3 0x0000000000494838 in GCS::update (this=0x7b5568 <copter+7464>) at ../../libraries/GCS_MAVLink/GCS_Common.cpp:1295 #4 0x000000000040ffc4 in Copter::gcs_check_input (this=0x7b3840 <copter>) at ../../ArduCopter/GCS_Mavlink.cpp:1836 ArduPilot#5 0x000000000040fee3 in Copter::mavlink_delay_cb (this=0x7b3840 <copter>) at ../../ArduCopter/GCS_Mavlink.cpp:1808 ArduPilot#6 0x0000000000437769 in mavlink_delay_cb_static () at ../../ArduCopter/system.cpp:73 ArduPilot#7 0x00000000004e81a9 in Linux::Scheduler::delay (this=0x7bc940 <schedulerInstance>, ms=20) at ../../libraries/AP_HAL_Linux/Scheduler.cpp:158 ArduPilot#8 0x00000000004179aa in Copter::delay (this=0x7b3840 <copter>, ms=20) at ../../ArduCopter/compat.cpp:5 ArduPilot#9 0x000000000042d561 in Copter::esc_calibration_startup_check ( this=0x7b3840 <copter>) at ../../ArduCopter/esc_calibration.cpp:25 ArduPilot#10 0x0000000000432119 in Copter::init_rc_out (this=0x7b3840 <copter>) at ../../ArduCopter/radio.cpp:74 ArduPilot#11 0x0000000000430739 in Copter::mavlink_motor_test_start (this=0x7b3840 <copter>, chan=MAVLINK_COMM_0, motor_seq=1 '\001', throttle_type=0 '\000', throttle_value=30, timeout_sec=3) at ../../ArduCopter/motor_test.cpp:124 ArduPilot#12 0x000000000040e9ed in GCS_MAVLINK_Copter::handleMessage ( this=0x7b55a0 <copter+7520>, msg=0x7fffffffe6e0) at ../../ArduCopter/GCS_Mavlink.cpp:1246 ArduPilot#13 0x0000000000492ff2 in GCS_MAVLINK::packetReceived (this=0x7b55a0 <copter+7520>, status=..., msg=...) at ../../libraries/GCS_MAVLink/GCS_Common.cpp:837 ArduPilot#14 0x000000000040d2a4 in GCS_MAVLINK_Copter::packetReceived ( this=0x7b55a0 <copter+7520>, status=..., msg=...) at ../../ArduCopter/GCS_Mavlink.cpp:766 ArduPilot#15 0x00000000004931ff in GCS_MAVLINK::update (this=0x7b55a0 <copter+7520>, run_cli=..., max_time_us=1000) at ../../libraries/GCS_MAVLink/GCS_Common.cpp:880 ArduPilot#16 0x0000000000494838 in GCS::update (this=0x7b5568 <copter+7464>) at ../../libraries/GCS_MAVLink/GCS_Common.cpp:1295 ArduPilot#17 0x000000000040ffc4 in Copter::gcs_check_input (this=0x7b3840 <copter>) at ../../ArduCopter/GCS_Mavlink.cpp:1836
priseborough
added a commit
to priseborough/ardupilot
that referenced
this issue
May 14, 2019
…hasty-dismount to development * commit '505717578cc2f1344192ab73d0fe98c75a785580': (75 commits) ArduPlane: Fix seg fault due to uninitialised object ArduPlane: Fix duplicate pre-arm fail message ArduPlane: Apply AUTO -> QLOITER fallback only with corvo controller ArduPlane: Use gcs_rc_override_inhibit() function Arduplane: Use gcs_rc_override_inhibit() function RC_Channel: Add accessor function for corvo GCS RC override inhibit ArduPlane: #define GCS manual control input range and improve documentation ArduPlane: Make failsafe land sink rate same as final touchdown ArduPlane: prevent dt_sec being modified by consumer function ArduPlane: Move shake to fly checks into AP_Arming_Plane library AP_Mission: use available #define RC_Channels: RC override inhibit code style improvement SRV_Channel: Use #defines for digital channel limits ArduPlane: Reduce throttle compensation with bank ArduPlane: Preliminary mount parameters for testing with corvo controller ArduPlane: preliminary params for iron bird with servo mount ArduPlane: Ensure a valid mission before takeoff ArduPlane: fix shadow declaration ArduPlane: Modify pilot controlled descent in VTOL modes ArduPlane: Rework transition entry criteria ...
arBalasquide
pushed a commit
to arBalasquide/ardupilot-1
that referenced
this issue
Jul 6, 2021
shellixyz
referenced
this issue
in shellixyz/ardupilot
Sep 16, 2021
mday299
pushed a commit
to mday299/ardupilot
that referenced
this issue
Nov 17, 2021
GCS_MAVLink: unify DO_SET_CAM_TRIG_DIST for missions and cmd_long
arBalasquide
pushed a commit
to arBalasquide/ardupilot-1
that referenced
this issue
Feb 18, 2022
IamPete1
referenced
this issue
in IamPete1/ardupilot
Aug 8, 2022
Don't re-trigger fence and add missing AHRS method.
peterbarker
referenced
this issue
in peterbarker/ardupilot
Jun 26, 2023
…-on-arm-patch-sw Feature/ov3 399 disable slcan on arm patch sw
abasahmedd
pushed a commit
to abasahmedd/ardupilot
that referenced
this issue
May 20, 2024
Adds LED glow, CRCCaeserCipher, and removed-UpdateAirRate()-from-channel-7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the pysim code sometimes gets a floating point overflow error, possibly due to large timesteps on an overloaded machine.
The text was updated successfully, but these errors were encountered: