Commit Graph

17917 Commits

Author SHA1 Message Date
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
Randy Mackay
7519a28e8c AP_WindVane: remove destructor 2018-09-28 10:40:12 +09:00
Randy Mackay
743ef9dfe6 AP_WindVane: correct parameter descriptions 2018-09-28 10:40:12 +09:00
Randy Mackay
30f20827ec AP_WindVane: add calibration voltage check
also support starting calibration via mavlink message
2018-09-28 10:40:12 +09:00
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
2018-09-28 10:40:12 +09:00
IamPete1
e443b864c6 AR_AttitudeControl: add sail heel PID 2018-09-28 10:40:12 +09:00
Randy Mackay
ce397161bf AP_WindVane: add SITL driver 2018-09-28 10:40:12 +09:00