Andrew Tridgell
0571f86c17
Replay: handle float ground speed in GPS
2016-05-07 18:27:21 +10:00
Andrew Tridgell
d116071054
Replay: use new setHIL API for baro
2016-05-07 18:27:20 +10:00
Andrew Tridgell
0b71652afc
AP_Baro; allow for exact replay of baro data
2016-05-07 18:27:20 +10:00
Andrew Tridgell
d97074dc9d
DataFlash: round baro temp to nearest centi-degree
...
makes replay logs a tiny bit closer
2016-05-07 18:27:20 +10:00
Andrew Tridgell
73d3797a7e
AP_AHRS: finish implementing have_ekf_logging()
2016-05-07 18:27:20 +10:00
Andrew Tridgell
4e4c575f16
AP_NavEKF2: added have_ekf_logging()
2016-05-07 18:27:20 +10:00
Andrew Tridgell
b7ba0fa458
AP_NavEKF2: added ad-hoc logging example to EKF2
2016-05-07 18:27:20 +10:00
Andrew Tridgell
cbbf26a1f6
Plane: removed Log_Write_IMUDT
2016-05-07 18:27:20 +10:00
Andrew Tridgell
3bbc6353d8
Plane: use have_ekf_logging()
2016-05-07 18:27:20 +10:00
Andrew Tridgell
827551c99f
Replay: added replay of GPS speed accuracy
2016-05-07 18:27:20 +10:00
Andrew Tridgell
4e5f1374da
AP_GPS: added setHil_Accuracy()
2016-05-07 18:27:19 +10:00
Andrew Tridgell
772acf056b
Replay: fixed overriding of parameters
...
bug was later PARM messages in log
2016-05-07 18:27:19 +10:00
Andrew Tridgell
295c65277d
Replay: restore exact timestamp in HIL
2016-05-07 18:27:19 +10:00
Andrew Tridgell
88a1ebaf0e
AP_Compass: allow setting of exact timestamp in HIL compass
2016-05-07 18:27:19 +10:00
Andrew Tridgell
4318fd0ab8
HAL_SITL: update for changed API
2016-05-07 18:27:19 +10:00
Andrew Tridgell
61da827c16
DataFlash: added sample timestamp to mag messages
...
allows for exact mag timings in replay
2016-05-07 18:27:19 +10:00
Andrew Tridgell
315d3854db
Replay: improved log rate detection
2016-05-07 18:27:19 +10:00
Andrew Tridgell
9da3b8db60
Copter: only log baro, gps and mag if ekf not logging them
2016-05-07 18:27:19 +10:00
Andrew Tridgell
795080742e
AP_AHRS: added have_ekf_logging() API
2016-05-07 18:27:19 +10:00
Andrew Tridgell
71b121837a
AntennaTracker: adjust for changed logging APIs
2016-05-07 18:27:18 +10:00
Andrew Tridgell
ac4da762d1
Rover: adjust for changed logging APIs
2016-05-07 18:27:18 +10:00
Andrew Tridgell
b31e896ef3
Replay: closer to goal of bit-accurate replay
2016-05-07 18:27:18 +10:00
Andrew Tridgell
7ab1367ec4
DataFlash: removed logging of relative alt in GPS messages
...
not related to GPS and makes it impossible to do bit-identical replay
2016-05-07 18:27:18 +10:00
Andrew Tridgell
223c512188
AP_NavEKF2: added logging of sensor data in EKF2
2016-05-07 18:27:18 +10:00
Andrew Tridgell
2718b0649b
HAL_SITL: fixed GPS rate in SITL when speedup used
2016-05-07 18:27:18 +10:00
Andrew Tridgell
8a987bf67d
AP_Baro: removed filtering of baro data in HIL/SITL
...
this was just causing lag in replay and doesn't actually help in SITL
2016-05-07 18:27:18 +10:00
Andrew Tridgell
c85607b80c
AP_GPS: added time_epoch_convert() function
...
used by replay to get identical timestamps
2016-05-07 18:27:18 +10:00
Andrew Tridgell
07060051cf
AP_AHRS: added API for forcing EKF to start
...
used by Replay to sync start times
2016-05-07 18:27:18 +10:00
Andrew Tridgell
f92279f436
AP_NavEKF2: allow logging of IMT data from inside EKF2
2016-05-07 18:27:17 +10:00
Andrew Tridgell
2965e67d5d
HAL_Linux: cope with non-root for Replay
2016-05-07 18:27:17 +10:00
Andrew Tridgell
640a04a1ee
Replay: fixed to handle IMT copter logs
2016-05-07 18:27:17 +10:00
Andrew Tridgell
b235304235
Copter: reduce IMU logging to 25Hz
...
leave more room for IMT logging needed for Replay
2016-05-07 18:27:17 +10:00
Randy Mackay
a5c55c3fbd
Copter: fix get_non_takeoff_throttle
...
The throttle_mid parameter (for historic reason) is interpreted as a value that includes throttle_min. This means we must subtract the throttle_min value from it when converting it to a throttle in the 0 to 1 range.
2016-05-07 12:21:41 +09:00
Randy Mackay
4a06ca4be2
AC_AttControl: remove unused call to motors.set_stabilizing
...
Also minor change to order of a call to motors library to make stabilizing
and non-stabilizing calls consistent.
Non functional change
2016-05-07 10:08:38 +09:00
Randy Mackay
e41f798ba1
AP_Motors: remove unused set_stabilizing
2016-05-07 10:08:36 +09:00
Randy Mackay
2eb0484142
Copter: rename Loiter states and swap order within select statement
2016-05-07 10:08:34 +09:00
Randy Mackay
1c4db779a1
Copter: Loiter stabilizes roll and pitch while landed
2016-05-07 10:08:32 +09:00
Randy Mackay
9c12b64ba5
Copter: rename AltHold states and swap order within select statement
...
No functional change
2016-05-07 10:08:30 +09:00
Randy Mackay
932cd907d4
Copter: AltHold stabilizes roll and pitch while landed
2016-05-07 10:08:28 +09:00
Randy Mackay
3ead74c4be
Copter: remove zero-throttle check from AltHold takeoff state
...
Hard to imagine a reason why we would want to turn off stabilization during takeoff
2016-05-07 10:08:26 +09:00
Andrew Tridgell
2a7edfd3d1
Plane: fixed setting of failsafe for motors in quadplane
2016-05-07 07:25:33 +10:00
Andrew Tridgell
ab0b76764f
RC_Channel: added set_servo_failsafe_pwm()
2016-05-07 07:25:27 +10:00
Andrew Tridgell
46f257fd9b
DataFlash: convert Log_Write() to use a linked list
...
this saves some memory and means we don't need to know how many we
will need in advance
2016-05-07 07:21:16 +10:00
Andrew Tridgell
9a1cbff850
DataFlash: allow access to DataFlash instance as a static singleton
2016-05-07 07:21:16 +10:00
Peter Barker
11dd254498
DataFlash: Log_Write optimisations
2016-05-07 07:21:16 +10:00
Peter Barker
cf15bb5f6e
DataFlash: AllTypes example also covers Log_Write
2016-05-07 07:21:16 +10:00
Peter Barker
b273514cf9
DataFlash: create example outputting all field types
2016-05-07 07:21:16 +10:00
Peter Barker
518fabe035
DataFlash: StopLogging method, virtual stop_logging on backends
2016-05-07 07:21:16 +10:00
Peter Barker
77dd170e03
DataFlash: Log_Write support
...
A generic logging method to avoid the need to set up a format and structures etc
2016-05-07 07:21:16 +10:00
Peter Barker
334af1ecd7
DataFlash: base class method for resetting state on log open
2016-05-07 07:21:16 +10:00