Commit Graph

13962 Commits

Author SHA1 Message Date
Randy Mackay
fc898a00a3 AC_AttControl: add sqrt_controller
Original code by Jonathan Challinger
2014-10-27 15:20:40 +09:00
Randy Mackay
4aa07d7aef LogAnalyser: rename BalanceTwist to MotorBalance 2014-10-27 13:58:19 +09:00
Randy Mackay
98e9ce3206 LogAnalyser: TestBalanceTwist sanity check of motor values 2014-10-27 13:58:16 +09:00
Jonathan Challinger
a62f1f0f48 LogAnalyzer: updated testCompass to match our prearm check 2014-10-27 13:58:15 +09:00
Jonathan Challinger
0955284d7e LogAnalyzer: balance/twist initial commit 2014-10-27 13:58:12 +09:00
Randy Mackay
28b98a170b Copter: fix to dcm-check to be continuous
dcm-check was triggering after 10 bad headings but these did not need to
be continuous meaning if the vehicle was flown long enough it would
almost certainly trigger a dcm-check failure and land
2014-10-27 12:37:56 +09:00
Andrew Tridgell
26de54c29a AP_AHRS: cope with 90 degree pitch in update_trig()
this prevents a numerical error in Replay
2014-10-25 11:21:04 +11:00
Andrew Tridgell
485397c4cb Replay: cope with old copter attitude and baro msgs 2014-10-25 11:20:26 +11:00
Andrew Tridgell
ddd27f5acb Plane: increase mav throttle slew rate in generated param docs 2014-10-25 10:06:29 +11:00
Andrew Tridgell
e4f7a7f6d2 Plane: removed incomplete DF log of go-around
the right commands should already be logged. This code would have
logged a lot of uninitialised bytes
2014-10-24 22:09:41 +11:00
Andrew Tridgell
c046273be2 Plane: fixed verify_land() comment for go-around 2014-10-24 22:04:59 +11:00
Andrew Tridgell
1f3e285ed0 Plane: reset commanded_go_around at start of land
this allows multiple landing attempts
2014-10-24 22:04:30 +11:00
Andrew Tridgell
ad58822cb5 Plane: removed impossible boolean check 2014-10-24 22:04:05 +11:00
Andrew Tridgell
959cd11cb1 Plane: save a byte in auto_state
keep single bits together to save space on APM2
2014-10-24 22:03:34 +11:00
Michael Day
01f611daa9 Plane: "Go around" operation. Assumes go around behavior follows land wp. 2014-10-24 21:51:46 +11:00
Andrew Tridgell
e434850f1f Plane: move set_mode() after mission.set_current_cmd()
if set_current_cmd() fails, we don't want to change to AUTO with some
unknown mission item
2014-10-24 21:51:27 +11:00
Andrew Tridgell
02b80db67c Plane: minor code style change
use comment and function style consistent with rest of code
2014-10-24 21:50:18 +11:00
Michael Day
c1b949a74f Plane: Bugfix. Changing to landing sequence now works at mission end. 2014-10-24 21:42:06 +11:00
Michael Day
83c2f497a3 AP_Mission: Change jump_to_landing_sequence to get_landing_sequence_start 2014-10-24 21:42:06 +11:00
Andrew Tridgell
5ddbcc296d AP_OpticalFlow: fixed example build 2014-10-24 21:38:03 +11:00
Andrew Tridgell
ad8b73c8aa AP_Airspeed: update ARSPD_AUTOCAL docs 2014-10-24 17:16:17 +11:00
Randy Mackay
41a6393356 RangeFinder: PulsedLight I2C addr to 0x62 2014-10-24 15:08:04 +09:00
Andrew Tridgell
ad7c612334 AP_InertialSensor: fixed SITL with new HIL code 2014-10-24 15:05:44 +11:00
Andrew Tridgell
aeaa3c1e04 AP_InertialSensor: fixed build for VRBrain 2014-10-24 12:10:41 +11:00
Andrew Tridgell
40e83ceb1f AP_InertialSensor: simplify next sample time calculations
this makes the calculation much clearer
2014-10-24 12:10:40 +11:00
Andrew Tridgell
9dfbdb1e69 AP_InertialSensor: run the MPU6000 at 1kHz on fast CPUs
use a software filter and 1kHz sampling for better filtering if we
have a fast enough CPU to do it
2014-10-24 12:10:40 +11:00
Andrew Tridgell
a047d1f569 AP_InertialSensor: moved default filter and sample_rate to frontend
this simplifies the backends and prevents code repitition
2014-10-24 12:10:40 +11:00
Andrew Tridgell
17b2214798 AP_InertialSensor: make it easier to add multiple backends
use _add_backend() to add new backends on startup
2014-10-24 12:10:40 +11:00
Andrew Tridgell
868ee3af23 AP_Mission: fixed example build 2014-10-24 12:10:40 +11:00
Andrew Tridgell
006185f08a AP_InertialNav: fixed example build 2014-10-24 12:10:40 +11:00
Andrew Tridgell
f79ce92673 AP_AHRS: fixed example build 2014-10-24 12:10:40 +11:00
Andrew Tridgell
33c7432e97 AC_WPNav: fixed example build 2014-10-24 12:10:40 +11:00
Andrew Tridgell
31eeb657ca AC_Sprayer: fixed example build 2014-10-24 12:10:39 +11:00
Andrew Tridgell
4fcf46005b AC_Fence: fixed example build 2014-10-24 12:10:39 +11:00
Andrew Tridgell
9a98e63702 AC_AttitudeControl: fixed example build 2014-10-24 12:10:39 +11:00
Andrew Tridgell
bc5d79118d AP_InertialSensor: updated comments 2014-10-24 12:10:39 +11:00
Andrew Tridgell
3a9a5a9c18 AP_InertialSensor: implement gyro and accel health monitoring
sensor is healthy if it gave a sample on the last update()
2014-10-24 12:10:39 +11:00
Andrew Tridgell
586fa9a816 AP_InertialSensor: added product_id support
fill in parameter from first backend
2014-10-24 12:10:39 +11:00
Andrew Tridgell
37dea4e367 AP_Common: added MPU9250 product ID 2014-10-24 12:10:39 +11:00
Andrew Tridgell
520727e5bd AP_InertialSensor: fixed example build 2014-10-24 12:10:39 +11:00
Andrew Tridgell
39d623ff94 VARTest: convert to new AP_InertialSensor API 2014-10-24 12:10:39 +11:00
Andrew Tridgell
d809ce51a7 Replay: convert to new AP_InertialSensor API 2014-10-24 12:10:38 +11:00
Andrew Tridgell
35b558cfc2 Rover: convert to new AP_InertialSensor API 2014-10-24 12:10:38 +11:00
Andrew Tridgell
a4d2b044f0 AntennaTracker: convert to new AP_InertialSensor API 2014-10-24 12:10:38 +11:00
Andrew Tridgell
4c0351a76a Copter: convert to new AP_InertialSensor API 2014-10-24 12:10:38 +11:00
Andrew Tridgell
240e87dc2c Plane: update for new AP_InertialSensor API 2014-10-24 12:10:38 +11:00
Andrew Tridgell
dbcd02f2be AP_InertialSensor: converted MPU9150 driver
untested conversion
2014-10-24 12:10:38 +11:00
Andrew Tridgell
ff5f791343 AP_InertialSensor: converted flymaple driver to new API 2014-10-24 12:10:38 +11:00
Andrew Tridgell
a42af0f2f1 AP_InertialSensor: use common AP_InertialSensor driver for PX4 and VRBRAIN 2014-10-24 12:10:38 +11:00
Andrew Tridgell
3ce7667e5a AP_InertialSensor: tidy up MPU6000 driver 2014-10-24 12:10:37 +11:00