Randy Mackay
e398bb5c68
AP_Arming: make gps-checks virtual
...
Copter's GPS checks will override this
8 years ago
Randy Mackay
9f21649dc0
AP_Arming: add gps consistency and blend health check
8 years ago
Randy Mackay
729ce34ce3
AP_GPS: add all_consistent and blend health for use as pre-arm check
8 years ago
Randy Mackay
72dfe1127f
AP_GPS: protect parameters from being accessed externally
...
backends become friends so they can continue to access parameters held in frontend
get_rate_ms made private because only used by frontend
Also moved static arrays higher in cpp file
8 years ago
Randy Mackay
3172657f26
AP_GPS: move constructor and complex accessors to cpp file
...
These functions are slightly long and make the .h file hard to read. Also saves a small amount of flash space.
No functional change
8 years ago
Randy Mackay
0066022a7f
AP_GPS: check for valid instance in highest_supported_status
...
highest_supported_status will always return FIX_3D for blended or invalid instance
setHIL_Accuracy checks instance is 2 or less
send_mavlink_gps2_raw uses num_instances variable directly to avoid confusion with num_sensors
8 years ago
Randy Mackay
e764f0d5d0
AP_GPS: sanity check update rate
...
Also minor spelling and parameter documentation fix
8 years ago
priseborough
6b26bdd454
AP_GPS: Add option to blend multiple GPS receivers
...
Fix pre-existing bug in hard switch logic
Update GPS_AUTO_SWITCH description
protect against zero accuracy estimates returned by GPS drivers
8 years ago
Randy Mackay
cd379b0e86
AP_GPS: move time_epoch calcs into proper file
...
The frontend implementation was in the backend file
No functional change
8 years ago
Randy Mackay
a79474dcbc
AP_GPS: minor comment fix
...
No functional change
8 years ago
Randy Mackay
201504dbae
AP_GPS: remove unused get_antenna_offsets()
...
callers always specify an instance
8 years ago
Randy Mackay
2d0258b6a2
AP_GPS: remove unused highest_supported_status(void)
8 years ago
Randy Mackay
ac86c7999b
AP_GPS_MAV: set have_accuracy as boolean
8 years ago
priseborough
a82b6929f1
DataFlash: Allow logging of blended GPS instance
...
Add GPS and GPA reporting for blended solution
Allow GPS library to manage reporting for the blended solution
8 years ago
priseborough
56a9e2c462
AP_NavEKF3: Reference correct derivation
8 years ago
priseborough
44fa82d58c
AP_NavEKF2: Reference correct derivation
8 years ago
priseborough
18927395d7
AP_NavEKF3: log correct GPS for replay
8 years ago
priseborough
407a60e599
AP_NavEKF2: log correct GPS for replay
8 years ago
priseborough
01551a4423
AP_NavEKF3: handle position jump caused by change in GPS receiver
...
If the GPS receiver selection changes and we are using GPS for height, the vertical position will be reset to the new GPS height measurement.
correct output observer history when doing a GPS height reset
8 years ago
priseborough
8c46d4316b
AP_NavEKF2: handle position jump caused by change in GPS receiver
...
If the GPS receiver selection changes and we are using GPS for height, the
vertical position will be reset to the new GPS height measurement.
correct output observer history when doing a GPS height reset
8 years ago
Randy Mackay
341b926a43
AP_HAL_SITL: add glitch for 2nd ublox
8 years ago
Randy Mackay
07ce7b8bd6
SITL: add GPS2_GLITCH parameter
8 years ago
Michael Oborne
e4ff445ea7
AP_GPS_GSOF-NOVA: fix last_gps_time_ms
8 years ago
mirkix
9e1345453f
AP_HAL_Linux: BBBmini remove onboard OpticalFlow
8 years ago
mirkix
ac60ddfdde
AP_OpticalFlow: allow to search on I2C bus 2
8 years ago
mirkix
ad208cab56
AP_OpticalFlow: BBBmini remove onboard OpticalFlow
8 years ago
mirkix
81da61a68d
AP_HAL: BBBmini remove onboard OpticalFlow
8 years ago
Michael du Breuil
be1fd147fc
Arming: Remove the SITL protection around GPS configuration, and rely upon the GPS library instead
8 years ago
Michael du Breuil
398ff823c0
AP_GPS: Always consider ublox as configured in sitl
8 years ago
Francisco Ferreira
f6687a2d6c
AP_Baro: fix example output
...
PX4 boards can only start console after USB is connected so we need to
check it is available
8 years ago
jaxxzer
b98573d55f
SITL: Improved Sub simulation
...
-Constrain z axis movement between -100m (seafloor) and 0m (water
surface)
-More accurate thruster modelling
8 years ago
Michael du Breuil
44bcd74a57
AP_GPS: Remove dead SBF code
...
CID 125035
8 years ago
Randy Mackay
7a7f8eb7c1
AC_Avoidance: only stop below alt-fence if fence is enabled
8 years ago
Randy Mackay
3e039a6ba4
AP_NavEKF3: minor formatting fixes
...
No functional change
8 years ago
Randy Mackay
a80c0a231d
AP_NavEKF3: attempt to set-up every core
...
previously we would only call setup_core for the 2nd core if the first had been setup successfully
8 years ago
priseborough
7a8783f35e
AP_NavEKF3: Fix bug preventing reset to GPS
...
This fixes a bug that prevented the reset to the GPS position occurring if GPS velocity observations were still passing innovation consistency checks.
8 years ago
priseborough
b7c4945000
AP_NavEKF2: Fix bug preventing reset to GPS
...
This fixes a bug that prevented the reset to the GPS position occurring if GPS velocity observations were still passing innovation consistency checks.
8 years ago
Michael du Breuil
7f11cf3ca6
AP_Mount: Remove solo gimbal from the minimal build support
8 years ago
Randy Mackay
67097c8d59
AC_AttitudeControl: use gyro_latest
...
This allows moving the attitude control before the ahrs/ekf update
We continue to use ahrs.get_gyro for the non-time-critical heli
passthrough functions. We should avoid using get_gyro_latest() unless we know there is a direct benefit because it could lead to inconsistent gyro values vs what the EKF is using.
8 years ago
Randy Mackay
d3aca5544e
AP_AHRS: get_gyro_latest returns latest rates from IMU with drift correction
...
Pulling the gyro values from the IMU allows our rate controllers to run before the EKF
8 years ago
Andrew Tridgell
ce978595cd
AP_BoardConfig: added support for ICM-20602 detection
8 years ago
Andrew Tridgell
875274e761
AP_InertialSensor: added support for ICM-20602
...
treat the same as a 20608
8 years ago
Andrew Tridgell
e7024d9203
AP_Landing: restructure parameters into a structure
8 years ago
Michael du Breuil
547d06febf
AP_Landing: Add deepstall support
8 years ago
Michael du Breuil
8b20577b74
AP_Landing: Add a servo override interface and PID logging interface
8 years ago
Michael du Breuil
ed359a5833
Dataflash: Add landing PID logging
8 years ago
Michael du Breuil
c10fe2e7a4
AP_Landing: Add more interfaces from vehicle code
...
Fixs up some documentation about expected return values
8 years ago
Michael du Breuil
c5c94949bf
AP_Math: Extend vector2::angle(vector2) to distinguish parallel and antiparallel vectors
...
There are a number of use cases where distingusihing antiparallel from parallel vectors is important
8 years ago
Andrew Tridgell
05cbc19ad6
AP_RangeFinder: added type 15 for LidareLiteV3
8 years ago
Andrew Tridgell
cf3db7560c
AP_BoardConfig: fixed AUAV21 board ID to not overlap with VRBrain boards
8 years ago