Commit Graph

27371 Commits

Author SHA1 Message Date
Beat Küng
0dc8eeb118 tests: avoid using exit() 2018-08-31 18:11:58 +02:00
Beat Küng
50cdb01141 rover_steering_control: avoid using exit() 2018-08-31 18:11:58 +02:00
Beat Küng
258f7a7ff8 fixedwing_control: avoid using exit() 2018-08-31 18:11:58 +02:00
Beat Küng
d5bef4a932 sf0x.cpp: avoid using exit() 2018-08-31 18:11:58 +02:00
Beat Küng
fe502ffd33 fix tone_alarm: avoid using exit()
On POSIX it exits the process.
2018-08-31 18:11:58 +02:00
David Sidrane
9246110161 samv7:tone_alarm refactor for Cdev 2018-08-30 19:11:17 +02:00
David Sidrane
75d7800deb samv7:tone_alarm cleanup 2018-08-30 19:11:17 +02:00
David Sidrane
1306e28874 kinetis:tone_alarm remmove assert 2018-08-30 19:11:17 +02:00
David Sidrane
a0f70be238 stm32:tone_alarm remmove assert 2018-08-30 19:11:17 +02:00
David Sidrane
a063de093a posix:tonealrmsim: use workqueue 2018-08-30 19:11:17 +02:00
David Sidrane
19a8c3e49c rcs:Add comment & test 4 Mini test on all px4io init 2018-08-30 19:11:17 +02:00
David Sidrane
c072fefa2c px4fmu_common:rcS:Use tune control, suport FW with no PX4IO
On FW with a px4io bin file, but not a px4io do not error

   Use tune control and have all paths in rcS indicate tunes
2018-08-30 19:11:17 +02:00
David Sidrane
6a7d98229e tap_common rcS:Use tune_control & clean up 2018-08-30 19:11:17 +02:00
David Sidrane
b9a54cb4fd tap_common rc.interface:Use tune_control 2018-08-30 19:11:17 +02:00
David Sidrane
91abb36063 px4fmu_test:rcS:Use tune_control 2018-08-30 19:11:17 +02:00
David Sidrane
a2dde6bc19 rc.mavlink:Use tune_control 2018-08-30 19:11:17 +02:00
David Sidrane
7d3d497831 rc.io:Use tune_control 2018-08-30 19:11:17 +02:00
David Sidrane
f5295d7700 rc.interface:Use tune_control 2018-08-30 19:11:17 +02:00
David Sidrane
ab26bd76ff tunes:Refactor for maintenance
Adds a single file definition to provide a single point to add
    new tunes and clearly understand, the useage: it need to be
    stopped will it not allow interruption.
2018-08-30 19:11:17 +02:00
David Sidrane
250c561963 posix simulated tone_alarm: Use tune_control
Refactor to use the tune_control interface
2018-08-30 19:11:17 +02:00
David Sidrane
1fb7046052 stm32 tone_alarm: Remove stale documentation & cleanup
Since tune control came in this driver does not have a
    have a test based interface. The module Documentation
    has been moved to tune_control

    minor cleanup and assert on workque delay of 0
2018-08-30 19:11:17 +02:00
David Sidrane
ec25e4b913 stm32 tone_alarm: Remove stale documentation
Since tune control came in this driver does not have a
    have a test based interface. The module Documentation
    has been moved to tune_control
2018-08-30 19:11:17 +02:00
David Sidrane
040ffd52a1 samv7:tone_alarm:ported to tune_control 2018-08-30 19:11:17 +02:00
David Sidrane
43e60b98aa kinetis tone_alarm: Remove stale documentation & cleanup
Since tune control came in this driver does not have a
    have a test based interface. The module Documentation
    has been moved to tune_control

    minor cleanup and assert on workque delay of 0
2018-08-30 19:11:17 +02:00
David Sidrane
6b4e549ba9 kinetis tone_alarm: Remove stale documentation
Since tune control came in this driver does not have a
    have a test based interface. The module Documentation
    has been moved to tune_control
