Tom Pittenger
06d1f3ebdf
Plane: add ArduPlane/test/* to gitignore
...
so that the ArduPlane sitl example (--aircraft test) won't show flight
logs as changes
2015-03-13 13:10:17 +11:00
Tom Pittenger
420e9e0d2e
Plane: added INITIAL_MODE which is the mode we boot up into.
...
This is useful when flying without a RX or if you have a RX that
outputs zeros without a detected Txmtr
2015-03-13 13:04:23 +11:00
Andrew Tridgell
472a50f9c2
Build: removed APM2 build for copter
...
no longer supported
2015-03-13 11:36:54 +11:00
Andrew Tridgell
a942ebbb70
Plane: removed unnecessary prototype
2015-03-13 11:21:47 +11:00
Andrew Tridgell
dc9e2a54f3
Plane: fixed use of HAL soft_armed
2015-03-13 11:20:43 +11:00
Tom Pittenger
659904bf65
Plane: sped up is_flying filter since it is running at only 1Hz
2015-03-13 11:07:19 +11:00
Tom Pittenger
8f7bb61a54
Plane: changed arm check method to use new is_flying code
2015-03-13 11:07:05 +11:00
Tom Pittenger
58b0702793
Plane: isFlying redesign
...
The is_flying() function is too simplistic to be used as a generic
status. Added a sticky heuristic method that depends on the arm
state. More thought should go into the boolean result of isFlying but
this is at least safer than the original method.
2015-03-13 11:06:54 +11:00
Andrew Tridgell
0b261e8695
Travis: used sudo with pip
2015-03-13 10:54:59 +11:00
Andrew Tridgell
de2c22b4b9
Travis: try to upgrade to g++ 4.8
2015-03-13 10:51:31 +11:00
Andrew Tridgell
8fee936ad7
HAL_SITL: fixed emulation of MTK1.6 GPS
2015-03-13 10:30:20 +11:00
Andrew Tridgell
e0870d5038
AP_GPS: disable NMEA and SiRF on AVR 2560
...
we are too low on flash space for plane on APM2 now
2015-03-13 10:30:00 +11:00
Andrew Tridgell
5da80f44b1
AP_GPS: fixed MTK1.6 time handling
...
my MTK1.6 does not use hectoseconds, it uses milliseconds
2015-03-13 10:29:36 +11:00
Andrew Tridgell
d9342ed854
Copter: allow motor test using raw pwm without RC cal
2015-03-12 17:49:39 +11:00
Andrew Tridgell
2e6d79f449
Travis: disable droneapi and upgrade pip
2015-03-12 17:28:04 +11:00
Andrew Tridgell
67e10ff392
Travis: ignore failure of extra deb install
2015-03-12 17:28:04 +11:00
Randy Mackay
94bd357c57
Tracker: add EKF_STATUS_REPORT to enum
...
avoids a compiler warning
2015-03-12 13:44:04 +09:00
Randy Mackay
c5bbd445cc
Rover: send EKF_STATUS_REPORT in extra3 stream
2015-03-12 13:44:01 +09:00
Randy Mackay
cb1b4ab486
Plane: send EKF_STATUS_REPORT in extra3 stream
2015-03-12 13:43:58 +09:00
Randy Mackay
553261d4ce
Copter: send EKF_STATUS_REPORT in extra3 stream
2015-03-12 12:20:03 +09:00
Randy Mackay
230ca583d1
NavEKF: support sending EKF_STATUS_REPORT
2015-03-12 12:20:00 +09:00
Randy Mackay
5ee67e63ec
GCS_MAVLink: add EKF_STATUS_REPORT to enum
2015-03-12 12:19:58 +09:00
Randy Mackay
3c555fc396
GCS_MAVLink: version number after adding EKF_STATUS_REPORT
2015-03-12 12:19:56 +09:00
Randy Mackay
5aef7e6d1a
GCS_MAVLink: generate after adding EKF_STATUS_REPORT
2015-03-12 12:19:54 +09:00
Randy Mackay
d464344c34
GCS_MAVLink: add EKF_STATUS_REPORT message to xml
2015-03-12 12:19:50 +09:00
Andrew Tridgell
07fd31c724
AP_InertialSensor: change copter filters to 20Hz
...
with the backend filters disabled 20Hz is closer to the old default of
30Hz
2015-03-12 13:11:17 +11:00
Andrew Tridgell
d44fff71cf
autotest: disable ARMING_REQUIRE in autotest
2015-03-12 12:55:08 +11:00
Andrew Tridgell
e0a0c3afcf
AP_Arming: default to arming required
2015-03-12 12:53:27 +11:00
Andrew Tridgell
a1d43e39e0
AP_InertialSensor: added get_gyro_filter_hz() and get_accel_filter_hz()
2015-03-12 12:50:31 +11:00
Andrew Tridgell
8b0337ffd0
Rover: removed set_default_filter() call
2015-03-12 12:50:31 +11:00
Andrew Tridgell
3d7d46b9b0
AP_InertialSensor: replaced INS_MPU6K_FILTER with INS_ACCEL_FILTER and INS_GYRO_FILTER
...
this allows filtering to be set separately on accels and gyros where possible
2015-03-12 12:50:31 +11:00
Andrew Tridgell
f3314791f2
AP_InertialSensor: removed INS_CALSENSFRAME
...
it is no longer needed as we have shifted the accel cal indexes
2015-03-12 12:50:31 +11:00
Andrew Tridgell
4bc6c8e655
AP_InertialSensor: shift to new parameter indexes for accel calibration
...
this allows for users to switch between development trees and previous
stable versions while retaining their accel calibration values.
2015-03-12 12:50:30 +11:00
Andrew Tridgell
5d0eb49114
AP_InertialSensor: calculate queue depth based on requested sample rate
...
this auto-scales the queue depth for plane, rover and copter
2015-03-12 12:50:30 +11:00
Andrew Tridgell
c42a40553a
Travis: install some extra packages for AVR
2015-03-12 12:50:30 +11:00
Andrew Tridgell
f3706d63c7
Filter: prevent copying the filter parms on apply
2015-03-12 12:50:30 +11:00
Andrew Tridgell
08d0ac37a3
autotest: need accel offsets for 2 IMUs now
2015-03-12 12:50:30 +11:00
Andrew Tridgell
ea49d1cd39
AP_InertialSensor: removed unused variable
2015-03-12 12:50:30 +11:00
Andrew Tridgell
b36122dec0
Filter: removed stdio.h
...
breaks AVR build
2015-03-12 12:50:30 +11:00
Andrew Tridgell
e6a4b9f68c
AP_InertialSensor: check accel health during accel cal
2015-03-12 12:50:29 +11:00
Andrew Tridgell
875339f12a
AP_InertialSensor: try to avoid a compiler fault in travis
2015-03-12 12:50:29 +11:00
Andrew Tridgell
29bf3f569e
Rover: removed 1D accel calibration
2015-03-12 12:50:29 +11:00
Andrew Tridgell
bd4476cb84
AntennaTracker: removed 1D accel cal
2015-03-12 12:50:29 +11:00
Andrew Tridgell
5175f21225
Plane: removed 1D accel calibration
2015-03-12 12:50:29 +11:00
Andrew Tridgell
031c81beee
AP_AHRS: removed call to 1D accel cal
2015-03-12 12:50:29 +11:00
Andrew Tridgell
4deb136bb0
AP_Arming: require 3D accel cal always
2015-03-12 12:50:28 +11:00
Andrew Tridgell
786172aa4e
AP_InertialSensor: removed 1D accel calibration
...
it is finally time to move on from this. We want to push people
towards better calibration and removing the 1D accel cal is the first
step
2015-03-12 12:50:28 +11:00
Andrew Tridgell
a975520033
AP_InertialSensor: check range of accels in 3D calibration
...
during 3D accel cal it is possible to get data which passes the sphere
fit but which has very poor coverage and does not provide sufficient
data for a good result. This checks that each axis covers a range of
at least 12 m/s/s in body frame
2015-03-12 12:50:28 +11:00
Andrew Tridgell
a8a8628515
AP_InertialSensor: added INS_CALSENSFRAME parameter
...
this allows us to detect if accel calibration was done in sensor frame
or not. If it was done in sensor frame then the accel calibration is
independent of AHRS_ORIENTATION, which makes it easier to move a board
to a new airframe without having to recalibrate.
2015-03-12 12:50:28 +11:00
Jonathan Challinger
bc655ff0cc
AP_InertialSensor_PX4: add optional debug
2015-03-12 12:50:28 +11:00