Commit Graph

36716 Commits

Author SHA1 Message Date
Randy Mackay
3f8adb4e7d Rover: guided-within-auto target moved to structure
also guided's limit_breached made const
also guided limit check uses is_positive
2019-03-15 14:51:35 +09:00
Randy Mackay
89f0418c0f Rover: support do-guided-limits mission command 2019-03-15 14:51:35 +09:00
Randy Mackay
721c200bcc Rover: support guided-within-auto
also adds support for sending position targets to offboard controller which is assumed to return velocity commands
2019-03-15 14:51:35 +09:00
Randy Mackay
066a443e5f GCS_MAVLink: add send_set_position_target_global_int
this supports sending the position target to an offboard navigation controller
2019-03-15 14:51:35 +09:00
Randy Mackay
1e1f14f6e9 AP_Mission: add text string for do-guided-limits 2019-03-15 14:51:35 +09:00
Randy Mackay
f4416cd3f2 AP_Mission: nav-guided-enable command stores location
this allows sending the location to an offboard navigation system
also add text string for nav-guided-enable command
2019-03-15 14:51:35 +09:00
Randy Mackay
e57ec068f0 Copter: remove duplicate guided limit-init-time-and-pos
this is called from nav_guided_start()
2019-03-15 14:51:35 +09:00
Randy Mackay
8d66c5f547 Copter: move do_payload_place handler
commands are placed in numerical order
2019-03-15 14:51:35 +09:00
Andrew Tridgell
9f1eaf4b37 AP_RCProtocol: fixed RC option check for iofirmware 2019-03-15 14:38:57 +11:00
Andrew Tridgell
ac3da71efd AP_Vehicle: added iofirmware vehicle type 2019-03-15 14:38:57 +11:00
Andrew Tridgell
db9912fd58 AP_RCProtocol: use RC_IGNORE_FAILSAFE 2019-03-15 14:38:57 +11:00
Andrew Tridgell
59082a0833 RC_Channel: added RC_OPTIONS flag for failsafe ignore
this is useful for SBUS with a receiver setup for HOLD on failsafe to
not trigger a RC failsafe
2019-03-15 14:38:57 +11:00
Peter Barker
4f136512f0 Tools: autotest: fix balancebot RTL test 2019-03-15 12:22:22 +11:00
Andrew Tridgell
0215e08f86 Tools: add option to configure_all.py to do builds 2019-03-15 11:54:57 +11:00
Andrew Tridgell
b754d56ecb HAL_ChibiOS: fixed revo-mini build 2019-03-15 11:54:57 +11:00
Andrew Tridgell
69edd5a544 HAL_ChibiOS: fixed typos in hwdef.dat files 2019-03-15 11:54:57 +11:00
Andrew Tridgell
9c3e606076 CI: added configure-all.py to travis testing
make sure all hwdef.dat files can be used
2019-03-15 11:54:57 +11:00
Andrew Tridgell
e67ccbe13d Tools: added bootloader configure to configure_all.py 2019-03-15 11:54:57 +11:00
Andrew Tridgell
cd27e3022f HAL_ChibiOS: check for prefix match on peripherals 2019-03-15 11:54:57 +11:00
Andrew Tridgell
3fd3e88d04 HAL_ChibiOS: fixed typo
thanks to Malcolm Churn for noticing
2019-03-15 08:51:52 +11:00
Andrew Tridgell
b3f48a1477 HAL_ChibiOS: added CS line for Pixhawk4Pro temp sensor 2019-03-14 16:10:40 +11:00
Andrew Tridgell
880a55c6a2 AP_InertialSensor: fixes for BMI088 on SPI
The sensor has an unusual SPI interface, with a pad byte on read, and
retries needed on write
2019-03-14 16:10:40 +11:00
IamPete1
836adb6b0b Tracker: use pitch-min and pitch-max in place of constants 2019-03-14 13:19:32 +11:00
IamPete1
a967caa924 Tracker: add parameters for yaw and pitch scan speed 2019-03-14 11:36:20 +11:00
Peter Barker
9ca2c9d692 Tools: autotest: python3 fixes
Tools: autotest: use inbuilt zip on Python3
2019-03-13 20:26:24 +11:00
Peter Barker
fa082df040 AP_HAL_SITL: add missing CLOEXECs on tcp ports 2019-03-13 18:02:48 +11:00
Peter Barker
841c222a12 Tools: autotest: add check that GPS is good before arming 2019-03-13 17:13:10 +11:00
Peter Barker
72aeb26e86 Tools: autotest: allow more time for gps-glitch-in-auto test to run 2019-03-13 16:03:30 +11:00
Peter Barker
3a6298db9b Tools: autotest: loosen maximum distance allowed on loiter-to-ne 2019-03-13 14:51:04 +11:00
Peter Barker
0aeb6c0e26 Tools: autotest: ensure initial home position is similar to sitl start pos 2019-03-13 13:20:29 +11:00
Peter Barker
2d16c37844 AP_Compass: examples: compass init never fails 2019-03-13 13:06:50 +11:00
Peter Barker
4fa04e730b AP_AHRS: examples: compass init never fails 2019-03-13 13:06:50 +11:00
Peter Barker
d489d9a585 Plane: compass init never fails 2019-03-13 13:06:50 +11:00
Peter Barker
069a2d0e35 Sub: compass init never fails 2019-03-13 13:06:50 +11:00
Peter Barker
b933f050b8 Tracker: compass init never fails 2019-03-13 13:06:50 +11:00
Peter Barker
144f4e08b8 APMrover2: compass init never fails 2019-03-13 13:06:50 +11:00
Peter Barker
6d87b9316f ArduCopter: compass init never fails 2019-03-13 13:06:50 +11:00
Peter Barker
f8be4efed4 AP_Compass: init never fails; return void rather than bool 2019-03-13 13:06:50 +11:00
Peter Barker
d53f787a14 Tools: factor init up into parent class
Tools: autotest: use speedup 8 for all suites

