Commit Graph

21257 Commits

Author SHA1 Message Date
Siddharth Purohit 90e83bdabd AP_KDECAN: update prearm method to support snprintf methods 2020-02-05 10:43:36 +11:00
Siddharth Purohit 719f4610a0 AP_Arming: add support for reporting UAVCAN Server errors 2020-02-05 10:43:36 +11:00
Siddharth Purohit 3c1e99cc6b AP_Math: add method for generating hash 2020-02-05 10:43:36 +11:00
Siddharth Purohit e266188963 HAL_ChibiOS: remove unused code 2020-02-05 10:16:44 +11:00
Siddharth Purohit 1197ab9479 StorageManager: add storage aread for CAN Dynamic Node Alloc 2020-02-05 10:16:44 +11:00
Siddharth Purohit 53cea84bf8 AP_UAVCAN: setup uavcan server with internal storage 2020-02-05 10:16:44 +11:00
Peter Barker b437daf2b7 AP_Mission: add sanity check that 16-bit commands aren't stored_in_location
This is a rather confusing problem when it happens during development,
so a sanity check is good.  What you see in dev is that your latitude
gets corrupted between when you store and retrieve it, with no warnings
that you're doing something wrong.
2020-02-05 10:16:44 +11:00
Randy Mackay f2f1dbeccd AP_Logger: add vibration failsafe error subsystem 2020-02-05 10:16:44 +11:00
Leonard Hall 7d8458fd22 AC_PosControl: add high vibration compensation 2020-02-05 10:16:44 +11:00
Randy Mackay e142b33090 AC_PID: update pid_info when integrator set 2020-02-05 10:16:44 +11:00
Randy Mackay 7f5be1cc9e AP_InertialNav: use ekf::get_vert_pos_rate during high vibration 2020-02-05 10:16:44 +11:00
Randy Mackay 15ca5f5511 AP_NavEKF3: reduce EK3_HRT_FILT max to 30 2020-02-05 10:16:44 +11:00
Paul Riseborough c5e3f7df7f AP_NavEKF3: Add missing vertical position derivative calculation 2020-02-05 10:16:44 +11:00
Randy Mackay 607f57e4d1 AP_NavEKF2: reduce EK2_HRT_FILT max to 30 2020-02-05 10:16:44 +11:00
Paul Riseborough e868b9dc35 AP_NavEKF2: Add missing vertical position derivative calculation
Use a third order order complementary filter to estimate the rate of change of vertical position output.
2020-02-05 10:16:44 +11:00
Randy Mackay 27bde0f2db AP_AHRS: add get_innovations 2020-02-05 10:16:44 +11:00
Leonard Hall 476f853ab3 RC_Channel: Support for Standby functions 2020-02-05 10:16:43 +11:00
Leonard Hall 9e89710d49 AP_Logger: Support for Standby functions 2020-02-05 10:16:23 +11:00
Leonard Hall fe0c05d7e4 AC_AttitudeControl: Support for Standby functions 2020-02-05 10:16:23 +11:00
Michael du Breuil 025fbfad8d AP_Scripting: Fix up uint32_t manipulation, fix AP_Notify
This also adds a touched up version of the foxhunt demo that was done at
the 2019 developer unconf
2020-02-05 10:16:23 +11:00
Peter Barker 9fde3e6297 AP_HAL_SITL: ToneAlarm doesn't play tones if disabled via param 2020-02-05 10:16:10 +11:00
Peter Barker a94b1ed65e SITL: create SITL tonealarm files to hold enable parameter 2020-02-05 10:16:10 +11:00
Peter Barker 438c29e924 AP_Notify: add a simulated buzzer for SITL 2020-02-05 10:15:48 +11:00
Peter Barker da3403112a AP_HAL_SITL: add a simulated buzzer 2020-02-05 10:15:48 +11:00
Peter Barker ff3ba8b05f SITL: add a simulated buzzer 2020-02-05 10:15:48 +11:00
Andrew Tridgell ba23ce7857 AP_ADSB: added handle_adsb_vehicle() API
this allows for UAVCAN ADSB adapters
2020-02-05 10:15:17 +11:00
Andrew Tridgell da943524d1 AP_ADSB: added singleton interface 2020-02-05 10:15:17 +11:00
Andrew Tridgell 2451d1bf38 AP_UAVCAN: support ADSB over UAVCAN 2020-02-05 10:15:17 +11:00
Andrew Tridgell ad2d9d1666 HAL_ChibiOS: added a f103-ADSB firmware
for presenting a ping ADSB device as UAVCAN
2020-02-05 10:13:53 +11:00
Andrew Tridgell 43fb6bfdd1 HAL_ChibiOS: split out f103-GPS from base f103-periph
this makes it easier to create more peripheral variants
2020-02-05 10:13:53 +11:00
Michael du Breuil 9ba3bfbab5 AP_Scripting: Add an example message interval script 2020-02-05 10:13:53 +11:00
Michael du Breuil 4eaf4b72ad AP_Scripting: Add a one arg variant of uint32_t, and expose table unpack 2020-02-05 10:13:53 +11:00
Bill Geyer 362abc143a AP_Motors: make init_targets_on_arming global 2020-02-05 10:13:53 +11:00
bnsgeyer 47b1a20238 AC_AttitudeControl: incorporate SysID into tradheli 2020-02-05 10:13:53 +11:00
Leonard Hall e9ff670df5 AC_AttitudeControl: Support System ID tests 2020-02-05 10:13:53 +11:00
Andrew Tridgell a610279eb0 HAL_ChibiOS: reduce max compasses to 1 on AP_Periph 2020-02-05 10:13:53 +11:00
Michael du Breuil f4a1410434 AP_Motors: Fix safe disarm 2020-02-05 10:13:53 +11:00
Leonard Hall 0719626d2b AP_Motors: Use safety timer to enable pwm before spool up 2020-02-05 10:13:53 +11:00
Michael du Breuil 9b2fcdfb82 AP_Scripting: Raise default heap size 2020-02-05 10:13:53 +11:00
Michael du Breuil 4fc5eccb8f AP_Scripting: Stop running scripts if the enable flag ever goes false 2020-02-05 10:13:53 +11:00
Peter Barker 3d59d2d6c8 AP_Vehicle: add singleton 2020-02-05 10:13:53 +11:00
Leonard Hall 92402da5ef Copter: add voltage compensation to _throttle_thrust_max 2020-02-05 10:13:53 +11:00
Andrew Tridgell e3cbb3a6b4 AP_GPS: fixed UAVCAN GPS status when disconnected
this fixes the status reported for a UAVCAN GPS when the cable is
unplugged. It should be "NO GPS", but was instead reporting "NO
FIX". The user had no way to distinguish between not finding a CAN GPS
at all and it not getting satellites

