Commit Graph

12962 Commits

Author SHA1 Message Date
Andrew Tridgell
b414ca930d Plane: fixed servo demo on startup
thanks to Klrill-ka

fixes issue #1204
2014-08-07 13:26:47 +10:00
Andrew Tridgell
ed6ab5f1d3 AP_InertialSensor: use bool for blocking_read()
uint8_t return was confusing
2014-08-07 13:09:17 +10:00
Michael Carpenter
b4c0e1215b AP_InertialSensor: Use return value of blocking_read to handle calibration timeouts 2014-08-07 13:04:18 +10:00
Andrew Tridgell
786661ca2b GCS_MAVLink: better handling of high severity STATUSTEXT messages 2014-08-07 12:55:52 +10:00
Michael Day
3b62592b26 ArduPlane: attempt to send GCS a message when the GCS heartbeat is not detected. 2014-08-07 12:54:47 +10:00
Andrew Chapman
50f9b4d4bb LogAnalyzer: added help text for --format option 2014-08-06 19:51:30 -07:00
Kevin Hester
097a3b23e6 LogAnalyzer: Fix handling of the -f format option (bin, log, auto)
Previously this option was ignored.
2014-08-06 19:51:29 -07:00
JD Russo
86baccffbd common.py: Removed timeout reset in wait_altitude
common.py:wait_altitude contained an if statement that, if the plane was changing altitude at all would reset tstart, making the timeout effectively useless. Removing this line allows wait_altitude to respect the timeout the user sets.
2014-08-07 12:40:34 +10:00
Przemek Lekston
75f9b8853d GCS_Mavlink.pde: Fix for a possible segfault after passing ARSPD_FBW_MIN 2014-08-07 12:35:31 +10:00
Przemek Lekston
ae4814a773 AP_AHRS_DCM.cpp: changed the direction of position projection to ensure correct behavious in crosswind 2014-08-07 12:34:30 +10:00
Andrew Tridgell
4dfafcf7ba build: removed hil from frames list
it breaks "apm1-hil" target for copter
2014-08-07 12:34:30 +10:00
Andrew Tridgell
bc560b466e GCS_MAVLink: regenerate MAVLink headers 2014-08-07 12:34:30 +10:00
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