Commit Graph

17336 Commits

Author SHA1 Message Date
Andrew Tridgell
e193a161f2 HAL_ChibiOS: enable SDIOv1 bouncebuffers 2018-07-12 14:34:04 +10:00
Andrew Tridgell
f84424cca4 HAL_ChibiOS: added specific builds for the Pixracer and mRoX21 boards 2018-07-12 12:33:32 +10:00
Andrew Tridgell
e52176e23b AP_BoardConfig: allow hwdef.dat override of BRD_TYPE 2018-07-12 12:33:32 +10:00
Andrew Tridgell
721f5d86b1 HAL_ChibiOS: fixed mRoX21 IMU setup 2018-07-12 12:33:32 +10:00
Andrew Tridgell
0310bd468c HAL_ChibiOS: changed uart order for KakuteF4
thanks to feedback from Arther
2018-07-12 11:50:10 +10:00
Andrew Tridgell
48747be494 HAL_VRBrain: don't clear buffers on no baud change 2018-07-12 11:41:31 +10:00
Andrew Tridgell
1d1af5fd68 HAL_Linux: don't clear buffers on no baud change 2018-07-12 11:41:31 +10:00
Andrew Tridgell
fe07a73935 HAL_PX4: don't clear buffers if no baudrate change 2018-07-12 11:41:31 +10:00
Andrew Tridgell
50f7e55f0b HAL_ChibiOS: don't clear buffers if no baudrate change 2018-07-12 11:41:31 +10:00
fnoop
374c46bd57 HAL_ChibiOS: MatekF405-Wing UART reorder 2018-07-11 16:26:04 -07:00
Dr.-Ing. Amilcar do Carmo Lucas
fe90618e3e AP_TempCalibration: remove duplicated parameter 2018-07-11 12:16:42 -07:00
Randy Mackay
ce9857d77d AP_BattMonitor: add BLHeli ESC to MONITOR param desc 2018-07-11 17:44:00 +09:00
Andrew Tridgell
1f2c24ef7b HAL_ChibiOS: backup storage to microSD if possible
very useful for diagnostics.

This also fixes a bug on boards with flash storage, to not switch to
microSD storage if flash storage available
2018-07-11 16:38:03 +10:00
Andrew Tridgell
66ee202e24 HAL_PX4: backup storage to microSD if possible
very useful for diagnostics
2018-07-11 16:38:03 +10:00
fnoop
922a9762df HAL_ChibiOS: Fix MatekF405-Wing default compass rotation 2018-07-11 10:10:34 +10:00
Andrew Tridgell
985a319c42 AP_FlashStorage: fixed build of example on small memory boards 2018-07-11 10:07:38 +10:00
Lucas De Marchi
d2446e1219 AP_HAL_Linux: use Thread abstraction to create thread
The open coded version has the same problem fixed by Thread abstraction:
the order of the calls matters and it's easy to call in the wrong order.
Here pthread_attr_setschedparam() and pthread_attr_setschedpolicy()
should be swapped, like in 62c2f737d5 (AP_HAL_Linux: fix setting RT priorities.)
2018-07-11 10:00:29 +10:00
Lucas De Marchi
e11d268818 AP_HAL_Linux: Thread: allow loose running thread 2018-07-11 10:00:29 +10:00
Andrew Tridgell
ba0fb3d9d2 AP_IOMCU: fixed repeated upload of IO fw 2018-07-11 09:51:43 +10:00
Andrew Tridgell
2d8dbc05d0 HAL_ChibiOS: fixed omnibusf4pro I2C
many thanks to Kelly-Foster and @sh83
2018-07-11 08:33:49 +10:00
Andrew Tridgell
fff4b3b4a0 HAL_ChibiOS: fixed build on some F4 boards 2018-07-11 07:24:39 +10:00
Jack
4b24a61023 AP_HAL_Linux: fix spelling of generated in panics 2018-07-10 09:55:01 -07:00
liang.tang
c03e50660c AC_WPNav: check validity of kP 2018-07-10 18:07:50 +09:00
Andrew Tridgell
ece10082e2 HAL_ChibiOS: added separate builds for Pixhawk4 and CUAVv5
this makes it easier to distinguish boards in logs, plus makes life
easier when the user is selecting the right firmware.

