![]() |
NTURT Zephyr v0.0.1
NTURT common library for Zephyr RTOS
|
VCU CAN bus data conversion macros. More...
Collaboration diagram for VCU CAN bus data conversion.:Macros | |
| #define | INV_TORQUE_PHY_TO_CAN_L(phy) |
| Left inverter torque physical data in Nm (double), convert to 0.001 rated torque (int16_t). | |
| #define | INV_TORQUE_PHY_TO_CAN_R(phy) |
| Right inverter torque physical data in Nm (double), convert to 0.001 rated torque (int16_t). | |
| #define | INV_SPEED_CAN_TO_WHEEL_PHY_L(can) |
| Left inverter speed CAN data in RPM (int16_t), convert to wheel speed in RPM (double) after reduction. | |
| #define | INV_SPEED_CAN_TO_WHEEL_PHY_R(can) |
| Right inverter speed CAN data in RPM (int16_t), convert to wheel speed in RPM (double) after reduction. | |
| #define | INV_TORQUE_CAN_TO_WHEEL_PHY_L(can) |
| Left inverter torque CAN data in 0.001 rated torque (int16_t), convert to wheel torque in Nm (double). | |
| #define | INV_TORQUE_CAN_TO_WHEEL_PHY_R(can) |
| Right inverter torque CAN data in 0.001 rated torque (int16_t), convert to wheel torque in Nm (double). | |
VCU CAN bus data conversion macros.
| #define INV_SPEED_CAN_TO_WHEEL_PHY_L | ( | can | ) |
#include <vcu/canbus/convert.h>
Left inverter speed CAN data in RPM (int16_t), convert to wheel speed in RPM (double) after reduction.
| #define INV_SPEED_CAN_TO_WHEEL_PHY_R | ( | can | ) |
#include <vcu/canbus/convert.h>
Right inverter speed CAN data in RPM (int16_t), convert to wheel speed in RPM (double) after reduction.
| #define INV_TORQUE_CAN_TO_WHEEL_PHY_L | ( | can | ) |
#include <vcu/canbus/convert.h>
Left inverter torque CAN data in 0.001 rated torque (int16_t), convert to wheel torque in Nm (double).
| #define INV_TORQUE_CAN_TO_WHEEL_PHY_R | ( | can | ) |
#include <vcu/canbus/convert.h>
Right inverter torque CAN data in 0.001 rated torque (int16_t), convert to wheel torque in Nm (double).
| #define INV_TORQUE_PHY_TO_CAN_L | ( | phy | ) |
#include <vcu/canbus/convert.h>
Left inverter torque physical data in Nm (double), convert to 0.001 rated torque (int16_t).
| #define INV_TORQUE_PHY_TO_CAN_R | ( | phy | ) |
#include <vcu/canbus/convert.h>
Right inverter torque physical data in Nm (double), convert to 0.001 rated torque (int16_t).