Commit Graph

215 Commits

Author SHA1 Message Date
Andrew Tridgell 0cbe64bc5e Copter: use Log_Write_Baro()
this gives the raw pressure and temperature, which is useful for
analysis, plus allows for more accurate log replay
2014-02-19 09:22:45 +11:00
Andrew Tridgell 5606e2f4a7 Copter: enabled EKF and SIMSTATE flash logging 2014-02-15 05:48:16 +11:00
Andrew Tridgell 9cc00d20eb Copter: fixed for removed DCM blowup counts 2014-02-15 05:29:48 +11:00
Randy Mackay e8c4e8a472 Copter: integrate get_angle_target_for_reporting
Used for logging and sending to GCS
2014-02-15 05:27:47 +11:00
Randy Mackay 3824f528ea Copter: get angle_boost direct from pos_control 2014-02-15 05:27:46 +11:00
Randy Mackay aec67cd3df Copter: integrate control_autotune 2014-02-15 05:27:44 +11:00
Randy Mackay 8e08a1f8ab Copter: remove debug 2014-02-15 05:27:36 +11:00
Randy Mackay 0a2adbac1b Copter: renaming functions after moving xy control 2014-02-15 05:27:36 +11:00
Randy Mackay 5fd9410ff5 Copter: much renaming as xy pos controller moves 2014-02-15 05:27:36 +11:00
Randy Mackay e69eeea246 Copter: log alt target from PosControl 2014-02-15 05:27:34 +11:00
Andrew Tridgell 2bf7a46c9b Copter: log power status on Pixhawk 2014-02-15 05:00:09 +11:00
Andrew Tridgell 0a3476bbf1 Copter: change to new board_voltage() API 2014-02-14 21:50:59 +11:00
Andrew Tridgell 4f2ce31cb7 Copter: log PX4 and NuttX versions in logs 2014-01-14 15:38:51 +11:00
Andrew Tridgell e52f8d6598 Copter: prevent log corruption during log creation 2014-01-14 14:37:48 +11:00
Randy Mackay 138c2803be Copter: combine NTUN and INAV dataflash msgs 2014-01-13 22:00:11 +09:00
Randy Mackay 1e8a79eeaf Copter: add TimeMS, InavAlt to CTUN df msg 2014-01-13 21:31:43 +09:00
Randy Mackay 97b18314ac Copter: add time to ATT, MAG, CURR dataflash msgs 2014-01-13 20:46:54 +09:00
Randy Mackay df9d1614e2 Copter: remove PID logging
Almost never used and eats up limited log description space
2014-01-13 17:23:39 +09:00
Randy Mackay 9f2f44f0f6 Copter: integrate shrunken optflow 2014-01-09 12:31:53 +09:00
Randy Mackay 84881470b1 Copter: suspend logging while disarmed 2014-01-07 22:43:47 +09:00
Andrew Tridgell 97df2f64c9 Copter: use common available_memory() 2013-12-28 16:02:32 +11:00
Andrew Tridgell edda76623f Copter: updates for DataFlash API changes 2013-12-17 11:51:36 +11:00
Andrew Tridgell 5802d7f86b Copter: added logging of 2nd compass 2013-12-10 13:35:04 +11:00
Andrew Tridgell cc3ee2ec0c Copter: added dual compass logging when available 2013-12-10 13:31:42 +11:00
Andrew Tridgell ffdcb715c3 Copter: updates for compass API change 2013-12-09 17:34:06 +11:00
Randy Mackay 4b3aff3f91 Copter: log flight mode to dataflash on start-up 2013-12-06 12:58:23 +09:00
Randy Mackay 9d92e46198 Copter: correct optflow logging 2013-12-02 11:58:28 +09:00
Randy Mackay d7c636b4aa Copter: remove yaw_in from ATT dataflash msg 2013-11-27 22:59:31 +09:00
Randy Mackay 7ef04bb73b Copter: rename nav_yaw to control_yaw 2013-11-27 22:48:20 +09:00
Randy Mackay 10d6a9a34e Copter: replace Log_Write_Motors with Log_Write_RCOU 2013-11-27 20:18:18 +09:00
Randy Mackay af657d58b9 Copter: RCIN dataflash logging 2013-11-27 16:46:25 +09:00
Andrew Tridgell 21eac34cd1 Copter: log system ID if available 2013-11-26 13:00:03 +11:00
Randy Mackay 965af43121 Copter: add INAV error count to PM dataflash msg 2013-11-21 17:02:04 +09:00
Randy Mackay 7dd4ab835f Copter: CURR dataflash msg to output throttle_out
Previously it was outputting throttle-in which is not as useful in
autonomous modes
2013-11-18 13:30:48 +09:00
Randy Mackay 1359a8fea5 Copter: log INS errors in PM message 2013-11-18 12:16:21 +09:00
Randy Mackay 5cc8772947 Copter: bug fix to Tricopter motor logging
Fourth motor taken from yaw channel's radio_out instead of random
location in memory
2013-11-16 10:48:02 +09:00
Randy Mackay 1f6bc7bd9c Copter: log TradHeli ch7, ch8 in MOT message 2013-11-15 22:58:17 +09:00
Robert Lefebvre 9ae66c1773 TradHeli: add support for drive tail rotors
Repurposed external gyro and made it multi-funcitonal.
required PWM on Ch8 to start the motor in RSC Mode moved up from 100 to 400. This is to facilitate two-stage switching of the motors with PWM>100 starting the tail motor, and PWM>400 starting the main motor.
Additional amendments by Randy
2013-11-15 22:58:04 +09:00
Randy Mackay 46118b59d7 TradHeli: integrate motor lib changes 2013-11-15 22:57:43 +09:00
Andrew Tridgell 6b1f59372c Copter: show git and firmware version in tlog 2013-11-09 10:09:20 +11:00
Tobias d6d5f0bbe4 Copter: Log.pde: replace unused copy with ref (saves again some bytes) 2013-10-27 13:40:40 +09:00
Andrew Tridgell 92bf4b9c89 Copter: added MAVLink SYSTEM_TIME message 2013-10-24 14:22:47 +11:00
Randy Mackay ba92c4891a Copter: make AutoTune a compile-time option 2013-10-04 15:50:50 +09:00
Randy Mackay 31cea0140d Copter: Leonard's AutoTuning for Roll and Pitch 2013-10-04 15:50:47 +09:00
Randy Mackay dab4f032f9 Copter: integrate BattMonitor 2013-10-03 11:16:28 +09:00
Randy Mackay a53d28e018 Copter: remove support for dmp ahrs 2013-09-27 10:42:49 +09:00
Andrew Tridgell a06f8a156d Copter: fixed PX4 build 2013-08-19 21:12:41 +10:00
Randy Mackay 2696e160e6 Copter: surface tracking improvement
Separate correction speeds for pilot input vs altitude-above-ground
errors to allow slower correction to sonar signals.
Change SONAR_GAIN parameter to be altitude error -> desired speed.  This
means it should be set 10x larger than before.
Replace hard-coded sonar cut-off percentage of 70% with
SONAR_RELIABLE_DISTANCE_PCT.
Reduce sonar cut-off percentage to 60%.
Add desired sonar altitude to dataflash log's CTUN message.
2013-08-19 09:52:59 +09:00
tobias 4e73cf810e Copter: added cast to remove compiler warning 2013-07-08 12:07:50 +10:00
Randy Mackay 4ad395e7be Copter: merge WPNAV into NTUN dataflash message 2013-05-19 22:53:35 +09:00