Skip to content
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

autotest log dump in ArduPlane broken #9

Closed
tridge opened this issue Jan 13, 2013 · 0 comments
Closed

autotest log dump in ArduPlane broken #9

tridge opened this issue Jan 13, 2013 · 0 comments
Assignees

Comments

@tridge
Copy link
Contributor

tridge commented Jan 13, 2013

something is causing a timeout in ArduPlane autotest log dump

@ghost ghost assigned tridge Jan 13, 2013
tridge pushed a commit that referenced this issue Jan 13, 2013
the sockets need to default blocking, and only be non-blocking per
call

fixes issue #9
@tridge tridge closed this as completed Jan 13, 2013
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 pushed a commit to priseborough/ardupilot that referenced this issue May 14, 2019
…de-transitions to development

* commit 'bf2e6c77dbf0f672f28827005922e30463001e06':
  ArduPlane: Address review comments on flight mode logic
  ArduPlane: update mode select comments
  ArduPlane: Fix AUTO(VTOL) mode action bug
  AP_AHRS: Fix build error
  ArduPlane: Fix camera pointing bugs
  ArduPlane: Fix bugs in flight mode select logic.
MattKear pushed a commit to MattKear/ardupilot that referenced this issue Dec 2, 2020
magicrub pushed a commit to magicrub/ardupilot that referenced this issue Oct 26, 2022
…s-general

TECS general - remove energy limit, modify KFF
LiHaoze-nuaa pushed a commit to LiHaoze-nuaa/ardupilot that referenced this issue Feb 19, 2024
abasahmedd pushed a commit to abasahmedd/ardupilot that referenced this issue May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant