Andrew Tridgell
bf829cd792
AP_Notify: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
2018-10-17 12:54:22 +11:00
Andrew Tridgell
dedfa54d5a
AP_IRLock: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
2018-10-17 12:54:22 +11:00
Andrew Tridgell
755dc8dc5d
AP_InertialSensor: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
2018-10-17 12:54:22 +11:00
Andrew Tridgell
249291eac0
AP_GPS: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
2018-10-17 12:54:22 +11:00
Andrew Tridgell
a260792e9e
AP_Compass: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
2018-10-17 12:54:22 +11:00
Andrew Tridgell
e4e793b295
AP_Baro: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
2018-10-17 12:54:22 +11:00
Andrew Tridgell
fe064a2d4e
AP_Airspeed: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
2018-10-17 12:54:22 +11:00
Andrew Tridgell
725899080e
HAL_VRBRAIN: removed hal.util->new_semaphore()
...
replaced with HAL_Semaphore
2018-10-17 12:54:22 +11:00
Andrew Tridgell
44009c5459
HAL_SITL: removed hal.util->new_semaphore()
...
replaced with HAL_Semaphore
2018-10-17 12:54:22 +11:00
Andrew Tridgell
a9fbe106c9
HAL_PX4: removed hal.util->new_semaphore()
...
replaced with HAL_Semaphore
2018-10-17 12:54:22 +11:00
Andrew Tridgell
63556b9804
HAL_Linux: removed hal.util->new_semaphore()
...
replaced with HAL_Semaphore
2018-10-17 12:54:22 +11:00
Andrew Tridgell
5924816bbe
AP_HAL: removed hal.util->new_semaphore()
...
replaced with HAL_Semaphore
2018-10-17 12:54:22 +11:00
Andrew Tridgell
9ac7f8333b
HAL_F4Light: removed hal.util->new_semaphore()
...
replaced with HAL_Semaphore
2018-10-17 12:54:22 +11:00
Andrew Tridgell
4416404137
HAL_ChibiOS: removed hal.util->new_semaphore()
...
replaced with HAL_Semaphore
2018-10-17 12:54:22 +11:00
vierfuffzig
b455c7a769
AP_Compass: add rotation option for AK8963_MPU9250
...
allows using non-neutrally rotated AK8963 compass on MPU9250 as internal
reference: https://github.com/ArduPilot/ardupilot/pull/9459
2018-10-17 09:35:49 +11:00
Andrew Tridgell
0b9d0a4559
AP_Compass: removed incorrect semaphore take() in QMC5883L driver
2018-10-16 10:47:26 -07:00
Peter Barker
e29dbbf158
AP_AHRS: notify and log home changes
2018-10-16 10:55:13 +11:00
Peter Barker
dc14d7bce4
AP_Math: add another test for wrap_360_cd
2018-10-16 10:29:24 +11:00
Peter Barker
e0f63ca7f1
AP_Gripper: stop cheating on simulated servo state
2018-10-16 10:17:12 +11:00
Peter Barker
a8d8e5c0ef
AP_RPM: remove unused variable
2018-10-16 10:17:12 +11:00
Peter Barker
1b6ec1d5ad
AP_AccelCal: use mavlink define for field length
...
Also remove special-case handling for carriage return; no user of this
function has this problem.
2018-10-16 10:11:28 +11:00
Peter Barker
902bd7dda6
AP_Frsky_Telem: use mavlink definition to get statustext size
...
Also, add one for null-termination
2018-10-16 10:11:28 +11:00
Peter Barker
40daa8e15f
AP_GPS: use mavlink definition to get statustext size
...
Also, add one for null-termination
2018-10-16 10:11:28 +11:00
Peter Barker
c0e03522c6
DataFlash: change unit ID of PWM to Y to remove conflict with deglongitude
...
Closes #9554 (thanks @wbrueg)
2018-10-16 10:02:19 +11:00
Peter Barker
b177554f61
DataFlash: add sanity check for duplicate units/multipliers
2018-10-16 10:02:19 +11:00
Phillip Kocmoud
f1d223a32a
HAL_ChibiOS: Add support for the mRo X2.1-777
...
a new flight controller from Mayan Robotics based on the x2.1 upgraded to a STM32F777 MCU
2018-10-16 09:37:39 +11:00
Lucas De Marchi
1a9c386df2
AP_Compass: MMC3416: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
e83b345cbb
AP_Compass: MAG3110: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
ac2771b311
AP_Compass: LSM9DS1: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
2324a28e39
AP_Compass: LSM303D: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
38d1f8705f
AP_Compass: LIS3MDL: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
b05b3b9932
AP_Compass: IST8310: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
8d54276263
AP_Compass: BMM150: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
565df5ec94
AP_Compass: AK09916: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
e769c6932f
AP_Compass: QMC5883L: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
c0bccdaed6
AP_Compass: HMC5843: use common method to accumulate samples
2018-10-15 14:41:09 -07:00
Lucas De Marchi
329516373c
AP_Compass: add common method to accumulate and drain samples
...
Instead of repeating on each driver the same sequence of steps,
let's move them to the common parent class. This only implements
it, but no driver was ported yet.
2018-10-15 14:41:09 -07:00
Lucas De Marchi
5521fce676
AP_Math: add non-uniform Vector3f scaling
2018-10-15 14:41:09 -07:00
Leonard Hall
2f87d8808f
AP_Motors: handle boost in spool up and down the same way
2018-10-16 00:44:50 +09:00
Randy Mackay
853a56dc9b
AP_MotorsMatrix: formatting fixes
2018-10-16 00:44:50 +09:00
Leonard Hall
4774cb8daf
AP_Motors: improved motor loss redundancy
...
This detects a failed motor on copters with at least 6 motors
and recalculates the mixer to compensate
2018-10-16 00:44:50 +09:00
Leonard Hall
96a8bcf641
AC_AttitudeControl: limit gyro correction to 45 degrees error
2018-10-16 00:44:50 +09:00
Leonard Hall
acaefe9316
AC_AttitudeControl: remove output limits
2018-10-16 00:44:50 +09:00
Peter Barker
e503df48ff
AP_Baro: emit calibrated messages for each connected baro
...
Thanks to OlliW for pointing this out
2018-10-15 08:13:50 +11:00
chobits
7fa7c8f403
AC_WPNav: add set_speed_z
2018-10-13 13:16:26 +09:00
Eugene Shamaev
95ea3d8726
AP_Baro: fix temperature
2018-10-12 21:53:08 +01:00
vierfuffzig
2243c524db
Chibios: Add board FuriousFPV F35Lightning
2018-10-12 20:28:50 +11:00
murata
2d4dd1643d
AP_Baro: Delete the total temperature process.
...
AP_Baro: Delete the total temperature process.
2018-10-12 12:05:17 +11:00
mirkix
0c9fd0ae93
AC_WPNav: fix typo
2018-10-12 00:53:42 +01:00
murata
820f9bd260
AP_RTC: Delete unused variables
...
AP_RTC: Delete unused variables
2018-10-11 13:23:29 +11:00
Peter Barker
d05ab1b983
AP_Baro: notify GCS of all barometer ground pressures
2018-10-11 08:05:05 +11:00
Andrew Tridgell
38616e6bee
AP_Notify: ensure we can't skip a step in RGBLed timing
2018-10-09 20:25:49 +09:00
Andrew Tridgell
6489166996
AP_Notify: fixed PixracerLED on NuttX
...
led_dim must be a positive number, and is not related to the led off
value
2018-10-09 20:25:49 +09:00
Andrew Tridgell
ed71790945
AP_HAL: fixed PX4 LED polarity
2018-10-09 20:25:49 +09:00
Andrew Tridgell
927105cd25
AP_Notify: init gpio state for LEDs
2018-10-09 20:25:49 +09:00
Andrew Tridgell
36aa666786
AP_Notify: fixed px4-v4 to use pixracer LED driver
2018-10-09 20:25:49 +09:00
IamPete1
67d698fda3
AP_Windvane: add wind direction note
2018-10-09 16:27:10 +09:00
IamPete1
e31f98157b
SITL: sailboat add matlab VPP tool
2018-10-09 16:27:10 +09:00
IamPete1
1792438660
SITL: sailboat sim small changes
2018-10-09 16:27:10 +09:00
Peter Barker
3be9f35264
AP_RangeFinder: remove rangefinder prearm requirements for SITL
...
Getting the virtual rangefinder to move in prearm would be better, much
much more involved.
2018-10-09 10:47:38 +11:00
Peter Barker
281fad53c2
AP_NavEKF3: always set EKF control limits, even with no cores
2018-10-09 10:47:38 +11:00
Peter Barker
889190d46e
AP_NavEKF2: always set EKF control limits, even with no cores
2018-10-09 10:47:38 +11:00
Peter Barker
3faf7824c0
AC_WPNav: allow position control to get ekf navigation scalars directly
2018-10-09 10:47:38 +11:00
Peter Barker
dabe8a13f7
AC_AttitudeControl: use EKF singleton to get ekfNavVelGainScaler
2018-10-09 10:47:38 +11:00
Michael du Breuil
9b82bcc901
DataFlash: Spin up more battery messages
...
This is crazy, because it just burned 5.5% of all possible message ID's
2018-10-09 00:44:46 +01:00
Michael du Breuil
8b3d993b1e
AP_BattMonitor: Enable 9 battery monitors
2018-10-09 00:44:46 +01:00
Michael du Breuil
a8741f62f9
AP_Arming: Use AP_BattMonitor's arming checks for the battery
2018-10-09 00:44:46 +01:00
Michael du Breuil
0137d6543f
AP_BattMonitor: Allow AP_BattMonitor to run arming checks
2018-10-09 00:44:46 +01:00
Michael du Breuil
deaa5046cb
AP_BattMonitor: Split the failsafe conditions from their timers
2018-10-09 00:44:46 +01:00
Michael du Breuil
1bb4f07365
AP_BattMonitor: Move failsafe checks to the backend
2018-10-09 00:44:46 +01:00
Andrew Tridgell
bcc1bd9752
HAL_ChibiOS: added realloc implementation
...
needed for AP_Scripting
2018-10-09 10:08:52 +11:00
Michael du Breuil
68576eff32
AP_Scripting: Initial test script
2018-10-09 10:08:52 +11:00
Michael du Breuil
8382d377bd
AP_HAL_ChibiOS: Add a BUFSIZ value
2018-10-09 10:08:52 +11:00
Michael du Breuil
e421599e4f
AP_Scripting: Hide lua IO for now
2018-10-09 10:08:52 +11:00
Michael du Breuil
513e5946bb
AP_Scripting: Add Lua 5.3.5 source
2018-10-09 10:08:52 +11:00
Michael du Breuil
8049c64a5b
AP_Scripting: Create a thread and spin
2018-10-09 10:08:52 +11:00
Michael du Breuil
a7d94ff6c7
AP_HAL_PX4: Handle scripting priority
2018-10-09 10:08:52 +11:00
Michael du Breuil
f506a96b7f
AP_HAL_Linux: Handle scripting priority
2018-10-09 10:08:52 +11:00
Michael du Breuil
11ab6c59e1
AP_HAL_ChibiOS: Handle scripting priority
2018-10-09 10:08:52 +11:00
Michael du Breuil
73901274b0
AP_HAL: Define a scripting base priority
2018-10-09 10:08:52 +11:00
Michael du Breuil
f2a31866aa
AP_Scripting: Initial scripting framework
2018-10-09 10:08:52 +11:00
Randy Mackay
cb03a35737
AP_WindVane: fix typo on record_home_heading
2018-10-07 15:46:48 +09:00
Randy Mackay
f0181be9c9
AC_Loiter: init_target only inits pos controller if inactive
...
this reduces a twitch found during the development of zig-zag mode
2018-10-05 10:05:45 +09:00
CAO MUQING
09030b1b13
RC_Channel: add aux switch options for ZigZag mode and ZigZag SaveWP
2018-10-05 10:05:45 +09:00
Randy Mackay
c1ab3afb6c
AP_HAL_ChibiOS: fix safety switch option handling
2018-10-04 16:13:24 +10:00
Peter Barker
b68a91d171
AP_NavEKF3: remove default clause in setAidingMode
...
All aiding modes should be covered in the switch statement; adding the
default clause squelches a potentially useful compiler warning
2018-10-03 17:49:43 +01:00
Peter Barker
3774aa6619
AP_NavEKF2: remove default clause in setAidingMode
...
All values from the enumeration should be handled in this switch; adding
a default will hide a compiler warning which may be useful.
2018-10-03 17:49:43 +01:00
Andrew Tridgell
8c391291a3
HAL_ChibiOS: fixed a race in DShot code
...
this fixes a problem found by Daniel Met with the copter 3.6 beta
release
2018-10-03 15:28:07 +10:00
Michael du Breuil
9a48a0835e
AP_HAL_ChibiOS: Don't redefine errno
2018-10-03 08:01:13 +10:00
Jochen Anglett
1c60417d03
AP_Frsky_Telem: add IMU temperature reporting
2018-10-02 12:02:04 +01:00
Raouf
8bfb1d2445
AP_Proximity: add support for OBSTACLE_DISTANCE message
2018-10-02 10:37:13 +09:00
Michael du Breuil
f51d757844
AP_InertialSensor: Remove unused (and conflicting in some builds) include
2018-10-02 07:09:41 +10:00
Michael du Breuil
88aa20d691
AP_Airspeed: Make user facing messages clearer, improve handling of bad tube order
2018-10-02 06:28:47 +10:00
Michael du Breuil
f810b7b9f6
AP_HAL_ChibiOS: Make getcwd() take size_t as per the standard
2018-10-02 06:04:40 +10:00
Andrew Tridgell
2f2be6afda
AP_Compass: use rotation_equal() from AP_Compass
2018-10-01 14:26:56 +09:00
Andrew Tridgell
d4eaf09baf
AP_Math: added rotation_equal()
2018-10-01 14:26:56 +09:00
Andrew Tridgell
803f255c73
AP_Compass: fixed handling of duplication rotations
...
we have some rotations that are duplicated, such as ROLL_180_YAW_90
and PITCH_180_YAW_270. This copes with those in the auto-orientation
code
2018-10-01 14:26:56 +09:00
Peter Barker
ac0e126099
Copter: correct AFS terminate-via-land for Copter
...
In the case we're terminating via land it's a good idea to continue to
constantly adjust our motor outputs for stabilization and the like....
2018-10-01 11:23:46 +09:00
Peter Barker
254ef4f0ae
AP_WheelEncder: remove dead code
2018-10-01 09:34:52 +09:00
Randy Mackay
8d3b093bbf
AP_OSD: resolve compiler warning
2018-09-28 15:17:40 +09:00