Commit Graph

12794 Commits

Author SHA1 Message Date
Andrew Tridgell 0b6c5a6505 VARTest: fixed build 2014-07-25 17:17:34 +10:00
Andrew Tridgell 2ddfaa60b9 Replay: fixed build 2014-07-25 17:15:29 +10:00
Andrew Tridgell 0f7e78e418 Airspeed: fixed example to setup pin 2014-07-25 17:15:00 +10:00
Andrew Tridgell ffd6fa1366 GCS_MAVLink: ignore alignment warnings in MAVLink headers 2014-07-25 17:14:48 +10:00
bugobliterator 6b619562b5 Tools: Remove unrequired pru0 pin setups from BB-PXF-01-00A0 overlay 2014-07-25 15:29:29 +10:00
bugobliterator fdf916025a Tools: add unified device tree overlay to load all requisites
no more loading multiple capes to enable pru, spi, pwm etc. Steps to load the cape during boot also added.
2014-07-25 15:29:27 +10:00
Andrew Tridgell c9be610dca Plane: fixed sense of altitude test for glide slope 2014-07-25 15:04:16 +10:00
Andrew Tridgell 71132058b4 Rover: need AP_Terrain.h for AP_Mission 2014-07-25 14:36:39 +10:00
Randy Mackay 71cbcacf50 Copter: fix arming tone to sound before arming
Also fixed bug in which vehicle could appear to be armed (according to
LEDs) but is not.  This could occur if pilot had raised the throttle
very high during the calibration that happens just before arming.
2014-07-25 13:09:07 +09:00
Randy Mackay 46e5fa2c0b Notify: APM2 arming buzzer to long tone
Arming tone is a solid 3 second tone so it is consistent with Pixhawk
arming tone
2014-07-25 13:09:04 +09:00
Andrew Tridgell 37b357f282 AP_Terrain: prevent valgrind error when terrain not available 2014-07-25 13:44:36 +10:00
Andrew Tridgell bb31a45596 AP_Terrain: expand parameter docs 2014-07-25 13:18:48 +10:00
Andrew Tridgell 8904cd105c Plane: fixed auto-doc prefix for TERRAIN 2014-07-25 13:12:23 +10:00
Andrew Tridgell cda78aa2c3 Copter: fixed auto-doc prefix for TERRAIN 2014-07-25 13:12:10 +10:00
Andrew Tridgell e578044661 GCS_MAVLink: added missing generated MAVLink headers 2014-07-25 13:09:31 +10:00
Andrew Tridgell 63cea04d9e Plane: improved TERRAIN_FOLLOW docs 2014-07-25 11:54:51 +10:00
Andrew Tridgell ab9785d3ad AP_Terrain: added current_height to TERRAIN_REPORT
and send TERRAIN_REPORT even when downloading TERRAIN_DATA
2014-07-25 11:40:56 +10:00
Andrew Tridgell 383070b9c0 AP_NavEKF: ensure get_position() fills in flags 2014-07-25 11:40:26 +10:00
Andrew Tridgell 6a275372dd AP_AHRS: ensure get_position() fills in flags 2014-07-25 11:40:16 +10:00
Andrew Tridgell 8a838e6b3d GCS_MAVLink: regenerate headers 2014-07-25 11:40:01 +10:00
Andrew Tridgell 4e39f97d7a GCS_MAVLink: merged with upstream 2014-07-25 11:39:48 +10:00
Andrew Tridgell 077177384d Plane: fixed guided alt without terrain bit 2014-07-25 10:31:45 +10:00
Andrew Tridgell c4047f6f11 AP_Terrain: rename find_grid() to find_grid_cache()
thanks Randy!
2014-07-25 09:52:20 +10:00
Andrew Tridgell 1fcf35333f AP_Terrain: fixed init order and init more vars
thanks to Randy for spotting this
2014-07-25 09:45:47 +10:00
Andrew Tridgell 679b32b76c AP_Terrain: make parameter variables private 2014-07-25 09:45:28 +10:00
Andrew Tridgell 9d6b745556 Plane: fixed terrain glide slope 2014-07-25 09:07:45 +10:00
Andrew Tridgell 34cbaa6f17 AP_Mission: added support for MAV_FRAME_GLOBAL_TERRAIN_ALT 2014-07-25 08:33:44 +10:00
Andrew Tridgell 88b73492c2 Plane: fixed APM2 build 2014-07-25 08:02:19 +10:00
Andrew Tridgell 8e65e5bff0 Copter: replace HAVE_AP_TERRAIN with AP_TERRAIN_AVAILABLE 2014-07-25 07:59:54 +10:00
Andrew Tridgell b158b7e5a9 Plane: replace HAVE_AP_TERRAIN with AP_TERRAIN_AVAILABLE 2014-07-25 07:59:54 +10:00
Andrew Tridgell 3faafc9644 AP_Terrain: replace HAVE_AP_TERRAIN with AP_TERRAIN_AVAILABLE 2014-07-25 07:59:48 +10:00
Andrew Tridgell ce60bf8d3f AP_Terrain: removed incorrect ASSERT 2014-07-25 07:56:33 +10:00
Andrew Tridgell 7bc6561f2a AP_Terrain: fixed comment on function 2014-07-25 07:56:22 +10:00
Andrew Tridgell b8b235c33c GCS_MAVLink: regenerate MAVLink headers 2014-07-24 21:50:20 +10:00
Andrew Tridgell 8d04deff6a Copter: added terrain status reporting 2014-07-24 21:50:20 +10:00
Andrew Tridgell 07583a0604 Plane: added terrain status reporting 2014-07-24 21:50:19 +10:00
Andrew Tridgell c32595e6ed AP_Terrain: added status() interface for reporting 2014-07-24 21:50:19 +10:00
Andrew Tridgell 49c28b747f Plane: fixed glide slope for terrain following 2014-07-24 21:50:19 +10:00
Andrew Tridgell 3e320d71ab Plane: added TERRAIN_FOLLOW parameter
when enabled RTL, CRUISE and rally points will use terrain altitude
2014-07-24 21:50:19 +10:00
Andrew Tridgell e2e41d5da7 AP_Terrain: added location_to_relative_home() function 2014-07-24 21:50:19 +10:00
Andrew Tridgell 8a48f06d18 AP_Common: added terrain_alt flag to Location
signifies that the altitude is a above terrain altitude
2014-07-24 21:50:19 +10:00
Andrew Tridgell 5e2077185b AP_Terrain: fixed cm conversion error 2014-07-24 21:50:19 +10:00
Andrew Tridgell 18974363d5 AP_Terrain: added some helper functions
this adds easier to use helper functions for terrain handling
2014-07-24 21:50:19 +10:00
Andrew Tridgell d18c00d6fc Plane: split up altitude handling
this creates altitude.pde for altitude handling, getting ready to add
terrain following
2014-07-24 21:50:19 +10:00
Andrew Tridgell 8ea2133c4b AP_Terrain: provide more height_*() convenience functions
these provide functions that are more convenient for the vehicle code
to use
2014-07-24 21:50:19 +10:00
Andrew Tridgell db506b76fa AP_Terrain: split up code into separate cpp files
this should make it a bit easier to review
2014-07-24 21:50:19 +10:00
Andrew Tridgell 6b53f473d9 GCS_MAVLink: added a new TERRAIN_ALT frame type for missions 2014-07-24 21:50:18 +10:00
Andrew Tridgell 2d9637c156 AP_Terrain: re-arrange disk IO code
add some comments explaining split between IO thread and main code
2014-07-24 21:46:07 +10:00
Andrew Tridgell ee04c7de96 AP_Terrain: hold home location as a special location
this ensures home altitude is always available
2014-07-24 21:46:06 +10:00
Andrew Tridgell 0a3aa23619 AP_Terrain: fixed build on APM2 2014-07-24 21:46:06 +10:00