Peter Barker
1770199c41
AP_Logger: add documentation for MAV and PARM
5 years ago
Peter Barker
6f685b8ac5
AP_HAL_SITL: send statustext at regular intervals after watchdog reset
5 years ago
Peter Barker
ec460b4244
AP_Vehicle: send statustext at regular intervals after watchdog reset
5 years ago
Peter Barker
73e43d8da5
AP_HAL: send statustext at regular intervals after watchdog reset
5 years ago
Peter Barker
9ba2aecbb8
AP_HAL_ChibiOS: send statustext at regular intervals after watchdog reset
5 years ago
yaapu
fed8ecc3b0
AP_Frsky_Telem: fix for protocol=4 GAlt=0 and GSPd=0
...
This fixes protocol 4 GPS altitude and speed error, both were reported as constant 0
for cal_gps_position() was never called
5 years ago
Peter Barker
a3e2e156e7
AP_HAL_Linux: do not create ConsoleDevices for Replay or examples
...
Uusally problems evidence themsleves with stdin not working correctly -
for example, "git add -p" skipping through all queries as if the
user was just pressing enter.
5 years ago
Andrew Tridgell
21e93dae34
GCS_MAVLink: send only old value for readonly param set
...
this prevents a condition where the GCS can display the wrong value if
the 2nd PARAM_VALUE is lost
Note that groundstations can tell the set failed due to readonly in
the following ways:
1) look for the statustext: Param write denied (PARAMNAME)
2) see that the value came back with the old value, with index of
65535
3) can repeat the send, looking for (1) and (2)
Michael has proposed we add a PARAM_VALUE mavlink2 flags
extension. That would be nice, but we should still make this change to
fix the issue with mavlink 1.0
5 years ago
Peter Barker
55d37e5d0e
GCS_MAVLink: correct slowing down of waypoint re-requests
...
These re-requests shouldn't be slowed down by a factor of 20.
This was a left-over from when we did these in terms of 20ms intervals
(50Hz loop rate)
5 years ago
Peter Barker
ca7fcc093c
GCS_MAVLink: correct return type on get_stream_slowdown_ms
...
Only used in one place. On slow links may have caused us to re-request
a waypoint too often. "Too often" is still >1s intervals.
5 years ago
Peter Barker
0b756547be
GCS_MAVLink: add stream_slowdown to MAV message
5 years ago
Peter Barker
be6ed0be9f
AP_Logger: add stream_slowdown to MAV message
5 years ago
Peter Barker
46a014b399
AP_Notify: remove recursive call to play in next_action
...
Infinite recursion is bad.
See https://github.com/ArduPilot/ardupilot/issues/13868
5 years ago
Peter Barker
7028f1adba
GCS_MAVLink: GCS_FTP: remove redundant more_pending variable
...
This is taken care of by the "break" statements
5 years ago
Peter Barker
a09ac895e9
GCS_MAVLink: remove dead assignment
...
This value is never used
5 years ago
Peter Barker
2b08af69bc
AP_GPS: fix dereference-of-nullptr warning from scan-build
...
This is kind-of a false positive as this in practise could never be
nullptr.
5 years ago
Michael du Breuil
18baf18041
GCS_MAVLink: Remove redundant assignment to the command
...
This is done internally by the conversion to mission_item_int_t
5 years ago
Peter Barker
609b66a053
AP_NavEKF3: rename struct log_NKF2a to log_XKF2
5 years ago
Peter Barker
8a28fa2244
AP_Logger: rename struct log_NKF2a to log_XKF2
5 years ago
Gone4Dirt
c97cc71382
AP_Camera: Correct trigger behaviour when cmd is switched off then on again
5 years ago
Gone4Dirt
d813ee27de
AP_Mission: Added immediate trigger for DO_SET_CAM_TRIGG_DIST
5 years ago
Randy Mackay
cca361a942
AP_VisualOdom: minor format and comment fixes
5 years ago
Randy Mackay
ecf5abc1f2
GCS_MAVLink: minor format fix
5 years ago
Randy Mackay
7a48a3f354
AP_Math: minor comment fix
5 years ago
Henry Wurzburg
a637073dad
AP_HAL_Chibios: add tenth PWM output to MatekF405-Wing
5 years ago
Peter Barker
aeb45bf146
AP_Logger: fix extremely unlikely nullptr dereference in SITL sanity checks
5 years ago
Michael du Breuil
75b133926f
AP_Scripting: Cleanups to remove false posive warnings
5 years ago
Michael du Breuil
d50e9865bd
AP_Scripting: Delete the lua object if we failed to allocate the required memory
5 years ago
Michael du Breuil
6753e99604
AP_Scripting: Add a return around luaL_error
...
This is the normal method of calling luaL_error which longjmp's away,
and it helps the static analysis tools realize that anything afterwards
will not be reached
5 years ago
Andrew Tridgell
e7fdf8fad1
GCS_MAVLink: reduced delay between ftp packets
5 years ago
Andrew Tridgell
5c9ae33151
GCS_MAVLink: support variable sized packets in burst read
...
this allows packet size to be tailored to the transport
5 years ago
Andrew Tridgell
8a84dbc19e
GCS_MAVLink: slow down telemetry during ftp
5 years ago
Andrew Tridgell
5047eb88e2
AP_Scripting: use @ROMFS
5 years ago
Andrew Tridgell
10c709a5a1
AP_Filesystem: use @ROMFS
5 years ago
Andrew Tridgell
a8f7212d79
AP_Filesystem: fixed open for write in ROMFS
5 years ago
Andrew Tridgell
e0957c2bcc
HAL_ChibiOS: include hwdef.dat in ROMFS
...
this allows download via ftp
5 years ago
Andrew Tridgell
c1d4a5bd35
GCS_MAVLINK: prevent closedir() with nullptr
5 years ago
Andrew Tridgell
8d1bf46dab
AP_Param: use smaller param area for all 1M flash boards
5 years ago
Andrew Tridgell
ebec738b88
AP_Scripting: enable lua scripts in ROMFS
5 years ago
Andrew Tridgell
ea57b7b3cd
HAL_ChibiOS: embed ROMFS files from hwdef directory
...
this allows for a scripts/ directory under hwdef board directory to
embed lua scripts
5 years ago
Andrew Tridgell
28082774b6
GCS_MAVLink: use new DirHandle for directory listings
5 years ago
Andrew Tridgell
a91c587ef3
AP_Scripting: use new DirHandle for directory listings
5 years ago
Andrew Tridgell
b5cc1f236a
AP_Logger: use new DirHandle for directory listings
5 years ago
Andrew Tridgell
6583f7c13e
AP_Filesystem: added VFS system for multiple backends
5 years ago
Andrew Tridgell
98542d0c0b
AP_ROMFS: added directory listing interface
5 years ago
Andrew Tridgell
6360c67858
AP_OSD: avoid build when OSD disabled
5 years ago
Andrew Tridgell
822460ce7d
HAL_ChibiOS: fixed strdup() on ChibiOS
5 years ago
Peter Barker
051a7dc298
AP_NavEKF: add onboard LogMessage documentation
5 years ago
Peter Barker
7f0e722a33
AP_Logger: add onboard LogMessage documentation
5 years ago
Andrew Tridgell
6d42e9502b
AP_Compass: fixed unreg compass check for AP_Periph
...
this fixes detection of compasses on peripherals where
COMPASS_MAX_UNREG_DEV is 0
5 years ago