Mark Whitehorn
f405454aba
Copter: add nullptr checks for get_frame_string
...
fix rebase errors
4 years ago
Mark Whitehorn
cb687a6fff
Copter: move get_frame_string to Motors class
4 years ago
Mark Whitehorn
6b2184a53a
AP_Motors: add frame_class and frame_type strings
...
move frame_class/type string assignments down into subclasses
4 years ago
Andrew Tridgell
814393c9c2
HAL_ChibiOS: switch from DPS280 to DPS310 in boards that use the DPS310
4 years ago
Andrew Tridgell
dad55b496b
AP_Baro: support DPS310 temperature fix
...
separate DPS310 from DSP280
4 years ago
Randy Mackay
1814524fcb
AP_NavEKF3: fix using_external_yaw when using external nav
...
the first if would always return true meaning the method would always return false when using external nav
thanks to David Sastre for finding this!
4 years ago
Andrew Tridgell
86fda93781
HAL_ChibiOS: added heater correction of AK09916
...
this fixes a problem with the internal compass being impacted by the
magnetic field from the heater
4 years ago
Andrew Tridgell
a90b54ba6e
AP_Compass: allow for AK09916 correction by heater duty cycle
4 years ago
Andrew Tridgell
1097d04e5d
AP_BoardConfig: added get_heater_duty_cycle()
4 years ago
Andrew Tridgell
5920c52285
Scripting: simple relay example
...
toggle at 50Hz
4 years ago
Andrew Tridgell
55de28c0fd
CI: added upload of failed builds
4 years ago
Samuel Tabor
db8aaeb63a
Plane: During takeoff keep limit at LEVEL_ROLL_LIMIT until rotate speed is reached.
4 years ago
Andrew Tridgell
2ab8ad0ef0
HAL_ChibiOS: added Durandal pinout details
4 years ago
Peter Barker
742d5a9fa0
autotest: add body_frame_velocity
4 years ago
Arsh
3609a1b5fd
Copter:PreArm Battery low voltage failsafe message repeated two times fix
4 years ago
Peter Barker
164da261f1
Tools: initvagrant: install missing cmake so we can build jsbsim
4 years ago
Andrew Tridgell
a70f9d54c0
Copter: update release notes for 4.0.7rc1
4 years ago
Randy Mackay
d1dda86f60
AC_AutoTune: report step in lower case
...
also shortens displayed accuracy to 0.1deg and removes one pair of brackets
we should use lower case for reporting because it is easier to read and it takes up less space when displayed on MP's HUD (and probably other GCSs too)
4 years ago
Randy Mackay
25beab4c82
AC_AutoTune: add failure to level warning
4 years ago
Randy Mackay
4032ac9884
AC_AutoTune: level criteria is 5deg for plane and 2.5 for all others
4 years ago
Andrew Tridgell
2e9b2fbc2b
Plane: update release notes for 4.0.9beta1
4 years ago
Michael du Breuil
623951a262
AP_HAL_ChibiOS: Add some extra GPS SBF config
4 years ago
Michael du Breuil
5f3b1b92a4
AP_GPS: SBF don't send configuration until we've recieved a prompt
...
This fixes a configuration problem with SBF unit's where sometimes we
fail to detect the GPS unit continously, until it's been manually
configured. This was tested by doing a hard reset to the GPS unit.
This also now accepts a set of defines from the hwdef, or build
environment, which allows us to specify extra config options.
4 years ago
Michael du Breuil
d9ffd04a96
AP_GPS: Broadcast the detect message on AP_Periph over CAN
4 years ago
Andrew Tridgell
b113fe15ab
Tools: added MatekH743-periph to autobuild
4 years ago
basti
a3c47e0a23
AP_OSD: add SD-card handling to font README
4 years ago
Randy Mackay
f20fc28a85
Tools: param files to ease SITL setup of GPS-for-yaw
4 years ago
Peter Barker
3da156e358
AP_InertialSensor: prevent nullptr dereference in SITL
4 years ago
Andrew Tridgell
6144136b61
Filter: fixed reset of filters to first value
...
the delay elements were set incorrectly
4 years ago
Tom Pittenger
d1e6b0befb
AP_HAL_ChibiOS: Add ADC1 support to STM32F3
...
This is useful for AP_Periph battery monitoring
4 years ago
murata
09f04e8a5a
AP_RangeFinder: Devices are enabled and disabled by type
...
AP_RangeFinder: Devices are enabled and disabled by type
AP_RangeFinder: Delete some description of I2C function address.
4 years ago
Andrew Tridgell
b8e82a56f3
HAL_ChibiOS: don't start rout ticks till after full system init
...
this prevents an occasional boot hang on systems with DShot
enabled. We shouldn't be starting DShot output till after setup() is
complete as the outputs are still being configured
4 years ago
Randy Mackay
a09bdcdda1
Tools: default param file to ease using copter SITL with vicon
4 years ago
Peter Barker
f847758272
Filter: add gtest suite
4 years ago
Peter Barker
514dfa4b71
SITL: SF45B: increase resolution to 1 degree
...
The mode filter tends to squish a lot of data if we don't get this
correct.
4 years ago
Tatsuya Yamaguchi
83417c1df7
AP_Notify: modify NTF_BUZZ_VOLUME description
4 years ago
Peter Barker
ee2f615352
AP_Proximity: RPLidarA2: correct face distances are assigned to
4 years ago
Peter Barker
567e9733b6
autotest: augment bisect-helper.py to help with flapping tests
...
- option to allow for a string which must be present in the outout
- option for strings which must not be present in the output
- repeat option so test must pass many times
- elaborate diagnostic output
- option to run under Valgrind (to provoke races)
The output from each test run is poked into a directory in /tmp
The number of runs a test took to fail is poked into a different file in /tmp, helping to tune the --autotest-test-passes parameter
4 years ago
Peter Barker
c2e310d75f
autotest: add test for OBSTACLE_DISTANCE_3D message
4 years ago
Peter Barker
393ec5d6f7
autotest: add test for MAVProxy proximity sensor
4 years ago
WillyZehnder
acfe815305
AP_Scripting: make get_control_mode_reason available to lua
4 years ago
Peter Barker
84953c2e39
AP_BattMonitor: fix constexpr-and-MIN don't get along bug
...
lib/libArduCopter_libs.a(AP_BattMonitor_SMBus_NeoDesign.cpp.0.o): In function `AP_BattMonitor_SMBus_NeoDesign::timer()':
/home/pbarker/rc/ardupilot/build/sitl/../../libraries/AP_BattMonitor/AP_BattMonitor_SMBus_NeoDesign.cpp:27: undefined reference to `AP_BattMonitor_SMBus_NeoDesign::max_cell_count'
collect2: error: ld returned 1 exit status
4 years ago
Patrick José Pereira
ba293084e3
SITL: Remove pointer check before delete
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Patrick José Pereira
61bcbfea14
AP_TempCalibration: Remove pointer check before delete
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Patrick José Pereira
12cd138030
AP_HAL: Remove pointer check before delete
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Patrick José Pereira
6bdc1704f4
AP_GPS: Remove pointer check before delete
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Patrick José Pereira
e9a299d96e
AP_CANManager: Remove pointer check before delete
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
danlaks
d244f22522
Tools: AP_Bootloader: Add AP_HW_SWBOOMBOARD_PERIPH identifier
...
SpektreWorks Boom Board AP_Periph device
4 years ago
Andy Piper
baf8c9d70c
ChibiOS: update to latest ChibiOS to include osalDbgAssert redefine
4 years ago
Andrew Tridgell
c580151d75
ChibiOS: fixed SRAM3 size for cache disable
4 years ago