![]() |
Midnight Sun Firmware
|
Motor status and telemetry data structure. More...
#include <ws22_motor_can.h>
Public Attributes | |
| uint16_t | error_flags |
| uint16_t | limit_flags |
| float | bus_current |
| float | bus_voltage |
| float | vehicle_velocity |
| float | motor_velocity |
| float | phase_b_current |
| float | phase_c_current |
| float | voltage_d |
| float | voltage_q |
| float | current_d |
| float | current_q |
| float | back_emf_d |
| float | back_emf_q |
| float | rail_15v_supply |
| float | heat_sink_temp |
| float | motor_temp |
Motor status and telemetry data structure.
| float back_emf_d |
D-axis back EMF (V)
| float back_emf_q |
Q-axis back EMF (V)
| float bus_current |
DC bus current (A)
| float bus_voltage |
DC bus voltage (V)
| float current_d |
D-axis current (A)
| float current_q |
Q-axis current (A)
| uint16_t error_flags |
Motor controller error flags
| float heat_sink_temp |
Heat sink temperature (°C)
| uint16_t limit_flags |
Motor controller limit flags
| float motor_temp |
Motor temperature (°C)
| float motor_velocity |
Motor velocity (rpm)
| float phase_b_current |
Phase B current (A)
| float phase_c_current |
Phase C current (A)
| float rail_15v_supply |
15V rail voltage (V)
| float vehicle_velocity |
Vehicle velocity (m/s)
| float voltage_d |
D-axis voltage (V)
| float voltage_q |
Q-axis voltage (V)