Commit Graph

17298 Commits

Author SHA1 Message Date
Andrew Tridgell 985912fff7 AP_Module: removed ADC.h include 2018-08-02 12:38:50 +09:00
Andrew Tridgell aff6ae2d9e AP_Airspeed: removed ADC.h include 2018-08-02 12:38:49 +09:00
Andrew Tridgell 50b9e19f5a SITL: match plane3.9.0 2018-08-02 12:38:48 +09:00
Andrew Tridgell f729bdcb28 AP_Airspeed: removed ADC.h include 2018-08-02 12:38:45 +09:00
Andrew Tridgell aa8c62ad16 AP_SerialManager: make console do mavlink2 by default
this is low impact as it doesn't affect radios that may not do mavlink2
2018-08-02 12:38:45 +09:00
Andrew Tridgell fc87d59a04 AP_BattMonitor: removed ADC.h include 2018-08-02 12:38:44 +09:00
Andrew Tridgell 98ddab501c AP_BoardConfig: match plane3.9.0 2018-08-02 12:38:43 +09:00
Andrew Tridgell b9f67e1766 AP_Camera: match plane3.9.0 2018-08-02 12:38:42 +09:00
Andrew Tridgell 4898a10b0c AP_GPS: removed ADC.h include 2018-08-02 12:38:41 +09:00
Andrew Tridgell ff3322a526 HAL_Empty: match plane 3.9.0 2018-08-02 12:38:41 +09:00
Andrew Tridgell 388cbf5cbd HAL_VRBrain: match plane 3.9.0 2018-08-02 12:38:40 +09:00
Andrew Tridgell b378446472 AP_InertialSensor: update SITL to have device IDs 2018-08-02 12:38:39 +09:00
Andrew Tridgell 8bac95209b AP_OSD: update to match plane3.9.0 2018-08-02 12:38:38 +09:00
Andrew Tridgell 6b05ce15c5 AP_ADC: update to match plane3.9.0 2018-08-02 12:38:37 +09:00
Andrew Tridgell b959e353e2 AP_Compass: added COMPASS_AUTO_ROT support
this is set to "check but don't fix" by default. This matches the
behaviour for plane3.9.0
2018-08-02 12:38:37 +09:00
Andrew Tridgell a403254c81 AP_AHRS: added get_DCM_rotation_body_to_ned()
this specifically asks for the DCM attitude, which will be used for
the comass calibration to help determine compass orientation
2018-08-02 12:38:36 +09:00
Andrew Tridgell 0bf8b84be0 AP_AHRS: don't do yaw correction in DCM while calibrating compass
this avoids applying bad compass yaw, and helps the compass
calibration code
2018-08-02 12:38:35 +09:00
Michael du Breuil 40d3226cd9 AP_AHRS: Remove unused ADC include 2018-08-02 12:38:34 +09:00
Andrew Tridgell 6f22faa71b HAL_SITL: update to plane3.9.0beta6 2018-08-02 12:38:32 +09:00
Andrew Tridgell b2f4cccd52 HAL_ChibiOS: update to plane3.9.0beta6 2018-08-02 12:38:31 +09:00
Andrew Tridgell faa937e41d HAL_Linux: update to match plane 3.9.0beta6 2018-08-02 12:38:31 +09:00
Andrew Tridgell 524dfdf217 AP_HAL: update to match plane3.9.0beta6 2018-08-02 12:38:30 +09:00
Andrew Tridgell 252ab82c97 HAL_PX4: update to match plane3.9.0beta6 2018-08-02 12:38:29 +09:00
Andrew Tridgell d1a16a0e2f HAL_SITL: update to match plane3.9.0beta6 2018-08-02 12:38:28 +09:00
Andrew Tridgell bb3b5ed869 AP_IOMCU: update to match plane3.9.0beta6 2018-08-02 12:38:28 +09:00
Andrew Tridgell 97dae1a03d HAL_ChibiOS: update to match plane 3.9.0beta6 2018-08-02 12:38:27 +09:00
Andrew Tridgell 9384bc9b03 AP_IOMCU: use compressed interface for IO fw upload 2018-08-02 12:38:26 +09:00
Andrew Tridgell 230e1f681b AP_IOMCU: use thread_create() API 2018-08-02 12:38:25 +09:00
Andrew Tridgell 2de747a71e AP_ROMFS: added support for compressed files in ROMFS 2018-08-02 12:38:20 +09:00
Andrew Tridgell 195550998d HAL_PX4: backup storage to microSD if possible
very useful for diagnostics
2018-08-02 12:38:20 +09:00
Randy Mackay cbd225ae38 AP_BattMonitor: add BLHeli ESC to MONITOR param desc 2018-08-01 15:11:41 +09:00
Randy Mackay d98d1764df AP_RSSI: const get_gpio and fix includes 2018-08-01 15:10:44 +09:00
Randy Mackay 3ffd516cae AP_RSSI: support pwm input on gpio pin 2018-08-01 15:10:29 +09:00
Randy Mackay 9deb0d7d12 AP_RSSI: minor format fix 2018-08-01 15:10:26 +09:00
Randy Mackay 08ef942907 AP_RSSI: clarify PIN_LOW/HIGH parameter description 2018-08-01 15:10:24 +09:00
Raouf cb8210599e AC_Fence: add always land option 2018-08-01 15:09:07 +09:00
bnsgeyer 7e8c2a3e83 AP_Motors: Tradheli-corrected get_motor_mask method 2018-08-01 15:03:54 +09:00
bnsgeyer abdb1e07c5 AP_Motors: convert heli code to use SRV_Channels
this converts the heli code to use the SRV_Channels output
functions. It does not change behaviour, but removes the last vehicle
type that did its own servo output calculations.  This change also
fixed servo initialization conflicts.

