Commit Graph

126 Commits

Author SHA1 Message Date
Peter Barker 9851ec1ddb Rover: move arming-related functionality into parent classes
Logging moves up
arming via mavlink moves up
arming via switch moves up
2019-05-30 07:37:30 +09:00
Peter Hall f22d7c906a Rover: move to use new sailboat class 2019-05-15 11:29:39 +09:00
Randy Mackay 20152dbdb7 Rover: fix logging of desired lateral acceleration 2019-05-10 06:55:35 +09:00
Randy Mackay a94ebc5bc3 Rover: integrate navigation library 2019-05-10 06:55:35 +09:00
Peter Barker 5e3be86665 Rover: use RSSI singleton for logging 2019-04-09 09:33:13 +10:00
Peter Barker 4d4a63cc33 Rover: move Log_Write_Error into library 2019-03-27 12:36:40 +11:00
Tom Pittenger d5c67e0b07 Rover: move wheelEncoder logging to library 2019-02-06 10:41:59 +09:00
Tom Pittenger 12f66acfb7 Rover: remove wheel_encoder_rpm 2019-02-05 08:32:37 -08:00
Peter Barker 6fc76a32af GLOBAL: use AP::logger() and strip redundant Log_ from methods 2019-01-18 18:08:20 +11:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Peter Barker b789f75f32 Rover: Log_Write_SIMSTATE no longer takes dataflash pointer 2019-01-18 11:16:54 +11:00
TsuyoshiKawamura 41fd596c06 Rover: improve cruise speed/throttle learning. fix #9777 2019-01-10 20:23:36 +09:00
Randy Mackay 66a2c10203 Rover: proximity logging uses LOG_BITMASK for rangefinder 2018-12-14 09:18:23 +09:00
Peter Barker 29782c3d2e Rover: move AP_Mission object into ModeAuto class
This mirrors what we did for Copter
2018-12-13 13:44:46 +09:00
Andrew Tridgell eb851cf1a6 Rover: log SITL state 2018-12-04 09:44:50 +11:00
Randy Mackay 2db6b7c7cb Rover: move sailboat vars into struct
also fix airspeed library's parameter description
also log NaN when we do not have wind direction or speed estimates
also send timeout message to GCS when taking takes too long
2018-11-01 18:04:19 +09:00
IamPete1 0dddc2eafe Rover: add sailboat tacking 2018-11-01 18:04:19 +09:00
IamPete1 4366bae96d Rover: add sailboat support 2018-09-28 10:40:12 +09:00
Randy Mackay 88a230e897 Rover: DPTH message only written if range finder last read time changed 2018-08-28 09:23:38 +09:00
Randy Mackay 86634c2cca Rover: log desired pitch in ATT message 2018-08-06 11:30:22 +09:00
Randy Mackay e867ef74cc Rover: balance bots log pitch PID 2018-08-06 11:30:22 +09:00
Randy Mackay acfbce95a6 Rover: update NTUN logging
reorder to allow easier comparing of adjacent fields
remove absolutes
rename fields
2018-06-18 10:25:56 +09:00
Randy Mackay b69155793f Rover: add Log_Write_Depth 2018-06-12 08:29:08 +09:00
Randy Mackay d34c87a457 Rover: alphabetise Log_Write methods 2018-06-12 08:29:08 +09:00
Randy Mackay c51b38cd1c Rover: rename Log_Arm_Disarm to Log_Write_Arm_Disarm 2018-06-12 08:29:08 +09:00
Peter Barker a52f3d8f70 Rover: move Log_Write_Home_And_Origin into AP_AHRS 2018-05-17 10:13:42 +10:00
Peter Barker 3afe591368 Rover: correct compilation when logging is disabled 2018-05-10 17:55:13 +09:00
Peter Barker 63e8fffbe4 Rover: Baro does its own dataflash logging now 2018-04-12 19:12:12 +01:00
Peter Barker e74d07ff15 Rover: remove wrapper for Log_Write_Beacon 2018-04-04 16:20:33 +09:00
Peter Barker 9d0da4a71f Rover: move home state into AP_AHRS 2018-03-19 10:32:37 +09:00
Peter Barker 81ba037582 Rover: use baro singleton 2018-03-08 21:20:05 -08:00
Peter Barker 55c27dfc56 Rover: move logging of PM messages to AP_Scheduler 2018-02-13 17:15:05 +11:00
Peter Barker d9bb546048 Rover: use AP_Scheduler's loop() function 2018-02-13 17:15:05 +11:00
Peter Barker 9511e72113 Rover: use PerfInfo for performance monitoring 2018-02-13 17:15:05 +11:00
Michael du Breuil 2e9e91b3a3 Rover: Move battery logging to AP_BattMonitor 2018-02-06 00:11:32 +00:00
khancyr 5503a0069d Rover: add proximity library 2018-01-22 17:18:41 +09:00
Randy Mackay 5d7e3d31c9 Rover: PM log message more consistent with Plane 2017-12-09 16:23:16 +09:00
Randy Mackay 5f62cde550 Rover: remove throttle from NTUN logging
Throttle is more extensively logged in the THR message
2017-12-09 12:18:49 +09:00
Randy Mackay 9710b16cac Rover: THR dataflash logging replaces CTUN 2017-12-09 12:18:49 +09:00
Randy Mackay efae648461 Rover: STR dataflash logging gets turn rate
also get turn rate and lat accel from attitude controller
2017-12-09 12:18:49 +09:00
Randy Mackay 8e80490098 Rover: reporting gets lat accel from attitude control 2017-12-09 12:18:49 +09:00
Randy Mackay 865fb91676 Rover: add rpm to WENC dataflash logging 2017-12-04 09:53:06 +09:00
Peter Barker bf6b3a72bc Rover: support for units on fields 2017-11-23 10:40:30 +11:00
Lucas De Marchi 27be369be7 APMrover2: do not include version.h/ap_version.h
The interface provided by each vehicle should be used to get the
version.
2017-09-23 21:37:45 -07:00
Randy Mackay 7a37a7f921 Rover: integrate simpler Log_Write_EKF 2017-08-23 11:19:14 +09:00
khancyr 2ceb29e9da Rover: use abs for int within calc_speed_nudge
same issue resoled for log-write-nav-tuning
2017-08-17 09:46:56 +09:00
Peter Barker 4c2747bfe8 Rover: use rangefinder backend accessors 2017-08-15 18:30:45 +01:00
Randy Mackay d99108f3bc Rover: use AR_AttitudeControl for throttle control
also direct throttle nudge replaced with speed nudge
calc_speed_max estimates vehicle's top speed based on cruise-speed and
cruise-throttle
steering mode now provides total target speed instead of using speed plug
throttle nudge
motor limits provided to attitude control to stop i-term buildup
uses negative desired speed instead of reversed flag
reporting to GCS uses new throttle controller
braking is simply enabled and allows a reverse motor output regardless of vehicle
speed
2017-08-15 20:47:19 +09:00
Randy Mackay 9097269d6d Rover: use AR_AttitudeControl for steering control 2017-08-15 20:47:19 +09:00
Peter Barker fa2b500e93 Rover: remove CLI 2017-08-14 10:23:50 +09:00