Commit Graph

36058 Commits

Author SHA1 Message Date
Peter Barker
fc358092ed AP_Follow: remove header reliance on GCS and AHRS 2019-02-15 08:15:45 +11:00
Peter Barker
caec67762e AP_Camera: move reliance on GCS into .cpp file 2019-02-15 08:15:45 +11:00
Peter Barker
c235b1ccc2 RC_Channel: correct comment 2019-02-15 08:15:45 +11:00
Peter Barker
7259f3fa2f AP_Common: rearrange headers for consistency
Move attribute definitions all into AP_Common, rather than being split between two files

Remove unused SITL_printf macros

Stop AP_Common including board information

Include AP_Common.h in AP_HAL::Sempahore for WARN_IF_UNUSED; this was the cause of a circular import problem fixed by other commits in this patch.
2019-02-15 08:15:45 +11:00
Peter Barker
e4e453402c AP_HAL: rearrange headers for consistency
Move attribute definitions all into AP_Common, rather than being split between two files

Remove unused SITL_printf macros

Stop AP_Common including board information

Include AP_Common.h in AP_HAL::Sempahore for WARN_IF_UNUSED; this was the cause of a circular import problem fixed by other commits in this patch.
2019-02-15 08:15:45 +11:00
Peter Barker
effeebfeb8 Tools: autotest: skip failing RC test until code is fixed 2019-02-14 11:49:59 +11:00
Peter Barker
e3368e193d Tools: autotest: add test for throttle failsafe 2019-02-14 11:49:59 +11:00
Peter Barker
17589ae3b9 AP_HAL_SITL: allow testing of throttle-goes-to-low-fixed-value rc failsafes 2019-02-14 11:49:59 +11:00
Peter Barker
44bc035f7b SITL: allow testing of throttle-goes-to-low-fixed-value rc failsafes 2019-02-14 11:49:59 +11:00
Peter Barker
5a19f447a7 Plane: devo telemetry no long requires singleton classes to be passed in 2019-02-13 19:24:07 +00:00
Peter Barker
277f3799a5 Rover: devo telemetry no long requires singleton classes to be passed in 2019-02-13 19:24:07 +00:00
Peter Barker
8de7f4a520 Copter: devo telemetry no long requires singleton classes to be passed in 2019-02-13 19:24:07 +00:00
Peter Barker
32ac4ccfce AP_Devo_Telem: correct some wayward comments 2019-02-13 19:24:07 +00:00
Peter Barker
e863c5e533 AP_Devo_Telem: use AP_SerialManager singleton 2019-02-13 19:24:07 +00:00
Peter Barker
97a6ead690 AP_Devo_Telem: use AHRS singleton 2019-02-13 19:24:07 +00:00
Randy Mackay
2ba6aa7e8a Rover: guided heading-and-speed control fix
This removes the lane-based-speed-control from guided mode's heading-and-speed controller which does not use the navigation controller
2019-02-13 20:11:27 +09:00
Mark Whitehorn
fd385c0f91 Tools: autotest: add quadplane output_motor_mask check
add comparator arg to wait_servo_channel_value and cleanup
2019-02-13 15:28:47 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
8b54b6a5cf AP_Common: Move LOCATION_ALT_MAX_M declaration from AP_Common.h to Location.h
This reduces the scope of this constant, and moves it to the file that actually depends on it
2019-02-13 11:53:18 +09:00
Peter Barker
e23809fd59 Tools: ardupilotwaf: include AP_Parachute in all builds 2019-02-13 09:25:27 +09:00
Peter Barker
4f249db8bc Plane: move responsibility for parachute deployment up 2019-02-13 09:25:27 +09:00
Peter Barker
228d7b676d Copter: move responsibility for parachute deployment up 2019-02-13 09:25:27 +09:00
Peter Barker
9cd881b56c AP_Mission: move responsibility for parachute deployment up 2019-02-13 09:25:27 +09:00
Peter Barker
005ec5cd4d AP_Parachute: move responsibility for parachute deployment up 2019-02-13 09:25:27 +09:00
Peter Barker
a1aefaff27 Tools: autotest: add parachute tests
Tools: autotest: add test for triggering parachute via mavlink

Tools: autotest: add Copter mission test for parachute release