2018-08-30 19:11:17 +02:00
Daniel Agar
99ed46949e uORB_tests print pointer correctly 2018-08-30 19:04:13 +02:00
Daniel Agar
d11c6af923 FlightTaskAuto don't pass position setpoint by value 2018-08-30 19:04:13 +02:00
Daniel Agar
12dd9b475e tfmini add missing PX4_ERR argument 2018-08-30 19:04:13 +02:00
Daniel Agar
323ba9f837 batt_smbus.h missing header guard 2018-08-30 19:04:13 +02:00
Daniel Agar
ad321c8824 parameters test save restored parameters when finished 2018-08-30 11:29:39 -04:00
Daniel Agar
8ddb99971f tests template skip mavlink except for mavlink test 2018-08-30 11:13:24 -04:00
Roman
844671ed6d mavlink: moved to ModuleParams
Signed-off-by: Roman <bapstroman@gmail.com>
2018-08-30 11:13:24 -04:00
Daniel Agar
d131fea899 vehicle trajectory limit unnecessary updates and reduce logging (#10347)
- fixes #10345
2018-08-30 09:21:13 -04:00
Paul Riseborough
94d953eef2 Tools: Fix EKF data analysis false positives
The high frequency acceleration noise levels in the gazebo models and also seen on some hardware is causing the IMU vibration check warning to fail.

The thresholds have been lifted and the reporting improved to make it clearer which sensor noise is causing the failure.
2018-08-30 09:57:18 +02:00
Bram Strack van Schijndel
ca446982ab [Bebop 2] also upload mixer and config files 2018-08-30 09:48:26 +02:00
Bram Strack van Schijndel
918c397ae7 fixup! [Bebop 2] don't strip and upload to /data/ftp/internal_000 2018-08-30 09:48:26 +02:00
Bram Strack van Schijndel
0b6dc65e3c [Bebop 2] fix upload 2018-08-30 09:48:26 +02:00
Bram Strack van Schijndel
b678f8bc5b [Bebop 2] don't strip and upload to /data/ftp/internal_000 2018-08-30 09:48:26 +02:00
Dennis Mannhart
16ca0be4e5 FlightTaskAuto: set reference to 0 if auto is requested but no global position available 2018-08-30 09:44:54 +02:00
Dennis Mannhart
3222f583c8 use matrix .zero 2018-08-30 09:27:48 +02:00
Dennis Mannhart
e2e8d6d135 mc_pos_control_main: fix comment and remove line that is not used 2018-08-30 09:27:48 +02:00
Dennis Mannhart
a24fdb93c3 FlightTaskManual: increase rc timeout to 1.5 x COM_RC_LOSS_T 2018-08-30 09:27:48 +02:00
Dennis Mannhart
1f1c9fde01 FlightTaskAuto: lock yaw once within acceptance radius 2018-08-30 09:27:48 +02:00
Dennis Mannhart
72f1fca55c mc_pos_control: lower LOITER_TIME_BEFORE_DESCEND from 1 second to 0.2 2018-08-30 09:27:48 +02:00
Dennis Mannhart
8714b216b0 FlightTaskFailsafe: comments and land with land speed if velocity in z is valid but altitude not 2018-08-30 09:27:48 +02:00
Dennis Mannhart
3d250b3b83 FlightTaskAutoLine: don't update yaw if waypoints are too close together 2018-08-30 09:27:48 +02:00
Dennis Mannhart
81c5025ad8 mc_pos_control: enter FlighttaskFailsafe if Flighttask wants to be started, but all of
the Flighttask fail. A failure of the Flighttask can occur if the demanded Flighttask does
not have the required data.
2018-08-30 09:27:48 +02:00
Dennis Mannhart
06c10f61c1 mc_pos_control: go into Failsafe only after 1 second flighttask.update() continous to fail 2018-08-30 09:27:48 +02:00
Dennis Mannhart
4d9f96bfbd FlightTaskFailure: will hover if position available, will land if velocity valid and
will land with 0.3 of hover thurst if position nor velocity is valid
2018-08-30 09:27:48 +02:00
Julian Oes
d370a7c2b5 commander: remove unused HITL transition function
To my knowledge this hil transition function is not used anymore,
however, it makes sending the DO_SET_MODE command unnecessarily complex.
In my opinion the DO_SET_MODE command should only change the mode but
not other things like arming (already removed) and HITL state (this
commit).

Often times, I was seeing the error message "Set SYS_HITL to 1 and
reboot to enable HITL." when using QGC with a vehicle in HITL.

HITL is set via parameter which then has an impact in the startup script
where the CLI argument `-hil` is added to some of the commands that
require it (like commander as well).
2018-08-30 09:16:02 +02:00