Peter Barker
c04d2145a1
AC_Fence: correct fence pre-arm position check
2019-03-07 11:42:39 +09:00
Randy Mackay
26fd334882
AP_Arming: provide better feedback on attitude check
2019-03-07 09:34:39 +09:00
Randy Mackay
ba02894734
AP_AHRS: attitude pre-arm check skips yaw if no compass
...
Also provides better feedback on the axis and angular difference
2019-03-07 09:34:39 +09:00
Siddharth Purohit
086b4c1cfd
AP_InertialSensor: use default value for temperature scale and offset
2019-03-06 20:47:10 +11:00
Siddharth Purohit
6ff8f52957
AP_Compass: add support for AK09916 connected over fourth IMU over I2C
2019-03-06 20:47:10 +11:00
Siddharth Purohit
b76ec8cc11
AP_InertialSensor: fix slave register structure for Invensensev2
2019-03-06 20:47:10 +11:00
Siddharth Purohit
104c433081
AP_Compass: AK09916 fix sample register structure
2019-03-06 20:47:10 +11:00
Siddharth Purohit
0d4725d6c6
HAL: add Invensense register bank based sensor types
2019-03-06 20:47:10 +11:00
Siddharth Purohit
cff8bf14b7
AP_Compass: add support for AK09916 via invensensev2 aux bus
2019-03-06 20:47:10 +11:00
Siddharth Purohit
528c0b4d7c
AP_InertialSensor: add drivers for register bank based Invensense Sensors
2019-03-06 20:47:10 +11:00
Siddharth Purohit
0cfcd0986e
AP_InertialSensor: look for icm20602 for Pixhawk 2 series flight boards
2019-03-06 20:47:10 +11:00
Siddharth Purohit
fef81b6381
HAL_ChibiOS: add support for new main sensors
2019-03-06 20:47:10 +11:00
Siddharth Purohit
cf7e95eaba
BoardConfig: add detection procedure for new sensor configurations
2019-03-06 20:47:10 +11:00
Mark Whitehorn
20bbf99b28
AC_AttitudeControl: add body-frame yaw mode for tailsitters
2019-03-06 15:48:51 +11:00
IamPete1
d075965fce
AP_Motors: tailsiter remove push of plane ouputs
2019-03-06 14:46:39 +11:00
Peter Barker
50d95943e3
AC_AttitudeControl: add pre-arm checks
2019-03-06 10:36:32 +09:00
Peter Barker
c25ce2cee8
AP_AirSpeed: move sending of airspeed_autocal into AP_AirSpeed
2019-03-06 11:32:52 +11:00
Mark Whitehorn
58a128f430
AP_Motors: add support for copter tailsitters
...
add MotorsMatrixTS tailsitter class
add X quadcopter tailsitter frame
add support for trimotor tailsitter
2019-03-06 07:53:46 +09:00
Peter Barker
2006ecf109
AP_Notify: add OBC colour scheme
2019-03-05 13:44:16 +11:00
Peter Barker
f8ac5a5419
AP_Notify: add parameter for logic level buzzer sounds at
2019-03-05 13:27:01 +11:00
Peter Barker
a97c9bdd5b
AP_Notify: enable buzzer under ChibiOS regardless of HAL_BUZZER_PIN
...
We have a parameter which can supply a pin number
2019-03-05 13:27:01 +11:00
Peter Barker
d9e876bfb2
AP_Notify: simplify buzzer playing
2019-03-05 13:27:01 +11:00
Peter Barker
74702b8688
GCS_MAVLink: make sending of send_pid_tuning up
2019-03-05 10:41:56 +11:00
Peter Barker
7f63720257
AP_Common: Location.cpp: force handling of all alt frames
...
By removing the default case we will generate a compiler error a new alt
frame is not handled
2019-03-05 10:39:29 +11:00
Michael du Breuil
7183b504a7
AP_Scripting: Fix bad location changes
2019-03-05 08:45:54 +11:00
duran9dv
8d4215fd82
Update AP_Airspeed_MS4525.cpp
...
update airspeed sensor to read and work with Pixhawk 4 adding { 3, MS4525D0_I2C_ADDR }, to the code
2019-03-04 10:05:38 -08:00
Andrew Tridgell
160de969a5
HAL_ChibiOS: simplify H7 clock tree setup
...
and push more peripherals to max of 100MHz
2019-03-04 21:42:07 +11:00
Andrew Tridgell
5bcfe41d1f
HAL_ChibiOS: push H7 clock to 400MHz
2019-03-04 19:38:06 +11:00
Andrew Tridgell
7b3e8afd4c
AP_RCProtocol: added another SUMD test
...
based on data from Luis from issue #10346
2019-03-04 11:59:04 +11:00
Andrew Tridgell
b1eeaa3019
SITL: fixed segv without SITL object
2019-03-04 11:00:40 +11:00
Peter Barker
539000df40
AP_Logger: remove more DataFlash references
...
Also strongly type the backend type
2019-03-02 22:28:13 +11:00
Andrew Tridgell
a59e1d0e0f
HAL_ChibiOS: fixed H7 dma sharing between BDMA and DMA
...
the BDMA and DMA controllers have separate namespaces for streams, so
we can allocate a lot more streams than we were
2019-03-02 20:50:59 +11:00
Andrew Tridgell
c7ca6d77c7
HAL_ChibiOS: H7 doesn't need a DMA mapping for SDMMC
...
it uses a dedicated internal DMA controller in the SDMMC peripheral
2019-03-02 20:50:59 +11:00
Andrew Tridgell
6f07d804b9
HAL_ChibiOS: adjust Pixhawk4Pro VBUS and DMA priority
2019-03-02 20:50:59 +11:00
Andrew Tridgell
603d9f6907
HAL_ChibiOS: fixed typo in ITCM base address
2019-03-02 09:01:20 +11:00
IamPete1
20d79207d8
GCS_MAVLink: make send_global_position_int virtual
2019-03-01 20:57:54 +11:00
Pierre Kancir
42cc9c755a
AP_IRLock: add SITL IRLock
...
AP_IRLock: simplify include
AP_IRLock: reduce scope of gazebo irlock_paquet
AP_IRLock: add z pos for IRLock SITL, set to 1.0 for pixycam
AP_IRLock: remove unused target size and get_angle_to_target_rad function
2019-03-01 20:28:22 +11:00
Pierre Kancir
40e7d22811
AC_Precland: use SITL precland object
...
AC_Precland: simplify includes
2019-03-01 20:28:22 +11:00
Peter Barker
be5478902c
AP_HAL_SITL: add precland object
2019-03-01 20:28:22 +11:00
Pierre Kancir
04bc267a61
SITL: add precland object
...
add position for precland object
add refresh rate
add alt and lateral range
add diffusion range
2019-03-01 20:28:22 +11:00
Peter Barker
dfa5a423ec
AP_Logger: add sanity check that trigger for bad float multipliers
2019-03-01 15:43:46 +11:00
Peter Barker
87d05d843e
AC_AutoTune: restrict scoping of LEVEL_ISSUE enum
...
This gives us tighter type-checking and scoping
2019-03-01 12:21:01 +11:00
Peter Barker
247a047177
AC_AutoTune: avoid int32_t<->float conversions
...
We're currently bouncing backwards and forwards between types. Just
choose one!
2019-03-01 12:09:58 +11:00
Peter Barker
1859dd4234
AC_AutoTune: avoid climb rate conversion from float to int32_t to float
2019-03-01 12:09:58 +11:00
Andrew Tridgell
4c12ba4c2c
HAL_ChibiOS: fixed SDMMC IRQ priority
2019-03-01 11:39:27 +11:00
Andrew Tridgell
7e1048c89b
HAL_ChibiOS: enable UART inversion on H7
2019-03-01 11:39:27 +11:00
Andrew Tridgell
2f833c92d3
HAL_ChibiOS: enable SDMMC for CubeOrange
2019-03-01 11:39:12 +11:00
Andrew Tridgell
37010a568e
HAL_ChibiOS: enable SDMMC on Pixhawk4Pro
2019-03-01 11:39:12 +11:00
Andrew Tridgell
e192bc6c10
HAL_ChibiOS: adjust H7 clocks, and enabled SDMMC
2019-03-01 11:39:12 +11:00
Andrew Tridgell
5b762711fd
AP_Logger: handle EEXIST for log dir create
2019-03-01 11:39:12 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
8f5a22685a
AP_Follow: NFC small renames and comment improvements
2019-03-01 09:15:24 +09:00
Andrew Tridgell
ff28337bfd
HAL_ChibiOS: fixed typos
2019-03-01 07:27:47 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
0b9d10c0f9
SITL: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
6082b230e8
AP_Terrain: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
31a32c7ea0
AP_Soaring: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
67bbc6962a
AP_Scripting: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
00a80f3a1a
AP_Rally: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
12a6e9ad69
AP_OSD: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
390e0fa601
AP_NavEKF3: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
79ee52917f
AP_NavEKF2: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
fa9a460c30
AP_Mission: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
003a346ee2
AP_Landing: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
d7edd396bd
AP_GPS: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
f61523b378
AP_Frsky_Telem: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
e7281aeddc
AP_Follow: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
dba80c95d5
AP_Camera: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
c977a646db
AP_Beacon: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
0725879c49
AP_Avoidance: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
44ab1cf14b
AP_AHRS: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
f2ca3556cd
AC_Fence: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
65ccef04b9
AP_Math: replace location_offset() and get_distance() C function calls with Location object member (C++) function calls
...
This allows removing duplicated code in the AP_Math/location.cpp file
2019-02-28 11:44:09 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas
3bea6229ad
AP_Stats: Improve reset documentation (NFC)
2019-02-28 09:20:10 +09:00
Andrew Tridgell
47d8435cd6
AP_Relay: removed unused pin 115 from docs
2019-02-27 20:32:37 +11:00
Andrew Tridgell
6251353090
HAL_Linux: removed old px4io protocol header
2019-02-27 20:32:37 +11:00
Andrew Tridgell
5b23cb014a
AP_Relay: remove more px4 remnants
2019-02-27 20:32:37 +11:00
Andrew Tridgell
103af72859
AP_InertialSensor: remove more px4 remnants
2019-02-27 20:32:37 +11:00
Andrew Tridgell
20d762293d
AP_HAL: remove more px4 remnants
2019-02-27 20:32:37 +11:00
Andrew Tridgell
70e445d040
AP_Button: remove more px4 remnants
2019-02-27 20:32:37 +11:00
Andrew Tridgell
8493b4c07c
AP_BoardConfig: remove more px4 remnants
2019-02-27 20:32:37 +11:00
Andrew Tridgell
64681cb05c
HAL_ChibiOS: allocate threads from any heap
...
this fixes a failure on MatekF405-Wing where it fails to allocate the
SPI thread for the IMU
2019-02-27 11:54:28 +11:00
IamPete1
49ec059420
APM_Control: add function to relax rover i terms
2019-02-27 08:51:24 +09:00
IamPete1
8f9f572489
RC_Channel: add global E-stop function
2019-02-27 08:51:24 +09:00
IamPete1
cbb871e7bb
SRV_Channel: add global E-stop
2019-02-27 08:51:24 +09:00
Peter Barker
a7589a4aed
AP_HAL_SITL: correct comparison between signed and unsigned
...
Closes #10637
2019-02-26 19:51:04 +11:00
Andrew Tridgell
3a2227c912
HAL_ChibiOS: updated IDs for CubeOrange
2019-02-26 18:21:13 +11:00
Andrew Tridgell
ff4614b399
HAL_ChibiOS: rename CubeH7 to CubeOrange
2019-02-26 18:21:13 +11:00
Peter Barker
368aeb8e8e
AP_UAVCAN: refuse to reboot via CAN if armed
2019-02-26 16:23:00 +11:00
Andrew Tridgell
94abc5a54d
HAL_ChibiOS: fixed DShot on H7
2019-02-26 16:18:26 +11:00
Andrew Tridgell
26e76e51ed
HAL_ChibiOS: fixed H7 build with older compilers
2019-02-26 16:18:26 +11:00
Andrew Tridgell
70930cca29
HAL_ChibiOS: fixed bootloader build with gcc 4.9
2019-02-26 16:18:26 +11:00
Andrew Tridgell
723e8a23fc
HAL_ChibiOS: enable HSE_BYPASS for NucleoH743
2019-02-26 16:18:26 +11:00
Andrew Tridgell
f8aeeb0333
HAL_ChibiOS: adjust clock tree to be more consistent
...
use 96MHz for all peripheral buses
2019-02-26 16:18:26 +11:00
Andrew Tridgell
5dd82f1d63
HAL_ChibiOS: adjust 16MHz HSE settings for H743 (CubeH7)
2019-02-26 16:18:26 +11:00
Andrew Tridgell
b0f4494c4a
HAL_ChibiOS: fixed DMA on SPI for Pixhawk4Pro
2019-02-26 16:18:26 +11:00
Andrew Tridgell
312597ac20
HAL_ChibiOS: fixed default batt2 pins for fmuv5
2019-02-26 16:18:26 +11:00
Andrew Tridgell
584e36e360
HAL_ChibiOS: switch Holybro to their own VID
2019-02-26 16:18:26 +11:00
Andrew Tridgell
9966fbea0f
HAL_ChibiOS: fixed bootloader build error
2019-02-26 16:18:26 +11:00
Andrew Tridgell
8e745f74fb
HAL_ChibiOS: support SPI6 on Pixhawk4Pro
2019-02-26 16:18:26 +11:00
Andrew Tridgell
75cd20aea4
HAL_ChibiOS: handle DMAMUX2 on H7
...
with BDMA
2019-02-26 16:18:26 +11:00
Andrew Tridgell
e43ad56920
HAL_ChibiOS: fixed Pixhawk4Pro battery defaults
2019-02-26 16:18:26 +11:00