Andrew Tridgell
fc0b2ef920
HAL_ChibiOS: added half-duplex protection for non-inverted
...
to prevent output bytes being seen as input bytes we disable half
duplex during transmit. This was previously only done for non-inverted
UARTs. This patch enables it whether we are inverted or not. This
greatly reduces the number of bad input bytes.
5 years ago
Andrew Tridgell
6b35497129
AP_RCProtocol: moved fport variables into class
...
reduced pollution of global namespace
5 years ago
Andrew Tridgell
a1069d85cb
AP_RCProtocol: fixed bug in FPort parser
...
if we got invalid frame->type values we would overrun the buffer and
cause memory corruption. This was the cause of the bug Polarijet found
5 years ago
Peter Hall
3f7ab6289d
AP_Scripting: move scripting_test.lua from examples to tests
5 years ago
Peter Hall
524d59ad78
AP_Scripting: add math and strings test scripts
5 years ago
Randy Mackay
05b563cf54
AP_Scripting: fixup comment in set-target-location example script
5 years ago
Randy Mackay
0846746932
AP_Scripting: add copter-fly-vertical-circle example script
5 years ago
Randy Mackay
fa0fb9ef34
AP_Scripting: add set-target-velocity example script
5 years ago
Randy Mackay
d7fb84c765
AP_Scripting: make bindings
5 years ago
Randy Mackay
60b3c6ca94
AP_Scripting: add bindings for start_takeoff and set_target_velocity_NED
5 years ago
Randy Mackay
849adcd678
AP_Vehicle: add start_takeoff and set_target_velocity_NED for use in scripting
5 years ago
Peter Hall
d37efe1b38
AP_Scripting: regenerate bindings
5 years ago
Peter Hall
67bfedd845
AP_Scripting: add button example script
5 years ago
Peter Hall
f5052b68a8
AP_Scripting: add binding for AP_Button get_button_state
5 years ago
Peter Hall
ecd7e12dd3
AP_Button: add crude debouncing and get_button_state function
5 years ago
Peter Barker
a59c3670c8
AP_HAL_ChibiOS: stash lr_thd in watchdog hardfault handler
5 years ago
Peter Barker
97b07d9c84
GCS_MAVLink: add option to get the autopilot to hard-fault itself
5 years ago
Andrew Tridgell
f00314a5d1
AP_GPS: removed dead blending code
5 years ago
Andrew Tridgell
9fa034d1de
AP_GPS: fixed antenna offset for blending
...
we were accessing beyond the end of the antenna_offset array
5 years ago
Peter Barker
0665c379de
AP_Compass: correct use of incorrect backend-count macro
5 years ago
Patrick José Pereira
1635054c4f
AP_Math: Add missing constexpr
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
5 years ago
Peter Barker
c9f2b9ff87
AR_AttitudeControl: correct spelling error in param docs
5 years ago
Patrick José Pereira
e65cc35fb0
AP_HAL_Linux: Use template to generate raspberry pins
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
5 years ago
Andrew Tridgell
5a4b648cf5
HAL_ChibiOS: disable flash fallback for boards with FRAM
...
this saves on flash and prevents confusing results when fram fails
5 years ago
Nick Exton
741abaf760
AP_Param: Add static assert on NVM struct sizes
5 years ago
Nick Exton
4cd39a4619
HAL_ChibiOS: improved selection of storage backend
5 years ago
Nick Exton
f9ec9c037a
AP_RAMTRON: improved driver robustness
...
- added retries on all operations
- detect errors with a CRC
- fixed detection of fujitsu devices
5 years ago
Andy Piper
104dd7cd75
AP_HAL_ChibiOS: remove board subtype for OmnibusNanoV6
5 years ago
Andrew Tridgell
add7615ed9
AP_HAL: removed unnecessary subtypes
5 years ago
Andrew Tridgell
986ad0dc27
HAL_ChibiOS: removed unnecessary subtype defines
5 years ago
Andrew Tridgell
c3f2117590
HAL_ChibiOS: fixed R9Pilot board ID
5 years ago
Peter Barker
4c19eb4bab
AP_NavEKF3: use compass reference rather than repeatedly asking AHRS for it
5 years ago
Peter Barker
903d81c263
AP_NavEKF2: use compass reference rather than repeatedly asking AHRS for it
5 years ago
Peter Barker
8679e95fca
AP_Logger: add comments about message_writer being leaked
...
These are really "shouldn't happen", and only happen at startup, so
impact of the memory leak is quite limited.
Fixing this requires putting in a virtual destructor on the
MessageWriter class - this and the calls add up to several hundred bytes
of flash.
5 years ago
Andrew Tridgell
87b97f8bee
AP_Scripting: added a VTOL failsafe example script
...
if fwd motor is lost try to make best effort to get home
5 years ago
Andrew Tridgell
e815b97c66
AP_Scripting: regenerate bindings
5 years ago
Andrew Tridgell
564740f06b
AP_Scripting: added get_vibration and get_target_location bindings
5 years ago
Andrew Tridgell
393a8785f3
AP_AHRS: implement get_vibration method on AHRS
5 years ago
Andrew Tridgell
d192544107
AP_Vehicle: added get_target_location() method
...
for scripting
5 years ago
Andrew Tridgell
be7e142888
AP_Scripting: regenerate bindings for RPM
5 years ago
Andrew Tridgell
609b535dda
AP_Scripting: added RPM interface
5 years ago
Andrew Tridgell
39fc324854
GCS_MAVLink: convert to new get_rpm() API
5 years ago
Andrew Tridgell
4f54d9b75f
AP_WindVane: convert to new get_rpm() API
5 years ago
Andrew Tridgell
ed37ebede8
AP_Logger: convert to new get_rpm() API
5 years ago
Andrew Tridgell
a93aa27cc1
AP_ICEngine: convert to new get_rpm() API
5 years ago
Andrew Tridgell
0f83da7e16
AP_Hott_Telem: convert to new get_rpm() API
5 years ago
Andrew Tridgell
429c21b887
AC_Autorotation: convert to new get_rpm() API
5 years ago
Andrew Tridgell
22ce90af34
AP_RPM: changed get_rpm() API to be scripting compatible
...
return a bool and use a reference for the value
5 years ago
Peter Barker
934d05f4ff
AP_Compass: correct incorrect and misleading comment
5 years ago
Peter Barker
621d029207
AP_Vehicle: add warning about get_scheduler_task implementations
...
We don't initialise these values we pass in. Considering how few times
we need to get this right, requiring it of the implementation would seem
to make sense and save a few bytes.
5 years ago