Michael du Breuil
deaa5046cb
AP_BattMonitor: Split the failsafe conditions from their timers
6 years ago
Michael du Breuil
1bb4f07365
AP_BattMonitor: Move failsafe checks to the backend
6 years ago
Andrew Tridgell
bcc1bd9752
HAL_ChibiOS: added realloc implementation
...
needed for AP_Scripting
6 years ago
Michael du Breuil
68576eff32
AP_Scripting: Initial test script
6 years ago
Michael du Breuil
8382d377bd
AP_HAL_ChibiOS: Add a BUFSIZ value
6 years ago
Michael du Breuil
e421599e4f
AP_Scripting: Hide lua IO for now
6 years ago
Michael du Breuil
513e5946bb
AP_Scripting: Add Lua 5.3.5 source
6 years ago
Michael du Breuil
8049c64a5b
AP_Scripting: Create a thread and spin
6 years ago
Michael du Breuil
a7d94ff6c7
AP_HAL_PX4: Handle scripting priority
6 years ago
Michael du Breuil
f506a96b7f
AP_HAL_Linux: Handle scripting priority
6 years ago
Michael du Breuil
11ab6c59e1
AP_HAL_ChibiOS: Handle scripting priority
6 years ago
Michael du Breuil
73901274b0
AP_HAL: Define a scripting base priority
6 years ago
Michael du Breuil
f2a31866aa
AP_Scripting: Initial scripting framework
6 years ago
Randy Mackay
cb03a35737
AP_WindVane: fix typo on record_home_heading
6 years ago
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
6 years ago
CAO MUQING
09030b1b13
RC_Channel: add aux switch options for ZigZag mode and ZigZag SaveWP
6 years ago
Randy Mackay
c1ab3afb6c
AP_HAL_ChibiOS: fix safety switch option handling
6 years ago
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
6 years ago
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.
6 years ago
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
6 years ago
Michael du Breuil
9a48a0835e
AP_HAL_ChibiOS: Don't redefine errno
6 years ago
Jochen Anglett
1c60417d03
AP_Frsky_Telem: add IMU temperature reporting
6 years ago
Raouf
8bfb1d2445
AP_Proximity: add support for OBSTACLE_DISTANCE message
6 years ago
Michael du Breuil
f51d757844
AP_InertialSensor: Remove unused (and conflicting in some builds) include
6 years ago
Michael du Breuil
88aa20d691
AP_Airspeed: Make user facing messages clearer, improve handling of bad tube order
6 years ago
Michael du Breuil
f810b7b9f6
AP_HAL_ChibiOS: Make getcwd() take size_t as per the standard
6 years ago
Andrew Tridgell
2f2be6afda
AP_Compass: use rotation_equal() from AP_Compass
6 years ago
Andrew Tridgell
d4eaf09baf
AP_Math: added rotation_equal()
6 years ago
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
6 years ago
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....
6 years ago
Peter Barker
254ef4f0ae
AP_WheelEncder: remove dead code
6 years ago
Randy Mackay
8d3b093bbf
AP_OSD: resolve compiler warning
6 years ago
Randy Mackay
7519a28e8c
AP_WindVane: remove destructor
6 years ago
Randy Mackay
743ef9dfe6
AP_WindVane: correct parameter descriptions
6 years ago
Randy Mackay
30f20827ec
AP_WindVane: add calibration voltage check
...
also support starting calibration via mavlink message
6 years ago
Randy Mackay
31e2d5d2ad
AP_WindVane: updates after peer review
...
rename get_instance to get_singleton
update expected to be called at 20hz
filters moved into AP_WindVane scope and dt fixed
apparent wind direction stored locally in earth-frame and read_ functions renamed to reflect this
panic only called for SITL
analog pin init changed and assume voltage is radiometric
some renames of "bearing" to "distance"
some redundant constraints removed
6 years ago
IamPete1
e443b864c6
AR_AttitudeControl: add sail heel PID
6 years ago
Randy Mackay
ce397161bf
AP_WindVane: add SITL driver
6 years ago
IamPete1
b54e3df57c
AP_WindVane: library to read wind direction from sensor
6 years ago
IamPete1
7a8e7449fa
SRV_Channel: add mailsail to servo function enum
6 years ago
Randy Mackay
b7c88da67c
SITL: sailboat fixes from peer review
6 years ago
Randy Mackay
ada073fbdc
AP_HAL_SITL: add sailboat to SITL_cmdline.cpp
6 years ago
Randy Mackay
804305aa2b
SITL: add simple sailboat simulator
6 years ago
bnsgeyer
833bc4e77d
AP_Motors: Tradheli - fixes slew speed of swashplate during collective servo test
6 years ago
Randy Mackay
d271dda8c5
AC_PrecLand: init accepts update rate
6 years ago
Randy Mackay
7fbdaa3c65
AC_PrecLand: LAG to float and use main loop rate
...
also includes other changes from peer review:
- check_inertia_buffer renamed to init_inertial_buffer and nullptr checks removed to make it more clear this should only be called once
- init_inertial_buffer made private
- add check that inertial_buffer_size is never less than 1
- fixup comments
6 years ago
Randy Mackay
40d4bcb84a
AC_PrecLand: rename BUFFER to LAG and add alloc failure check
...
avoids issue where LAG parameter is set too large which would lead to trying to access unallocated memory
inertial buffer is only allocated at startup to avoid memory leak
6 years ago
fnoop
02da34a246
AC_PrecLand: Add PLND_BUFFER parameter and move to AP_HAL::utility::RingBuffer, #6297
...
AC_PrecLand: Add PLND_BUFFER parameter and move to AP_HAL::utility::RingBuffer, ##6297
AC_PrecLand: Fixup int type, #8892
AC_PrecLand: Add PLND_BUFFER parameter and move to AP_HAL::utility::RingBuffer, ##6297
Update screwed up submodules from rebase
6 years ago
Michael du Breuil
c02863e001
AP_AHRS: Internalize EKF getLLH altitude management
6 years ago
Michael du Breuil
1991f223ac
AP_NavEKF3: Fix roundoff, and missing offset handling of getLLH
6 years ago