It also gives us the flexibility to make parameter changes as needed
2018-07-10 18:29:14 +10:00
Andrew Tridgell
f88a4b3a2f AP_Compass: fixed compass orientations on PH4 2018-07-10 18:29:14 +10:00
Andrew Tridgell
b647dde28f HAL_ChibiOS: changed which I2C bus is internal on fmuv5
match PH4 arrangement
2018-07-10 18:29:14 +10:00
Andrew Tridgell
385713abdd HAL_ChibiOS: support for PH4-mini board 2018-07-10 18:29:14 +10:00
Andrew Tridgell
9ca2c11333 AP_Arming: use check_enabled() in storage check 2018-07-10 15:41:44 +10:00
Andrew Tridgell
bf1bca6820 AP_Arming: added arming check for storage health 2018-07-10 15:41:44 +10:00
Andrew Tridgell
63a9b903ba HAL_ChibiOS: added fallback to microSD for param storage
useful for boards without flash sectors setup in bootloader for
storage, but can use microSD
2018-07-10 15:41:44 +10:00
Andrew Tridgell
d35abe67ae AP_HAL: added optional healthy check on storage object
used to check parameter storage is functional
2018-07-10 15:41:44 +10:00
Andrew Tridgell
3e5d5b4095 HAL_VRBRAIN: ensure system_id is nul terminated 2018-07-10 15:40:08 +10:00
Andrew Tridgell
7beb8b4872 HAL_PX4: ensure system_id is nul terminated 2018-07-10 15:40:08 +10:00
Andrew Tridgell
5d8b4c1e23 HAL_ChibiOS: ensure system_id is nul terminated 2018-07-10 15:40:08 +10:00
Andrew Tridgell
6328a7233f AP_OSD: cope with no EKF for vspeed 2018-07-10 15:40:08 +10:00
Andrew Tridgell
4939f30ec4 AP_HAL: make linux internal i2c be 0xffff
based on feedback from Lucas
2018-07-10 15:39:47 +10:00
Andrew Tridgell
b19219d636 HAL_Linux: allow for 16 I2C buses on Linux 2018-07-10 15:39:47 +10:00
Andrew Tridgell
8fd69250bd AP_Compass: use I2C bus masks
this allows for external compasses on all external I2C ports, while
retaining existing device ordering
2018-07-10 15:39:47 +10:00
Andrew Tridgell
6bf3dea5e7 AP_Notify: use I2C bus masks 2018-07-10 15:39:47 +10:00
Andrew Tridgell
cb77cc772c HAL_PX4: implement I2C bus masks 2018-07-10 15:39:47 +10:00
Andrew Tridgell
070e3cf37b HAL_Linux: implement I2C bus masks 2018-07-10 15:39:47 +10:00
Andrew Tridgell
4f9bd50038 HAL_ChibiOS: implement I2C bus masks 2018-07-10 15:39:47 +10:00
Andrew Tridgell
281a1b6569 AP_HAL: added I2C bus mask functions and macros 2018-07-10 15:39:47 +10:00
vierfuffzig
bdede462e8 AP_OSD: updated fonts 2018-07-10 12:34:42 +10:00
vierfuffzig
02bc49f6b5 AP_OSD: added roll and pitch angle items 2018-07-10 12:34:42 +10:00
Andrew Tridgell
33653b6734 AP_OSD: added SI and Aviation units 2018-07-10 12:34:42 +10:00
Andrew Tridgell
3292abaa19 HAL_ChibiOS: fixed F412 build 2018-07-10 11:48:06 +10:00
Michael du Breuil
f8e9e57523 AP_Camera: reduce feedback pin timer work, remove unneeded inits 2018-07-09 16:42:17 -07:00
Dr.-Ing. Amilcar do Carmo Lucas
59e087214f AP_NavEKF2: spell in comments (NFC) 2018-07-10 08:17:57 +09:00
Andrew Tridgell
a561aa2f6d AP_OSD: allow for runtime H and V offset change 2018-07-10 08:52:02 +10:00
Andrew Tridgell
a085b33729 AP_OSD: make units tables a bit easier to read
and add OSD_UNITS parameter
2018-07-10 08:52:02 +10:00
Alexander Malishev
d2e05eb927 AP_OSD: ensure spi_buffer space 2018-07-10 08:52:02 +10:00
Alexander Malishev
ac71a181d6 AP_OSD: refactoring based on review suggestions 2018-07-10 08:52:02 +10:00
Alexander Malishev
e364a815f8 AP_OSD: add warning levels for vbat, rssi and nsat 2018-07-10 08:52:02 +10:00
Alexander Malishev
731ae44ffa AP_OSD: add imperial units option 2018-07-10 08:52:02 +10:00
Alexander Malishev
eaac477131 AP_OSD: add inverted roll AH and inverted wind direction 2018-07-10 08:52:02 +10:00
Alexander Malishev
7873aff0b8 AP_OSD: allow to fine tune osd position 2018-07-10 08:52:02 +10:00
Alexander Malishev
dc454881df AP_OSD: increased lat/lon field
Lattitude integer part could be 4 char wide like -171.123
2018-07-10 08:52:02 +10:00
Alexander Malishev
8dd4108f3c AP_OSD: create usable default osd layout 2018-07-10 08:52:02 +10:00
Andrew Tridgell
6eb00b92fd AP_OSD: don't panic on bad font num in SITL 2018-07-10 07:21:20 +10:00
Randy Mackay
af6c5ebda1 AP_HAL_ChibiOS: reduce default BRD_PWM_COUNT to 4 for fmv3
also default relay pins to use aux out 5 and 6
2018-07-10 05:30:05 +10:00
Andrew Tridgell
a7d9f4eef7 HAL_ChibiOS: don't add defaults.parm when building bootloader 2018-07-09 20:59:51 +10:00
Andrew Tridgell
52a8198311 AP_OSD: added font switching at runtime for SITL 2018-07-09 20:48:59 +10:00
Andrew Tridgell
64fae25882 AP_OSD: added runtime font switching 2018-07-09 19:48:09 +10:00
Andrew Tridgell
5682cef162 AP_OSD: created font binaries 2018-07-09 19:48:09 +10:00
vierfuffzig
4f1db0f979 AP_OSD: added fonts and styles 2018-07-09 19:48:09 +10:00
vierfuffzig
795947b405 AP_OSD: Addded README.md for fonts 2018-07-09 19:46:48 +10:00
Andrew Tridgell
7454c9f8c5 AP_OSD: load font on startup
this reduces memory fragmemtation and maximises available memory
during update
2018-07-09 19:41:56 +10:00
Andrew Tridgell
6347de2b89 AP_OSD: added OSD_FONT parameter
allow for user selection of font
2018-07-09 19:41:56 +10:00
Andrew Tridgell
4055f28bc5 AP_OSD: use font*.bin as font name 2018-07-09 19:41:56 +10:00
Andrew Tridgell
fd02865a8b HAL_ChibiOS: use wildcard ROMFS name for fonts 2018-07-09 19:41:56 +10:00
Andrew Tridgell
822e20f830 AP_OSD: rename clarity.bin to font0.bin 2018-07-09 19:41:56 +10:00
Andrew Tridgell
e200de1f57 AP_IOMCU: use compressed interface for IO fw upload 2018-07-09 19:41:56 +10:00
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