Andrew Tridgell
9453154b75
Rover: use handle_set_mode()
11 years ago
Andrew Tridgell
f2e6fa3fb0
Copter: use handle_set_mode()
11 years ago
Andrew Tridgell
c4b17b74e2
Plane: use handle_set_mode()
11 years ago
Andrew Tridgell
60aa017e11
GCS_MAVLink: added handle_set_mode() function
11 years ago
Randy Mackay
a860d91930
Rover: allow GCS to turn safety switch on/off
11 years ago
Randy Mackay
bab2c17e11
Rover: set sys_status motor outputs bit from safety switch
11 years ago
Randy Mackay
82225de6fa
Plane: allow GCS to turn safety switch on/off
11 years ago
Randy Mackay
7a6b55368e
Plane: set sys_status motor outputs bit from safety switch
11 years ago
Randy Mackay
7caa611eb1
Compass_HIL: use instance specific orient and external
11 years ago
Randy Mackay
86aac4f40c
Compass_HMC5843: use instance specific orient and external
11 years ago
Randy Mackay
900896977c
Compass_VRBrain: use instance specific orient and external
11 years ago
Randy Mackay
85e82a0399
Compass_PX4: use instance specific orient and external
11 years ago
Randy Mackay
023b6afe8b
Compass: add ORIENT2 and EXTERNAL2 params
11 years ago
Randy Mackay
16058cb730
Compass_VRBrain: primary compass based on use_for_yaw
11 years ago
Randy Mackay
01fa4ba619
Compass_PX4: primary compass based on use_for_yaw
11 years ago
Randy Mackay
798cc36e64
Compass: use_for_yaw for each compass
11 years ago
Randy Mackay
84d792216e
Compass: use_for_yaw to use primary compass health
...
This allows the internal compass to be used if the external compass
fails.
11 years ago
Andrew Tridgell
d6c56b8f7a
AP_NavEKF: make it clear that all sat counts are covered
11 years ago
Andrew Tridgell
a1f5be5b9e
AP_NavEKF: simplify variable handling in EKF
...
use named state variables instead of states[] array where possible.
11 years ago
priseborough
8223a0d193
AP_NavEKF : Explicitly initialise gpsNoiseScaler to default value
11 years ago
priseborough
b61a6c64d7
AP_NavEKF : Reduce weighting on GPS when not enough satellites
...
GPS measurement variance is doubled if only 5 satellites, and quadrupled if 4 or less.
The GPS glitch rejection thresholds remain the same
This will reduce the impact of GPS glitches on attitude.
11 years ago
priseborough
7370e07c8d
AP_AHRS : Prevent EKF starting if GPS sats less than AHRS_GPS_MINSATS
11 years ago
priseborough
f99f5759f5
AP_NavEKF : Fix bug in GPS innovation variance growth calculation
...
The uncertainty in acceleration is currently only scaled using horizontal accelerations, however during vertical plane aerobatics and high g pullups, misalignment in angles can cause significant horizontal acceleration error.
The scaling now uses the 3D acceleration vector length to better work during vertical plane high g maneouvres.
This error was found during flight testing with 8g pullups
11 years ago
priseborough
f0ee11e951
AP_NavEKF : Fix bug in reset of position, height and velocity states
...
If the inertial solution velocity or position needs to be reset to the GPS or baro, the stored state history for the corresponding states should also be reset.
Otherwise the next GPS or baro measurement will be compared to an invalid previous state and will be rejected. This is particularly a problem if IMU saturation or timeout has occurred because the previous states could be out by a large amount
The position state should be reset to a GPS position corrected for velocity and measurement latency. This will make a noticeable difference for high speed flight vehicles, eg 11m at 50m/s.
11 years ago
Randy Mackay
e7b4a02d26
GPS: fix SIRF set-binary message
...
This fixes an issue in which the the update rate for the mediatek, which
uses a similar protocol, was not being set correctly
11 years ago
Andrew Tridgell
f6cc8ce5bc
GCS_MAVLink: fixed log erase and log request end
11 years ago
Randy Mackay
2dbfc6158d
Rover: check target of set-mode request from GCS
...
Issue discovered and fix contributed by Deadolous
11 years ago
Randy Mackay
6d3acba04c
Plane: check target of set-mode request from GCS
...
Issue discovered and fix contributed by Deadolous
11 years ago
Randy Mackay
47c135c4e1
GCS_MAVLink: add comments around checking target
11 years ago
Randy Mackay
0322a876eb
GCS_MAVLink: check target before erasing log
11 years ago
Randy Mackay
77e89214eb
Copter: shift pos targets to current location before takeoff
11 years ago
Randy Mackay
dbe1c55666
AC_WPNav: add shift_wp_origin_to_current_pos for takeoff
...
This shifts the origin to the vehicle's current position and should be
called just before take-off to ensure there are no sudden roll or pitch
moves on takeoff.
11 years ago
Randy Mackay
41d7462eee
LogAnalyzer: add POSHOLD to TestPitchRollCoupling
11 years ago
Randy Mackay
0803d79701
INS: param descriptions for ACC2, GYR2
11 years ago
Randy Mackay
e14ae0c0b1
Compass: param descriptions for OFS2, MOT2
11 years ago
Jonathan Challinger
73e1719ee1
Copter: print frame type in log headers
11 years ago
Randy Mackay
8aa5c10d53
Copter: remove unused AIRFRAME definition
11 years ago
Randy Mackay
1a249a8129
Copter: check target of set-mode request from GCS
...
Issue discovered and fix contributed by Deadolous
11 years ago
Randy Mackay
5ca3c4baf6
Mission: fix CHANGE_ALT to store climb rate in lat param
...
The slightly confusing storage of climb rate in the lat field led to a
bug fix a few months ago that actually created a bug.
11 years ago
Randy Mackay
ef0e37b478
Copter: bugfix to condition-yaw for relative angles
...
Thanks to roque-canales for raising the issue and paradisephil for finding
the specific piece of code that went wrong and suggesting the fix.
11 years ago
Randy Mackay
45bc9fd10c
Copter: add AC3.2 default to LOG_BITMASK value
11 years ago
Randy Mackay
0d88b602ec
Copter: fix RSSI_RANGE param values
...
The extra .0 after the 5 was causing the mission planner to not display
5V in the dropdown even though the value was 5.
11 years ago
Craig Elder
ab46f2d2fe
Frame_params: 3DR_Iris+ reduced WP_NAV to 650
11 years ago
Jonathan Challinger
7c3e614c19
LogAnalyzer: Add IMU Mismatch check
11 years ago
Randy Mackay
ed566fa56c
Copter: update AC3.2-rc10 release notes
11 years ago
Andrew Tridgell
4b01cee330
Plane: send heartbeat to AFS when calibrating sensors
11 years ago
Andrew Tridgell
5eee51b5a4
APM_OBC: added heartbeat() method
...
this is used for when the plane is calibrating sensors, to ensure
heartbeat is continued to the failsafe board
11 years ago
Andrew Tridgell
1fa03a49c9
Plane: disable the CLI if AFS failsafe enabled on APM2
...
the flash space is a bit too low for both CLI and AFS
11 years ago
Randy Mackay
41c576044f
Copter: allow passthru for ch 9 ~ 14
...
Based on work by Emile Castelnuovo
11 years ago
Randy Mackay
c2c5807ec7
Compass: always default devid to zero
11 years ago