for reliability
2019-03-13 08:20:20 +11:00
Peter Barker
844999c458 Tools: autotest: get accuracy before doing RTL
It can take a very long time to get our parameter value, so get it while
we're NOT moving away from the RTL location!
2019-03-13 08:20:20 +11:00
Peter Barker
c48042424b Sub: use enum class for ArmingMethod and ArmingRequired 2019-03-12 19:48:14 +11:00
Peter Barker
5bd0db4117 Rover: use enum class for ArmingMethod and ArmingRequired 2019-03-12 19:48:14 +11:00
Peter Barker
ca7566fff9 Plane: use enum class for ArmingMethod and ArmingRequired 2019-03-12 19:48:14 +11:00
Peter Barker
f189860162 Copter: use enum class for ArmingMethod and ArmingRequired 2019-03-12 19:48:14 +11:00
Peter Barker
0dacf78c12 AP_Arming: use enum class for ArmingMethod and ArmingRequired 2019-03-12 19:48:14 +11:00
L Kurt Shaw
8d75e8c5bb INS: AP_InertialSensor.cpp
Fix typo in comments should be NFC
2019-03-12 15:56:55 +09:00
Peter Barker
f7ecba1a36 Tools: autotest: shove resets shove-time to zero; eliminate race condition 2019-03-12 16:09:03 +11:00
Peter Barker
65d0443c26 Tools: autotest: drain mav either side of initialising-after-reboot 2019-03-12 12:15:39 +11:00
Peter Barker
fcff818a23 Tools: autotest: increase timeout allowed for getting first nav-controller-output message 2019-03-12 12:15:39 +11:00
Peter Barker
f71f100d6a Tools: autotest: make drain_mav truly drain the mavlink connection 2019-03-12 12:15:39 +11:00