Commit Graph

5803 Commits

Author SHA1 Message Date
Mikhail Avkhimenia
34da221c3d AP_InertialSensor: Use MPU9250 DRDY pin only on boards that support it 2014-08-12 22:13:00 +10:00
Mikhail Avkhimenia
a09fbb4171 HAL_Linux: Add SPI configuration for Navio
This changes the SPI bus number to be zero based on Linux
2014-08-12 22:13:00 +10:00
Mikhail Avkhimenia
83bbee491c AP_Baro_MS5611: add address switch for Navio board 2014-08-12 22:09:29 +10:00
Mikhail Avkhimenia
784533e9c8 AP_HAL: add configuration for HAL_BOARD_SUBTYPE_LINUX_NAVIO 2014-08-12 22:09:17 +10:00
Andrew Tridgell
bc95e746ce GCS_MAVLink: fixed example sketch builds 2014-08-11 11:06:17 +10:00
Andrew Tridgell
778b5e8a16 AP_PerfMon: removed unusued commented code 2014-08-11 09:39:02 +10:00
Andrew Tridgell
47655ee78e DataFlash: removed more unusued BufferRead functions 2014-08-11 09:39:02 +10:00
Daniel Frenzel
74460cd526 DataFlash: Delete unused BufferRead function
Signed-off-by: Daniel Frenzel <dgdanielf@gmail.com>
2014-08-11 09:24:42 +10:00
Daniel Frenzel
dd705e3fdb AP_Param: signed/unsigned conversion
Signed-off-by: Daniel Frenzel <dgdanielf@gmail.com>
2014-08-11 09:24:34 +10:00
Daniel Frenzel
1c7e8f8fb2 AP_Mission: Consecutive return, break, continue, goto or throw statements are unnecessary.
Signed-off-by: Daniel Frenzel <dgdanielf@gmail.com>
2014-08-11 09:24:26 +10:00
Daniel Frenzel
c97b460a6b AP_GPS: removed wrong reassignment of msec
Signed-off-by: Daniel Frenzel <dgdanielf@gmail.com>
2014-08-11 09:24:19 +10:00
Daniel Frenzel
df075b8f63 AP_PerfMon: removed unused blocking_writes
Signed-off-by: Daniel Frenzel <dgdanielf@gmail.com>
2014-08-11 09:24:11 +10:00
Daniel Frenzel
b1a9d6bbcc AP_Math: Using const references in matrix3
Signed-off-by: Daniel Frenzel <dgdanielf@gmail.com>
2014-08-11 09:24:05 +10:00
Andrew Tridgell
b559e9d331 SITL: better rangefinder simulation
able to handle a wider range, and takes account of attitude
2014-08-10 22:37:07 +10:00
Andrew Tridgell
ef98eba722 SITL: added SIM_SONAR_SCALE parameter
used for simulating different kinds of rangefinders
2014-08-10 22:36:38 +10:00
Andrew Tridgell
a4cd9c4bd7 AP_Airspeed: added HIL support 2014-08-10 18:16:53 +10:00
Andrew Tridgell
b296508da4 AP_GPS: make setHIL take const references 2014-08-09 22:50:15 +10:00
Andrew Tridgell
bf0ce79176 SITL: make it possible to use SITL-HIL
strangely enough, using HIL in SITL is a great way to debug HIL!
2014-08-09 22:50:15 +10:00
Andrew Tridgell
f8ceccce32 AP_InertialSensor: improved HIL timing consistancy
try to keep the average time for each sample right
2014-08-09 22:50:15 +10:00
Andrew Tridgell
2e5913df93 RC_Channel: fixed k_manual for set_servo_limit()
this allows for failsafe takeover of k_manual channels, which fixes
the behaviour for ignition failsafe
2014-08-09 22:50:14 +10:00
Andrew Tridgell
d1a75874a1 HAL_PX4: don't report power status change if in first 5 seconds 2014-08-09 22:50:14 +10:00
Andrew Tridgell
9a1bac06d4 GCS_MAVLink: added send_battery2() 2014-08-09 22:50:14 +10:00
Andrew Tridgell
ab6302540d AP_BattMonitor: added 2nd battery voltage monitoring 2014-08-09 22:50:14 +10:00
Andrew Tridgell
11025c8da9 GCS_MAVLink: rebuild MAVLink headers 2014-08-09 22:50:14 +10:00
Andrew Tridgell
67e1b66757 GCS_MAVLink: added battery2 message 2014-08-09 22:50:14 +10:00
Randy Mackay
5d4e019397 BaroGlitch: increase max accel to 15m/s/s 2014-08-09 15:47:52 +09:00
Andrew Tridgell
3ee3a71644 AP_NavEKF: prevent a possible numerical error on startup
fixes issue #1294
2014-08-08 15:55:20 +10:00
Andrew Tridgell
144dcb4552 APM_OBC: use send_statustext_all() 2014-08-08 13:54:21 +10:00
Andrew Tridgell
f49258eb31 GCS_MAVLink: added send_statustext_all() method
used for sending text messages from libraries
2014-08-08 13:54:21 +10:00
Andrew Tridgell
1d4d848300 AP_InertialSensor: fixed a build warning 2014-08-08 13:48:03 +10:00
Andrew Tridgell
a812bf621f APM_OBC: added AFS_ENABLE parameter
AFS system is disabled by default
2014-08-08 13:48:03 +10:00
priseborough
bc3c85be20 AP_L1_Control : Fix potential divide by zero error 2014-08-07 19:04:42 +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
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
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
Andrew Tridgell
af4dee39d8 AP_Terrain: added note on CPU cost of height_amsl() 2014-08-07 09:51:14 +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
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
88bc1fb4d3 AP_Rally: fixed build for non-standard vehicle types 2014-08-06 17:59:20 +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