Commit Graph

16 Commits

Author SHA1 Message Date
Andy Piper 677d863401 AP_ToshibaCAN: generalise ESC telemetry to allow harmonic notch handling with other ESCs
remove send_esc_telemetry_mavlink()
log telemetry data in frontend
remove datastructures and semaphore obsoleted by AP_ESC_Telem* (<amilcar.lucas@iav.de>)
record volts, amps and consumption as floats
2021-05-12 17:01:11 +10:00
Siddharth Purohit 65ea8e1f13 AP_ToshibaCAN: use new CANIface drivers and CANManager
also had to add a work-around for issue with constexpr in gnu++11 build under sitl
2020-08-19 17:31:09 +10:00
Randy Mackay 5b7918030f AP_ToshibaCAN: correct unused portion of motor reply data1 packet 2020-07-09 08:41:42 +09:00
Randy Mackay 0850b0acae AP_ToshibaCAN: handle negative RPM 2020-07-09 08:41:42 +09:00
Randy Mackay 1d8e4ce5ac AP_ToshibaCAN: move usage_sec in telemetry struct
According to WickedShell this saves 48bytes of RAM
2020-02-12 11:58:34 +09:00
Randy Mackay 415ba0f40d AP_ToshibaCAN: add accessors for use by scripts 2020-02-12 11:58:34 +09:00
Randy Mackay 2bc91cbc4d AP_ToshibaCAN: request usage time from ESC 2020-02-12 11:58:34 +09:00
Randy Mackay 9fd315f061 AP_ToshibaCAN: add get_motor_request_data_cmd helper function 2020-02-12 11:58:34 +09:00
Randy Mackay 9fe624ab77 AP_ToshibaCAN: consume and log motor temperature
also fix esc temperature consumption
also minor change to temperature logging multipler (was float, now
unsigned)
2019-11-26 11:56:33 +11:00
Randy Mackay 45ce8e8d79 AP_ToshibaCAN: add get_present_mask for use in pre-arm checks 2019-11-01 16:09:52 +08:00
Randy Mackay ad55b961a4 AP_ToshibaCAN: consume current sent by ESC 2019-11-01 16:09:52 +08:00
Randy Mackay f6b669e3d8 AP_ToshibaCAN: rename millivolts to voltage_mv
also add some comments
2019-11-01 16:09:52 +08:00
Randy Mackay 72d4727bcf AP_ToshibaCAN: log and report temp 2019-02-18 20:55:47 +09:00
Randy Mackay d0fef6daed AP_ToshibaCAN: log and report rpm and voltage 2019-02-18 20:55:47 +09:00
Siddharth Purohit 70da885214 AP_ToshibaCAN: add argument for enabling filters, unsupported 2019-01-23 15:57:05 +11:00
Randy Mackay fdf51a6a51 AP_ToshibaCAN: driver to support Toshiba CAN ESCs 2019-01-18 17:30:28 +11:00