Commit Graph

14 Commits

Author SHA1 Message Date
Randy Mackay a09013c656 AP_Torqeedo: correct display system state motor power field type
No need to store as float
2021-10-19 01:30:51 -04:00
Randy Mackay 90f7e15bcb AP_Torqeedo: fixups from peer review 2021-10-19 01:30:51 -04:00
Randy Mackay 866ea184c8 AP_Torqeedo: major refactor and enhancement
SLEW_TIME specifies the rate of change in output to the motor
DIR_DELAY specifies the length of the pause at zero during forward-reverse transitions
POWER param allows configurable power output
Consume Display system state and setup messages
Consume Motor messages to retrieve volt and current
TRQD logs on each motor speed update
AP_Torqeedo: request and consume motor status messages
ESC_Telemetry support
Battery info accessor
Add real-time error reporting of failures to user
Support user manually clearing motor errors via RC
Improve message reply handling
Tiller message consumption improved
Messages with unexpected lengths increment error count
Enums added
Comments improved
Remove unused include
Disable for AP_Periph and minimise features
2021-10-19 01:30:51 -04:00
Randy Mackay e61624d43b AP_Torqeedo: motor connector method output slowed to 10hz 2021-10-19 01:30:51 -04:00
Randy Mackay b399649c36 AP_Torqeedo: increase speed cmd at 50hz
under human control the tiller/battery only sends at 3hz but in testing it is capable of at least 50hz (but not as much as 100hz)
2021-08-12 10:54:36 +10:00
Randy Mackay 1ccbe0d0df AP_Torqeedo: fixes after peer review 2021-08-09 15:13:24 +09:00
Randy Mackay 4c7f23bb67 AP_Torqeedo: pre-arm does not provide prefix 2021-08-09 15:13:24 +09:00
Randy Mackay b147d59ab7 AP_Torqeedo: rename TRQD_DEBUG to OPTIONS and make bitmask 2021-08-09 15:13:24 +09:00
Randy Mackay 2890c1c651 AP_Torqeedo: health reporting based on sending and receiving 2021-08-09 15:13:24 +09:00
Randy Mackay 9ffd22fad0 AP_Torqeedo: support connection to motor or tiller 2021-08-09 15:13:24 +09:00
Randy Mackay 8ebb6165f7 AP_Torqeedo: logging and debug output 2021-08-09 15:13:24 +09:00
Randy Mackay 7bcd43eb0d AP_Torqeedo: add healthy and pre-arm checks 2021-08-09 15:13:24 +09:00
Randy Mackay 719b1e1267 AP_Torqeedo: serial RTS pin can turn motor on 2021-08-09 15:13:24 +09:00
Randy Mackay 50ce79bcf6 AP_Torqeedo: simple driver to control torqeedo 1003 motor
includes fixes from peer review
2021-07-13 10:01:14 +09:00