Tools: autotest: add Plane test for parachute deployment in auto
2019-02-13 09:25:27 +09:00
Peter Barker
ae03ccf2ba SITL: enable updating of external payload on SIM_Plane 2019-02-13 09:25:27 +09:00
Peter Barker
5828915a02 Tools: scripts: remove build_all_vrbrain.sh 2019-02-13 10:11:29 +11:00
Dr Nic Williams
e12581eeb9 forward X11 traffic by default in Vagrant 2019-02-13 10:09:06 +11:00
Peter Barker
dc0ad11f7a Sub: use altitude frame mapping function
Remove checking for coordinate frames

This is very much NFC.  This change uncovers previous dead code in the
case that we are not ignoring yaw.
2019-02-13 10:06:49 +11:00
Peter Barker
6d914f8af3 Tools: autotest: add test for moving sub in guided mode 2019-02-13 10:06:49 +11:00
Peter Barker
6fcdfbbe32 Rover: attempt to set home position regardless of GPS lock
The AHRS may be supplying as a home position through mechanisms other
than a GPS lock.  Don't assume in the caller to update_home().

Rover: fold update_home_from_EKF back into sole caller

This method is confusingly similarly named to update_home - and they do
pretty much the opposite thing.

Rover: remove incorrect and misleading comments on set_home_to_current_location

Rover: rewrite update_home to not set home if no origin set

Also checks that home is set before using values from it

Rover: zero stack variables when updating home

If these are a problem we have significant problems through the code
2019-02-13 09:42:26 +11:00
Peter Barker
44b7763caf Sub: move handling of command-int MAV_CMD_DO_SET_HOME up 2019-02-13 09:42:26 +11:00
Peter Barker
bf5eae3f72 Tracker: move handling of command-int MAV_CMD_DO_SET_HOME up 2019-02-13 09:42:26 +11:00
Peter Barker
4cdbcab723 Rover: move handling of command-int MAV_CMD_DO_SET_HOME up 2019-02-13 09:42:26 +11:00
Peter Barker
30671a6743 Plane: move handling of command-int MAV_CMD_DO_SET_HOME up
Plane: eliminate set_home shim around AP_AHRS::set_home
2019-02-13 09:42:26 +11:00
Peter Barker
270fa2dfb9 Copter: move handling of command-int MAV_CMD_DO_SET_HOME up 2019-02-13 09:42:26 +11:00
Peter Barker
d8847a6192 GCS_MAVLink: move handling of command-int MAV_CMD_DO_SET_HOME up 2019-02-13 09:42:26 +11:00
Peter Barker
957f637043 Tools: autotest: add autotest for setting home position with command-int 2019-02-13 09:42:26 +11:00
Willian Galvani
fd328f1e13 README: Add Autotest badge 2019-02-13 09:28:19 +11:00
Willian Galvani
963905f812 Autotest: Add badge to index.html 2019-02-13 09:28:19 +11:00
Peter Barker
cfb3dfc4e5 Plane: AP_Frsky_Telem uses singletons 2019-02-12 17:53:23 +00:00
Peter Barker
dab23b817c Rover: AP_Frsky_Telem uses singletons 2019-02-12 17:53:23 +00:00
Peter Barker
a0189d6060 Copter: AP_Frsky_Telem uses singletons 2019-02-12 17:53:23 +00:00
Peter Barker
9023e6eb7d AP_Frsky_Telem: use rangefinder singleton 2019-02-12 17:53:23 +00:00
Peter Barker
4776183554 AP_Frsky_Telem: use battery singleton 2019-02-12 17:53:23 +00:00
Peter Barker
53111129f2 AP_Frsky_Telem: use AHRS singleton 2019-02-12 17:53:23 +00:00
Peter Barker
db4b1aa7aa AP_Frsky_Telem: use serialmanager singleton 2019-02-12 17:53:23 +00:00
Andrew Tridgell
54ffeef20e HAL_ChibiOS: fixed pixhawk4 i2c bus numbers 2019-02-12 15:20:36 +11:00
Andrew Tridgell
5ab75b5ccb HAL_ChibiOS: updated Pixhawk4 pinout 2019-02-12 15:17:27 +11:00
Peter Barker
e06d9e65b2 AP_Rally: use AP::rally() to get singleton 2019-02-12 13:08:03 +09:00
Peter Barker
cf2c0ec334 Tools: autotest: print time taken for each test 2019-02-12 13:30:28 +11:00