Commit Graph

17263 Commits

Author SHA1 Message Date
Andrew Tridgell
27c435e217 HAL_ChibiOS: use compressed ROMFS for bootloader update 2018-07-09 19:41:56 +10:00
Andrew Tridgell
aa205d0537 AP_OSD: use compressed font file 2018-07-09 19:41:56 +10:00
Andrew Tridgell
c3db5c3da2 AP_ROMFS: added support for compressed files in ROMFS 2018-07-09 19:41:56 +10:00
Andrew Tridgell
3fc6968700 HAL_SITL: allow delay from other than main thread 2018-07-09 19:41:18 +10:00
Andrew Tridgell
3cd6d8cac7 HAL_VRBRAIN: removed restriction on delay in threads
threads other than the main thread should be able to sleep, but not
call the delay callback
2018-07-09 19:41:18 +10:00
Andrew Tridgell
c317cc3fa4 HAL_PX4: removed restriction on delay in threads
threads other than the main thread should be able to sleep, but not
call the delay callback
2018-07-09 19:41:18 +10:00
Andrew Tridgell
492978c0fa HAL_Linux: removed restriction on delay in threads
threads other than the main thread should be able to sleep, but not
call the delay callback
2018-07-09 19:41:18 +10:00
Andrew Tridgell
a489c93001 HAL_ChibiOS: removed restriction on delay in threads
threads other than the main thread should be able to sleep, but not
call the delay callback
2018-07-09 19:41:18 +10:00
Andrew Tridgell
0e29bcc4ab AP_IOMCU: use thread_create() API 2018-07-09 19:41:18 +10:00
Andrew Tridgell
b98d941526 AP_OSD: use thread_create API
this prevents a freeze in the FAT filesystem from affecting the OSD
2018-07-09 19:41:18 +10:00
Andrew Tridgell
9918ae3209 HAL_Linux: implement thread_create() 2018-07-09 19:41:18 +10:00
Andrew Tridgell
3dfa1f2879 HAL_PX4: implement thread_create() API 2018-07-09 19:41:18 +10:00
Andrew Tridgell
df3ce87e02 HAL_ChibiOS: implement thread_create() 2018-07-09 19:41:18 +10:00
Andrew Tridgell
88842adbd5 HAL_SITL: implement thread_create() API 2018-07-09 19:41:18 +10:00
Andrew Tridgell
e14e0b8a14 AP_HAL: added thread_create() API
this is deliberately a minimalistic API, for ease of implementation in
each HAL
2018-07-09 19:41:18 +10:00
Andrew Tridgell
8b337bfc4c AP_Notify: fixed shadowed variable warning 2018-07-09 19:41:18 +10:00
Andrew Tridgell
a9c570702c AP_Param: fixed build warning 2018-07-09 19:41:18 +10:00
Andrew Tridgell
5929b5fc33 AP_SerialManager: fixed find_baudrate to return mapped baudrate 2018-07-09 15:41:48 +10:00
Andrew Tridgell
dbe096e2f3 AP_OSD: default OSD_TYPE to SITL when enabled with --osd 2018-07-08 08:22:40 +10:00
Andrew Tridgell
ba1a611ea9 AP_OSD: fixed CPU usage in SITL thread 2018-07-07 13:09:52 +10:00
Andrew Tridgell
12a53ed662 HAL_PX4: fixed link on aerofc-v1
it does not have bl_update
2018-07-06 21:18:16 +10:00
Ebin
30b3d63e8a APM_Control: New default PID values for balance bots 2018-07-06 19:41:09 +10:00
Ebin
ce182fd307 APM_Control: fixed test condition in AR_AttutudeControl.cpp 2018-07-06 19:41:09 +10:00
Peter Barker
d698960728 GCS_MAVLink: correct bad fall-through 2018-07-06 10:43:17 +10:00
Andrew Tridgell
847cb760b4 HAL_ChibiOS: fixed fmuv4-beta hwdef for dup pin 2018-07-06 10:21:12 +10:00
Andrew Tridgell
bf6906819d HAL_ChibiOS: fixed configure of cube-red 2018-07-06 10:21:12 +10:00
Peter Barker
3710c50c4e GCS_MAVLink: handle MAV_CMD_ACCELCAL_VEHICLE_POS in GCS base class 2018-07-06 09:43:09 +10:00
Peter Barker
4775a67ea0 GCS_Common: handle command_long in GCS base class 2018-07-06 09:43:09 +10:00
Peter Barker
4ad065de99 GCS_MAVLink: handle command_int in base class 2018-07-06 09:43:09 +10:00
Peter Barker
37145253d9 AP_SerialManager: remove set_console_baud, factor out find_protocol_instance 2018-07-06 09:36:19 +10:00
Alexander Malishev
7a3eb69818 HAL_ChibiOS: allow arm without compass on omnibusf4pro 2018-07-06 09:04:50 +10:00
Andrew Tridgell
570470ac59 AP_AdvancedFailsafe: removed some old AVR code 2018-07-06 09:04:15 +10:00
Andrew Tridgell
fbf24f0492 HAL_ChibiOS: make serial number match HAL_PX4 2018-07-06 09:02:11 +10:00
Andrew Tridgell
840362f355 HAL_ChibiOS: fixed default revo compass orientation 2018-07-05 19:43:12 +10:00
Andrew Tridgell
15ee9593b5 HAL_ChibiOS: fixed duplicate pin definitions
thanks to @liang-tang for noticing
2018-07-05 12:07:55 +10:00
Andrew Tridgell
53dcf5bef8 HAL_ChibiOS: fixed build warning with MATEKF405 2018-07-05 11:48:40 +10:00
Andrew Tridgell
d280dbf119 AP_OSD: display --- when no airspeed available 2018-07-05 09:32:09 +10:00
Andrew Tridgell
cdf92c5158 AP_BattMonitor: fixed ESC telem scaling 2018-07-05 09:16:50 +10:00
Andrew Tridgell
f96c3c2c0f AP_OSD: added check for get_telem_data() 2018-07-05 09:16:50 +10:00
Andrew Tridgell
84d2b1cd93 AP_OSD: make packed decimal the default
and fix SITL char spacing
2018-07-05 08:06:04 +10:00
Alexander Malishev
3fb034e350 AP_OSD: fixed packed dot 2018-07-05 08:06:04 +10:00
Andrew Tridgell
5c2c5efc35 HAL_ChibiOS: rename to CubeYellow 2018-07-05 07:53:48 +10:00
Andrew Tridgell
f289c71b89 HAL_ChibiOS: make CubeOrange IDs consistent with CubeBlack 2018-07-05 07:53:48 +10:00
Andrew Tridgell
47fec1859b HAL_ChibiOS: rename cube-orange to CubeOrange 2018-07-05 07:53:48 +10:00
proficnc
5519986848 HAL_ChibiOS: Added CubeBlack hwdef 2018-07-05 07:53:48 +10:00
Peter Barker
6bf5ffdb6d AP_NavEKF3: use compass singleton for logging 2018-07-04 20:11:27 +01:00
Peter Barker
baa818a812 AP_NavEKF2: use compass singleton for logging 2018-07-04 20:11:27 +01:00
Peter Barker
4e0c6b873f DataFlash: use compass singleton for logging 2018-07-04 20:11:27 +01:00
Andrew Tridgell
9df4be7f49 AP_OSD: added blink for SITL backend 2018-07-04 20:53:25 +10:00
Andrew Tridgell
7d4a6795d8 AP_OSD: use a thread for SITL OSD
this allows for window scaling and should fix ubuntu 18 warning
2018-07-04 20:53:25 +10:00
Andrew Tridgell
7ce72fe571 AP_OSD: fixed sign of altitude 2018-07-04 18:47:14 +10:00
Andrew Tridgell
af46388d6c AP_OSD: added option to pack decimal numbers 2018-07-04 18:47:14 +10:00
Andrew Tridgell
5ef0c454e3 AP_OSD: fixed sign on GPS coords 2018-07-04 18:47:14 +10:00
Kelly-Foster
dcc272bd6f AP_OSD: widgets for BLHeli32 ESC amps, temp, rpm, and GPS lat/long 2018-07-04 18:47:14 +10:00
Andrew Tridgell
9702f4f822 AP_OSD: fixed vector orientation 2018-07-04 17:16:45 +10:00
Alexander Malishev
38c71bbfc7 AP_OSD: fixed up/down arrows 2018-07-04 17:16:45 +10:00
Alexander Malishev
64cfa3beef AP_OSD: fixed vertical speed item 2018-07-04 17:16:45 +10:00
Alexander Malishev
e2b431f69f AP_OSD: fixed speed vector calculation 2018-07-04 17:16:45 +10:00
Alexander Malishev
2ef82173b4 AP_OSD: fixed review issues 2018-07-04 17:16:45 +10:00
Alexander Malishev
e9600d9a08 AP_OSD: reduce width of the vspeed item 2018-07-04 17:16:45 +10:00
Alexander Malishev
f23a40d967 AP_OSD: fixed type in the script 2018-07-04 17:16:45 +10:00
Alexander Malishev
e59e7a3754 AP_OSD: added airspeed and climbrate 2018-07-04 17:16:45 +10:00
Alexander Malishev
982e1e45dc AP_OSD: add wind speed/direction item 2018-07-04 17:16:45 +10:00
Alexander Malishev
d73a7c051d AP_OSD: show direction of the groundspeed vector 2018-07-04 17:16:45 +10:00
Alexander Malishev
c05bae3ca2 AP_OSD: add compass item 2018-07-04 17:16:45 +10:00
Peter Barker
e400a0e351 AP_Arming: use ArmingMethod enumeration 2018-07-03 15:16:38 +10:00
Peter Barker
6979f0d3a0 AP_Arming: remove unused arming_method member 2018-07-03 15:16:38 +10:00
Peter Barker
598f82a2fe AP_Arming: use singletons in AP_Arming 2018-07-03 13:44:11 +10:00
Peter Barker
051c811bfb AP_Compass: make compass_cal_requires_reboot const 2018-07-03 13:44:11 +10:00
Peter Barker
e7b409924c GCS_Common: send 0 rather than 1 in servo zero-rc-outputs 2018-07-03 12:12:25 +10:00
Peter Barker
f7daf1c676 GCS_MAVLink: rearrange code for clarity 2018-07-03 12:12:25 +10:00
Peter Barker
11df6debd0 GCS_MAVLink: move mavlink reboot code up to base class 2018-07-03 12:12:25 +10:00
Peter Barker
73bbe8b84e GCS_MAVLink: send ack before board reboot
Based on https://github.com/ArduPilot/ardupilot/pull/6640
2018-07-03 12:12:25 +10:00
vierfuffzig
41e84fa627 AP_OSD: implement throttle and heading 2018-07-03 07:29:43 +10:00
Andrew Tridgell
94d8010a16 GCS_MAVLink: expose HUD throttle accessor 2018-07-03 07:29:43 +10:00
Jacob Walser
24e21b57ca AP_Motors: add output_test_num api for motor testing 2018-07-02 11:31:58 -04:00
Jacob Walser
abcb845af5 AP_Motors: refactor output_test -> output_test_seq 2018-07-02 11:31:58 -04:00
Jacob Walser
9ce9f95692 AP_Motors: make output_test signatures consistent and ensure override
specifier on derived classes
2018-07-02 11:31:58 -04:00
Alexander Malishev
802f6a4a1c AP_OSD: fixed horizon roll/pitch signs 2018-07-02 21:38:32 +10:00
Alexander Malishev
ec528b2c18 AP_OSD: fix home direction 2018-07-02 21:38:32 +10:00
Alexander Malishev
11131d34e3 AP_OSD: give credits to the original authors 2018-07-02 21:38:32 +10:00
Peter Barker
fc378eeae1 DataFlash: move log-transfer state variables into enumerated variable 2018-07-02 10:46:52 +10:00
Peter Barker
4c2925d693 AP_Compass: remove pointless initialisations
If you are allocating one of these on the stack you're doing something
wrong.
2018-07-02 10:44:34 +10:00
Andrew Tridgell
0af83f9364 AP_OSD: use correct SFML header file 2018-07-02 10:43:48 +10:00
Andrew Tridgell
d3bc281a10 HAL_ChibiOS: use generic ROMFS embedding system 2018-07-02 10:43:48 +10:00
Andrew Tridgell
8ba137bd9a waf: moved ROMFS embed script into waf folder 2018-07-02 10:43:48 +10:00
Peter Barker
20d22f3629 AP_Math: quaternion requires isnan, so include math.h to get it 2018-07-02 09:31:11 +10:00
Peter Barker
493f958eb2 DataFlash: remove unused ReadBlock method 2018-07-02 09:00:51 +10:00
Andrew Tridgell
35192a6162 AP_OSD: added SITL OSD backend 2018-07-01 21:21:28 +10:00
Alexander Malishev
0169a9287d AP_OSD: fixed issues with horizont and home
Fixed roll direction.
Fixed home direction at small distances
2018-07-01 20:26:53 +10:00
Alexander Malishev
daf13cb9f4 AP_OSD: add home item 2018-07-01 20:26:53 +10:00
Alexander Malishev
d2e2a5b2ea AP_OSD: fixes in screen swithing methods
Do not switch to the next screen just after initialization.
Reduced auto switch interval to 1s.
Allow switch sreen in autoswitch mode just after transition.
2018-07-01 20:26:53 +10:00
Alexander Malishev
c0db1a3625 AP_OSD: fix warnings 2018-07-01 20:26:53 +10:00
Alexander Malishev
9b687e0e50 AP_OSD: use autoscroll in text messages, add artificial horizon 2018-07-01 20:26:53 +10:00
Alexander Malishev
1949166dde AP_OSD: add two new methods to switch osd screen 2018-07-01 20:26:53 +10:00
Alexander Malishev
d0571f55ed AP_OSD: use autoincrement mode to reduce spi traffic 2018-07-01 20:26:53 +10:00
Peter Barker
be19ae41d4 AP_HAL_SITL: increase debug for SIM connections 2018-06-30 10:11:10 +10:00
Peter Barker
c5d13847b2 AP_HAL_SITL: set cloexec on sitl-gps file descriptors 2018-06-29 21:53:14 +10:00
Peter Barker
6d6366df48 SITL: Sim_Vicon: set CLOEXEC on vicon file decsriptor 2018-06-29 21:53:14 +10:00
Andrew Tridgell
e5435e02ad HAL_ChibiOS: report system ID in mavlink and logs 2018-06-29 20:27:36 +10:00