thanks to CUAV for reporting
2020-02-05 10:13:53 +11:00
murata 2a003bcd13 AP_RangeFinder: Add TF03-180 2020-02-05 10:13:53 +11:00
Randy Mackay 9413c63548 SRV_Channel: renamed EPM to Gripper in FUNCTION param docs 2020-02-05 10:13:53 +11:00
Andrew Tridgell f24de4e2bc AP_NavEKF3: set a min yaw accuracy from GPS of 5 degrees
GPS modules tend to be rather optimistic about their yaw accuracy. By
setting a min or 5 degrees we prevent the user constantly getting
warnings about yaw innovations
2020-02-05 10:13:53 +11:00
Andrew Tridgell 0b435559bd AP_GPS: improved checking for valid yaw for moving baseline
and fixed check for carrSolnFixed
2020-02-05 10:13:53 +11:00
Michael du Breuil a0475874a7 AP_GPS: UBLOX: Parse RELPOSNED messages
This does not yet:
  - validate the receiver configuration
  - manage timing out stale GPS heading info
  - relPosNormalized usage isn't clear, which may defeat the STRICT_LENGTH_CHECK
2020-02-05 10:13:53 +11:00
Michael du Breuil 624ed28ef8 AP_Logger: Log GPS yaw accuracy 2020-02-05 10:13:53 +11:00
Michael du Breuil 7b9d3594fb AP_Scripting: Fix generation of uint32_t arguments
This also fixes the message interval description not generating
correctly, it must have been manually edited before
2020-02-05 10:13:53 +11:00