Commit Graph

13150 Commits

Author SHA1 Message Date
Andrew Tridgell 5ed24557b3 GCS_MAVLink: import latest MAVLink XML 2014-08-07 12:34:30 +10:00
JD Russo dd93c6e0ca autotest_jenkins.py: Fixed spelling of prerequisites
Same change as in autotest.py, just correcting the spelling of 'prerequisites' in a couple places from the original misspelled 'prerequesites'
2014-08-06 19:12:02 -07:00
JD Russo 23dc2db036 autotest.py: changed 'prerequesites' to correct spelling
In a few places in autotest, the word 'prerequisites' was misspelled as 'prerequesites'. This is just a simple commit to fix that spelling.
2014-08-06 19:12:01 -07:00
Andrew Tridgell 8ac9c11055 build: allow "make px4-v2-hil-upload" 2014-08-07 09:51:32 +10:00
Andrew Tridgell af4dee39d8 AP_Terrain: added note on CPU cost of height_amsl() 2014-08-07 09:51:14 +10:00
Andrew Tridgell 9184e47f84 Plane: added TERRAIN_LOOKAHD parameter
distance to look forward for terrain following
2014-08-07 09:31:03 +10:00
Andrew Tridgell dc72dfb70a AP_Terrain: added terrain lookahead API
this allows for predicting altitude needed to climb over upcoming
terrain
2014-08-07 09:30:35 +10:00
Andrew Tridgell b92873cab1 AP_Math: prevent negative longitude scaling
for crazy locations
2014-08-07 09:30:02 +10:00
Andrew Tridgell 7752196628 AP_SpdHgtControl: added get_max_climbrate() 2014-08-07 09:29:40 +10:00
Andrew Tridgell c990714377 AP_TECS: added get_max_climbrate() 2014-08-07 09:29:31 +10:00
Andrew Tridgell b89988b2df Replay: fixed build 2014-08-06 22:27:50 +10:00
Andrew Tridgell f0f46a77d7 AP_Terrain: don't request data at 0/0 2014-08-06 22:13:37 +10:00
Andrew Tridgell 642a07b6bd AP_Terrain: enable the terrain database by default
MissionPlanner now supports terrain data, and having terrain data in
logs is useful even if users don't fly terrain missions
2014-08-06 20:53:34 +10:00
Andrew Tridgell efa1d370fa AP_Terrain: added missing TerrainMission.cpp 2014-08-06 19:32:53 +10:00
Andrew Tridgell 23fb34c96d AntennaTracker: fixed build 2014-08-06 19:01:19 +10:00
Andrew Tridgell 7b8287793c CPUInfo: fixed build 2014-08-06 18:56:39 +10:00
Andrew Tridgell 88bc1fb4d3 AP_Rally: fixed build for non-standard vehicle types 2014-08-06 17:59:20 +10:00
Andrew Tridgell d6ee11db6e VARTest: fixed build 2014-08-06 17:59:20 +10:00
Andrew Tridgell 0588d88435 Rover: fixed build 2014-08-06 17:59:20 +10:00
Andrew Tridgell 903b149bcd Plane: fixed typo in description 2014-08-06 17:59:19 +10:00
Andrew Tridgell 4d284a695d Copter: fix for changed AP_Terrain API 2014-08-06 17:59:19 +10:00
Andrew Tridgell 781abc7593 Plane: fix for changed AP_Terrain API 2014-08-06 17:59:19 +10:00
Andrew Tridgell a701fa2098 AP_Terrain: added automatic rally point checking 2014-08-06 17:59:19 +10:00
Andrew Tridgell 723aa7e336 AP_Rally: added last_change_time_ms() call 2014-08-06 17:59:19 +10:00
Andrew Tridgell 7da939047f AP_Terrain: added automatic waypoint checking
check we have terrain data for all waypoints
2014-08-06 17:59:19 +10:00
Andrew Tridgell df55ae86c4 AP_Mission: added last_change_time_ms() call
will be used by terrain lib for scanning waypoints
2014-08-06 17:59:19 +10:00
Andrew Tridgell 448b3f60e0 Plane: use dataflash logging for terrain 2014-08-06 17:59:19 +10:00
Andrew Tridgell 9ca65602c6 AP_Terrain: added dataflash logging 2014-08-06 17:59:19 +10:00
Andrew Tridgell cd8fca40fb DataFlash: added TERR log message for terrain data 2014-08-06 17:59:19 +10:00
Andrew Tridgell 2a288824c0 Plane: make STAB_PITCH_DOWN in degrees
try to avoid new centi-degrees parameters
2014-08-06 17:59:18 +10:00
Andrew Tridgell 7c4d31c481 AP_TECS: added TECS_PITCH_MAX and TECS_PITCH_MIN
this allows the TECS controlled pitch limits to be smaller than the
FBWA limits. It is common for a human pilot to want a bit more
discretion over pitch than you want the automatic controller to use
2014-08-06 17:59:18 +10:00
Andrew Tridgell 781c5bc5dd Plane: use terrain extrapolation
use best effort extrapolation if we run out of terrain data
2014-08-06 17:59:18 +10:00
Andrew Tridgell 147a7b8b69 AP_Terrain: added extrapolation based on last available data
if we run out of terrain data then extrapolate using the last
available terrain height at the AHRS position. This can be used to
cope with GCS outages over long distances where the terrain data isn't
preloaded
2014-08-06 17:59:18 +10:00
Randy Mackay e5f89baab0 Copter: increase RATE IMAX param desc ranges
Also remove unused STB_RLL_I and STB_RLL_IMAX descriptions because these
parameters no longer exist
2014-08-06 13:24:10 +09:00
ggregory8 013b1333b1 Copter: Add guided_takeoff_start and guided_takeoff_run functions 2014-08-05 10:25:33 +09:00
ggregory8 e8b0c7a7e7 Copter: Handle MAV_CMD_NAV_TAKEOFF command to takeoff in guided mode only 2014-08-05 10:25:31 +09:00
ggregory8 3832c46998 Copter: Add takeoff enum for guided_mode 2014-08-05 10:25:29 +09:00
Randy Mackay e0fc2dd50e AC_PosControl: remove 20cm on takeoff 2014-08-05 09:11:57 +09:00
akdslr a404404806 AP_RangeFinder: Added a call to sonar.update in RFIND_test 2014-08-04 22:13:16 +10:00
Randy Mackay 610e747f27 Copter: minor formatting fix 2014-08-04 21:04:10 +09:00
Randy Mackay 1362bdc338 AC_PosControl: smooth take-off with accel PID's I term
This avoids an instantaneous jump in throttle during take-off by loading
the accel PID's I term with the expected change in throttle level
2014-08-04 21:04:09 +09:00
Randy Mackay 5596001d39 AC_Motors: make get_throttle_out const 2014-08-04 21:04:09 +09:00
Andrew Tridgell d54bb68270 Plane: prevent cross-track on some WP types
when finishing a takeoff or when a user forces a WP change don't do
any cross-tracking. This avoids a problem where the plane tries to
line up with a track completely unrelated to the track currently being
flown
2014-08-04 21:02:13 +10:00
Andrew Tridgell 09a679368b Plane: use bitfields in auto_state 2014-08-04 21:02:13 +10:00
Andrew Tridgell 16f1c6867f Plane: remved int cast
not portable
2014-08-04 21:02:13 +10:00
Andrew Tridgell 28facc220d Plane: change threshold for no glide slope to 20m
40m is quite high for most planes
2014-08-04 21:02:13 +10:00
Andrew Tridgell 8610d9a8ea Plane: added GLIDE_SLOPE_MIN parameter
this is used to prevent slow glide slopes being used for small
altitude changes in missions. This allows more accurate tracking of
altitude with terrain changes
2014-08-04 21:02:13 +10:00
Andrew Tridgell 9536124300 Plane: more accurate altitude tracking close to waypoints
don't use a glide slope if the altitude change is less than 15 meters
2014-08-04 21:02:13 +10:00
Andrew Tridgell f983040401 Plane: more fixes for glide slope calculations 2014-08-04 21:02:13 +10:00
Randy Mackay 52a3dc2bde Copter: reset target alt to current alt when landed 2014-08-04 16:56:03 +09:00