Randy Mackay
b4b062e9ef
PX4: start batt_smbus
10 years ago
Randy Mackay
70dcc724ac
PX4: add batt_smbus module to build
10 years ago
Randy Mackay
909d525206
BattMon: fix example sketch compile error
10 years ago
Randy Mackay
f1f71ef605
Copter: cli uses has_current method
10 years ago
Randy Mackay
3ccc61c163
Copter: use battery.has_current method
10 years ago
Randy Mackay
cf36fd55bd
GCS_MAVlink: correct sending of 2nd battery's voltage
10 years ago
Randy Mackay
d6b4bfd97f
Copter: move underscore in BATT_ parameters
10 years ago
Randy Mackay
76a28a962c
BattMon: remove #defines for monitor type
10 years ago
Randy Mackay
f077ecd338
BattMon_PX4: class to read from PX4Firmware via orb
10 years ago
Randy Mackay
3f35dc54fe
BattMon_I2C: smart battery class for APM
10 years ago
Randy Mackay
314db1403d
BattMon_SMBus: smart battery monitor driver
10 years ago
Randy Mackay
4d7df9ed26
BattMon_Analog: move analog features to new class
10 years ago
Randy Mackay
39dbf05c8f
BattMon_Backend: create backend class
10 years ago
Randy Mackay
eec66d8451
BattMon: parent class becomes frontend class
10 years ago
Randy Mackay
9be53502df
Plane: remove logging dependecy on optflow
10 years ago
Randy Mackay
d46ceac1f8
Git: ignore autotest.lck and index.html
10 years ago
Randy Mackay
c36253b9b2
AC_PosControl: add comments
...
No functional change
10 years ago
Jonathan Challinger
6eab698e85
AC_WPNav: remove various timing hacks
10 years ago
Jonathan Challinger
557d339cf1
AC_PosControl: remove various unnecessary timing hacks
10 years ago
Jonathan Challinger
5438d38df5
AC_WPNav: provide reset_I to init_xy_controller
10 years ago
Jonathan Challinger
d6e455417f
AC_PosControl: change keep_xy_I_terms to a parameter of init_xy_controller
10 years ago
Randy Mackay
8960766900
Rover: remove logging dependency on optflow
10 years ago
Randy Mackay
2e7435df52
Copter: remove unused OF_LOITER pid defines
10 years ago
Randy Mackay
3e34e7ed7e
Copter: remove logging dependency on optflow
10 years ago
priseborough
b016bae445
AP_NavEKF: Clean up reset of constant velocity mode
...
Move velocity store out of optical flow to velocity and position fusion control as it is a velocity fusion function.
Always clear the previous mode status
10 years ago
priseborough
3d207c316a
AP_NavEKF: Change names for position and velocity hold modes
...
Name change done to avoid confusion with flight modes. modes are now referred to as constant position and constant velocity mode.
10 years ago
priseborough
b650ee51a9
AP_NavEKF: Consolidate arming checks
10 years ago
priseborough
48cae0df15
AP_NavEKF: Fall back to attitude and hgt estimation for copter if GPS lost
10 years ago
priseborough
b21f9daa90
AP_NavEKF: Update solution status reporting
...
This patch makes the reporting of an absolute position solution less abbiguaous and ensures that relative position is always true if absolute position is true
10 years ago
priseborough
ee75f26edb
Rover: Don't log EKF optical flow data if not required
10 years ago
priseborough
695f12bec0
Copter: Don't log EKF optical flow data if not required
10 years ago
priseborough
195cdb6fd6
Plane: Don't log EKF optical flow data if not required
10 years ago
priseborough
9c8406998b
Replay: Don't log EKF optical flow data if not required
10 years ago
priseborough
b99b3c7b9d
DataFlash: Don't log EKF optical flow data if not required
10 years ago
priseborough
b6d300db19
AP_NavEKF: clean up determination of GPS availability
10 years ago
priseborough
40b02fc19a
AP_NavEKF: Ensure filter doesn't try to use GPS after initialisation
10 years ago
priseborough
bab1a69f1c
AP_NavEKF: make position and velocity resets consistent with GPS usage
10 years ago
priseborough
0dc2356175
AP_NavEKF: Ensure initialisation methods read required sensor data
10 years ago
priseborough
5d1de79f08
AP_NavEKF: Modify initial values to make startup behaviour more consistent
10 years ago
priseborough
a63af34d8f
AP_NavEKF: Allow 10 seconds for the filter to settle after initialisation
...
Filter is declared unhealthy and will not arm for first 10 seconds after initialisation
10 years ago
priseborough
0a5de21dc7
AP_NavEKF: Fix bug in reporting of solution status
...
Because synthetic position measurements at 0,0 are fused during position hold mode, a position timeout cannot be used as the only means of detecting position solution status.
10 years ago
priseborough
92c3026072
AP_NavEKF: Link process noise to arm status, not pos hold mode
10 years ago
priseborough
a535b73a6d
AP_NavEKF: Initialise timeout status to true
...
This status will be cleared when data arrives and is fused successfully
10 years ago
priseborough
363c1e393d
AP_NavEKF: Latch use of position hold mode for duration of flight
...
Required to prevent acquisition of GPS mid flight causing unwanted change in position and velocity
A distinction has been mad between the arm and disarm transition and the decision to use position hold mode (formerly static mode)
10 years ago
priseborough
a0a6c0362f
AP_NavEKF: Relax timeout check applied to optical flow data
...
200 msec was too short and could lead to false positives. 5000 msec is the largest time we can go free inertial.
10 years ago
priseborough
5bd4ee9715
AP_NavEKF: Use compensation for baro delay in position hold mode
10 years ago
priseborough
4dc1ee2d66
AP_NavEKF: Rename static mode to avoid confusion with other non-GPS modes
...
This renames static mode as posHoldMode to make it clearer what this and the other non-GPS modes do
10 years ago
priseborough
b160f4c03b
AP_NavEKF: Compensate optical flow fusion for GPS glitch recovery offset
10 years ago
priseborough
e4c969084d
AP_NavEKF: Improve behaviour recovering from a GPS timeout
...
When regaining GPS after a timeout, an offset is applied when fusing GPS velocity so that GPS velocity and position data as fused by the EKF is kinematically consistent.
This velocity offset is also accounted for when fusing air data so that wind estimates are not corrupted when the GPS position offset is being pulle back to zero.
The intended behaviour is that the EKF position will be pulled back to the GPS position at a rate of 5m/s for planes and 1 m/s for copters. This avoids large deviations in trajectory when GPS is regained.
10 years ago
priseborough
6eb533121c
AP_NavEKF: Add static mode to solution status message
10 years ago