Pierre Kancir
95ee01082f
AP_HAL_SITL: update search for dumpstack.sh
2020-02-20 20:41:26 +11:00
Andy Piper
387b5e7002
AP_Camera: bug fixes to support 5-key remote RunCams
...
allow the boot-time recording state to be configured
only process events on state transitions. Simplifies logic and debugging.
support regular Split 2s
allow menu enter/exit in 5-key mode
match betaflight with 5-Key OSD which requires an "enter" key
2020-02-20 19:58:43 +11:00
Andrew Tridgell
20ea1a3dc7
GCS_MAVLink: don't send statustext from other than main thread
...
This fixes high stack usage in the RCIN thread when it notifies the
GCS of a new RCIN protocol. The problem is severe when signing is
enabled, as signing adds over 500 bytes to stack cost of sending a
mavlink msg
fixes issue #13615
2020-02-20 10:39:29 +11:00
Michael du Breuil
d7a59bc449
AP_Scripting: Reduce the sleep time with no scripts
...
Lowering the sleep time when no scripts are pending, causes starting a
REPL session to respond much faster (this cuts the latency from up to 10
seconds to 1 second before the session is ready to start).
Also lowers the default scripting debug level to hide the statustext
from users, as in the general case this is just a spammy message if it
occurs, and we should be finding better reporting bits to get this to
the user.
2020-02-19 13:24:23 -07:00
Andrew Tridgell
772438f3ed
AP_NavEKF3: fixed use of antenna position when switching GPS primary
...
when GPS primary switches we were using a position which had not been
corrected for antenna offset. This was used for calculating the reset
for sensor change.
This fixes that (trivial fix) and also fixes a similar issue on
position reset
2020-02-19 18:12:54 +11:00
Andrew Tridgell
9030590a88
AP_NavEKF2: fixed use of antenna position when switching GPS primary
...
when GPS primary switches we were using a position which had not been
corrected for antenna offset. This was used for calculating the reset
for sensor change.
This fixes that (trivial fix) and also fixes a similar issue on
position reset
2020-02-19 18:12:54 +11:00
Andrew Tridgell
b49a76bb20
AP_Filesystem: fixed EOF on file read
...
should return number of bytes read. This fixes an issue with MAVProxy
ftp client
2020-02-19 18:11:41 +11:00
Andrew Tridgell
1cb711d35d
AP_Filesystem: make SITL take paths relative to starting directory
...
this makes SITL filesystem behave more like a real device
2020-02-19 18:11:41 +11:00
Siddharth Purohit
f00a39af52
AP_Compass: run style script on Compass.cpp
2020-02-19 13:59:53 +09:00
Siddharth Purohit
faacd03e3a
AP_Common: add method that can help to put contraint on accessor type
2020-02-19 13:59:53 +09:00
Siddharth Purohit
1d2985e967
AP_Param: add method to find key of top level group variable by pointer
2020-02-19 13:59:53 +09:00
Siddharth Purohit
8a7dcafa0f
SITL: add parameter MAG_DEVID in SITL
2020-02-19 13:59:53 +09:00
Siddharth Purohit
8d227d401a
AP_Compass: modify compass driver to support consistent ordering and hotplugging
2020-02-19 13:59:53 +09:00
Siddharth Purohit
545331024f
AP_NavEKF3: Primary compass is always at serial number 0
2020-02-19 13:59:53 +09:00
Siddharth Purohit
4cca1c307c
AP_NavEKF2: Primary compass is always at serial number 0
2020-02-19 13:59:53 +09:00
Siddharth Purohit
7da331535c
AP_Arming: add arming message for compass not detected but assigned
2020-02-19 13:59:53 +09:00
Siddharth Purohit
defc1b5fcb
ArduCopter: add arming message for compass not detected but assigned
2020-02-19 13:59:53 +09:00
Siddharth Purohit
653fad44d4
AP_Arming: Primary Compass is always at serial# 0
2020-02-19 13:59:53 +09:00
Peter Barker
baf375e7a0
AP_WheelEncoder: add param docs for new PID filter parameters
2020-02-19 15:09:16 +11:00
Peter Barker
e85a4dcd7d
AP_Soaring: remove empty Units: parameter doc entries
...
These break parameter generation
2020-02-19 15:09:16 +11:00
Peter Barker
6d7ee65a5f
AP_AdvancedFailsafe: correct WP_GPS_LOSS param documentation block
2020-02-19 15:09:16 +11:00
Peter Barker
370e378bf6
AP_ICEngine: correct IDLE_DB parameter documentation
2020-02-19 15:09:16 +11:00
Rishabh
c65d1ff8d8
HAL_SITL: support new motor orders
2020-02-19 11:28:25 +09:00
Rishabh
08f27f7668
SITL: Added cwx motor setup for hexa, octa and octaquad
2020-02-19 11:28:25 +09:00
Rishabh
aec65ed6ff
AP_Motors: Added cwx motor setup for hexa, octa and octaquad
2020-02-19 11:28:25 +09:00
Peter Barker
1190b9ff19
AP_Proximity: TeraRangerTower uses intermediate serial class
2020-02-19 11:12:37 +09:00
Peter Barker
107c424a5c
AP_Proximity: LightWareSF40C_v09 uses intermediate serial class
2020-02-19 11:12:37 +09:00
Peter Barker
97320e8938
AP_Proximity: TeraRangerTowerEvo uses intermediate serial class
2020-02-19 11:12:37 +09:00
Peter Barker
0d4e72622e
AP_Proximity: RPLidarA2 uses intermediate serial class
2020-02-19 11:12:37 +09:00
Peter Barker
788e466c90
AP_Proximity: LightWareSF40C used intermediate serial class
2020-02-19 11:12:37 +09:00
Peter Barker
fcdb833f46
AP_Proximity: add intermediate AP_Proximity_Backend_Serial class
2020-02-19 11:12:37 +09:00
Michael du Breuil
1f8c030eba
GCS_MAVLink: Allow scripting to start/stop the REPL
2020-02-18 17:23:22 -07:00
Michael du Breuil
cf06beb1e6
AP_Scripting: Add support for REPL over MAVLink
2020-02-18 17:23:22 -07:00
Michael du Breuil
296c014d14
GCS_MAVLink: Fix excess trimming of autopilot version
2020-02-19 09:10:02 +11:00
Peter Hall
7bef426531
AP_Logger: EKF4 change flags state from uint16_t to uint32_t
2020-02-19 06:45:07 +11:00
Peter Hall
47e3fda8e9
AP_NavEKF3: add initalized flag and change to uint32_t
2020-02-19 06:45:07 +11:00
Peter Hall
e0eeb4f863
AP_NavEKF2: add initalized flag and change to uint32_t
2020-02-19 06:45:07 +11:00
Peter Hall
9ec5355dfc
AP_NavEKF: add initalized flag and change to uint32_t
2020-02-19 06:45:07 +11:00
Peter Barker
d24d1c587a
AP_Scripting: add documentation for DEBUG_LVL parameter
2020-02-18 20:25:58 +09:00
Gone4Dirt
44718cd00f
AP_Mission: Check if failsafes should interupt landing approach
2020-02-18 21:03:29 +11:00
Andrew Tridgell
32ecd904bd
GCS_MAVLink: use MAV_SYS_STATUS_PREARM_CHECK
...
this allows GCS to continually display prearm check status
2020-02-18 15:16:02 +11:00
Henry Wurzburg
bf1b48b940
AP_Notify: add mah consumed to BAT line in OLED displays
2020-02-18 15:15:52 +11:00
Peter Barker
7f64c6159d
AP_Landing_Deepstall: correct missing parameter docs
2020-02-18 13:28:03 +11:00
mhefny
b935aa3355
SITL:adding slow-motion option argv -d for Quad & Tricopter controllers
2020-02-18 11:31:50 +11:00
mhefny
9cb3662db6
SITL:Webots-better time sync
2020-02-18 11:31:50 +11:00
murata
147a940451
SITL: Indicates that the message is SIM only
2020-02-18 11:23:52 +11:00
Andrew Tridgell
b5e091bc84
AP_Airspeed: hide unused parameters for AP_Periph
2020-02-18 11:15:05 +11:00
Matt Lawrence
05b94de9a0
AP_Camera: Make trigger type enum class
2020-02-18 11:13:27 +11:00
Matt Lawrence
27e825b058
RC_Channel: Add GoPro mode toggle Aux switch
2020-02-18 11:13:27 +11:00
Matt Lawrence
c84dcd9bf8
GCS_Mavlink: Add routing for GoPro heartbeat
2020-02-18 11:13:27 +11:00