Note that this also allows helis to be setup with more than one
channel for a particular output (eg. two separate channels for tail
servo if they are wanted). This isn't likely to be used much, but does
make heli consistent with other vehicle types
2018-08-01 15:03:51 +09:00
bnsgeyer b728e781a7 SRV_Channel: fixes channel numbering for channel already assigned message 2018-08-01 15:03:46 +09:00
bnsgeyer 7c498b8978 SRV_Channel: modified set_output_pwm_trimmed for reverse property
Modified function to account for servo reverse property
2018-08-01 15:03:43 +09:00
Andrew Tridgell 28e66c95bc SRV_Channel: added function based set_output_min_max
this is for a conversion of AP_Motors heli code to servo functions
2018-08-01 15:03:40 +09:00
Andrew Tridgell b4bd0adfad HAL_ChibiOS: account for I2C base in compass masks 2018-07-31 14:26:56 +10:00
Andrew Tridgell 630dc96d0b HAL_ChibiOS: fixed internal i2c mask for Pixracer 2018-07-31 14:26:49 +10:00
Michael du Breuil e1b69a7534 RC_Channel: Allow a RC_OVERRIDE_TIMEOUT of -1 to use the overrides
forever
2018-07-31 14:26:29 +10:00
Jonathan Challinger 83ed210869 AP_IOMCU: fix radio failsafe handling 2018-07-31 14:26:11 +10:00
Andrew Tridgell 26a8c75a84 AP_Compass: clear DEV_ID for undetected compasses
this prevents user confusion with the number of compasses detected
2018-07-31 14:25:40 +10:00
Timothy Knab 0dad18f014 HAL_ChibiOS: Updated OMNIBUSF7V2
Compasses on the I2C bus are now detected properly and GPS on UART3 works.
2018-07-31 14:24:39 +10:00
Andrew Tridgell 6d3ff416cf AP_IOMCU: fixed setting of rate masks
this affects layouts which set a subset of channels on a timer
2018-07-31 14:24:30 +10:00
Andrew Tridgell fa4d125727 HAL_ChibiOS: only set freq on valid IO channels 2018-07-31 14:24:27 +10:00
Andrew Tridgell a8302911b5 HAL_ChibiOS: added Pixhawk1 build target
this is more obvious to users than fmuv3
2018-07-31 14:24:17 +10:00
Andrew Tridgell 24338199ac AP_RangeFinder: fixed VL53L0X semaphore usage 2018-07-31 14:24:14 +10:00
Alexander Malishev 95d3dae64a HAL_ChibiOS: fix DTCM size in stm32f745 mcu 2018-07-31 14:24:11 +10:00
Andrew Tridgell ab71cec7ef AP_Arming: only check trim on valid channel count 2018-07-31 14:24:08 +10:00
Andrew Tridgell 34fd3a9bcf HAL_ChibiOS: changed uart order for KakuteF4
thanks to feedback from Arther
2018-07-12 11:50:30 +10:00
Andrew Tridgell 5bf48fad43 HAL_ChibiOS: added specific builds for the Pixracer and mRoX21 boards 2018-07-12 11:44:32 +10:00
Andrew Tridgell 465c6c5a68 AP_BoardConfig: allow hwdef.dat override of BRD_TYPE 2018-07-12 11:44:30 +10:00
Andrew Tridgell 8a23a21383 HAL_ChibiOS: fixed mRoX21 IMU setup 2018-07-12 11:44:27 +10:00
fnoop 35a5166038 HAL_ChibiOS: MatekF405-Wing UART reorder 2018-07-12 11:43:23 +10:00
Andrew Tridgell cd6d585591 HAL_VRBrain: don't clear buffers on no baud change 2018-07-12 11:43:23 +10:00
Andrew Tridgell e661b1266f HAL_Linux: don't clear buffers on no baud change 2018-07-12 11:43:23 +10:00
Andrew Tridgell 84a6c18c43 HAL_PX4: don't clear buffers if no baudrate change 2018-07-12 11:43:23 +10:00
Andrew Tridgell 84624fbbf6 HAL_ChibiOS: don't clear buffers if no baudrate change 2018-07-12 11:43:23 +10:00
Andrew Tridgell 4f78d7200f AP_FlashStorage: fixed build of example on small memory boards 2018-07-11 15:32:35 +09:00
fnoop abdf56d6dd HAL_ChibiOS: Fix MatekF405-Wing default compass rotation 2018-07-11 14:20:53 +09:00
Andrew Tridgell d9ba148083 AP_Compass: fixed compass orientations on PH4 2018-07-11 14:20:34 +09:00
Andrew Tridgell 260ac21e13 AP_HAL: make linux internal i2c be 0xffff
based on feedback from Lucas
2018-07-11 14:20:26 +09:00
Andrew Tridgell 59a3deba3e HAL_Linux: allow for 16 I2C buses on Linux 2018-07-11 14:20:21 +09:00
Andrew Tridgell 16bd8ae852 AP_Compass: use I2C bus masks
this allows for external compasses on all external I2C ports, while
retaining existing device ordering
2018-07-11 14:20:18 +09:00
Andrew Tridgell d324c967de AP_Notify: use I2C bus masks 2018-07-11 14:20:15 +09:00
Andrew Tridgell ac3886e27e HAL_PX4: implement I2C bus masks 2018-07-11 14:20:13 +09:00
Andrew Tridgell 15ff760601 HAL_Linux: implement I2C bus masks 2018-07-11 14:20:11 +09:00
Andrew Tridgell 98f241c7e4 HAL_ChibiOS: implement I2C bus masks 2018-07-11 14:20:08 +09:00
Andrew Tridgell 44685bbb7b AP_HAL: added I2C bus mask functions and macros 2018-07-11 14:20:05 +09:00
Andrew Tridgell 05c0885d04 AP_SerialManager: fixed find_baudrate to return mapped baudrate 2018-07-11 14:14:14 +09:00
Peter Barker 969827d8f5 AP_SerialManager: remove set_console_baud, factor out find_protocol_instance 2018-07-11 14:14:04 +09:00
Andrew Tridgell f02e944857 HAL_PX4: fixed link on aerofc-v1
it does not have bl_update
2018-07-11 14:11:21 +09:00
liang.tang 1a12b958fc AC_WPNav: check validity of kP 2018-07-11 14:07:43 +09:00
Randy Mackay 734e61e80d 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-11 14:02:55 +09:00
Andrew Tridgell 5b056ff8d5 HAL_ChibiOS: fixed omnibusf4pro I2C
many thanks to Kelly-Foster and @sh83
2018-07-11 14:02:43 +09:00
Andrew Tridgell 61b8cbc3c6 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-11 14:02:15 +09:00
Andrew Tridgell a75447c8bd HAL_ChibiOS: changed which I2C bus is internal on fmuv5
match PH4 arrangement
2018-07-11 14:00:28 +09:00
Andrew Tridgell ac49b3aad4 HAL_ChibiOS: support for PH4-mini board 2018-07-11 14:00:18 +09:00
Andrew Tridgell 29dc4b6e8b HAL_ChibiOS: ensure system_id is nul terminated 2018-07-11 14:00:00 +09:00
Andrew Tridgell 4e4a83a2fb HAL_ChibiOS: make serial number match HAL_PX4 2018-07-11 13:57:59 +09:00
Andrew Tridgell c5e659c9dd HAL_ChibiOS: fixed default revo compass orientation 2018-07-11 13:57:53 +09:00
Andrew Tridgell 7bcb01d28f GCS_MAVLink: expose HUD throttle accessor 2018-07-05 11:39:46 +10:00
Andrew Tridgell 2738ae63a3 HAL_ChibiOS: rename to CubeYellow 2018-07-05 10:40:57 +10:00
Andrew Tridgell 7296767408 HAL_ChibiOS: make CubeOrange IDs consistent with CubeBlack 2018-07-05 10:40:55 +10:00
Andrew Tridgell 2418a05459 HAL_ChibiOS: rename cube-orange to CubeOrange 2018-07-05 10:40:53 +10:00
proficnc 0a03597872 HAL_ChibiOS: Added CubeBlack hwdef 2018-07-05 10:40:51 +10:00
Andrew Tridgell 88987608ae AP_OSD: display --- when no airspeed available 2018-07-05 10:39:48 +10:00
Andrew Tridgell f44fe31c23 AP_OSD: added check for get_telem_data() 2018-07-05 10:39:46 +10:00
Andrew Tridgell 5a0354dfee AP_OSD: make packed decimal the default
and fix SITL char spacing
2018-07-05 10:39:44 +10:00
Alexander Malishev 7320b15be4 AP_OSD: fixed packed dot 2018-07-05 10:39:41 +10:00
Andrew Tridgell eb238a3c80 AP_OSD: added blink for SITL backend 2018-07-05 10:39:39 +10:00
Andrew Tridgell ccdd5d2bbf AP_OSD: use a thread for SITL OSD
this allows for window scaling and should fix ubuntu 18 warning
2018-07-05 10:39:37 +10:00
Andrew Tridgell 76bf630efd AP_OSD: fixed sign of altitude 2018-07-05 10:39:35 +10:00
Andrew Tridgell 141b9703a9 AP_OSD: added option to pack decimal numbers 2018-07-05 10:39:32 +10:00
Andrew Tridgell d8b643a888 AP_OSD: fixed sign on GPS coords 2018-07-05 10:39:29 +10:00
Kelly-Foster 2f77c4cddb AP_OSD: widgets for BLHeli32 ESC amps, temp, rpm, and GPS lat/long 2018-07-05 10:39:27 +10:00