20#include "front_controller.h"
21#include "ws22_motor_can.h"
29#define VEL_TO_RPM_RATIO 0.57147
52StatusCode motor_can_transmit_drive_command(
void);
StatusCode motor_can_init(FrontControllerStorage *storage)
Initializes the motor can, loads front controller storage data.
Definition: motor_can.c:154
StatusCode motor_can_get_current_state(VehicleDriveState *current_state)
retrieve current vehicle drive state
Definition: motor_can.c:164
StatusCode motor_can_update_target_current_velocity()
Updates target current and velocity of motors based on drive state.
Definition: motor_can.c:88
VehicleDriveState
Vehicle drive states.
Definition: global_enums.h:32
StatusCode
StatusCodes for various errors.
Definition: status.h:27
CAN message structure.
Definition: can_msg.h:56
Front Controller storage.
Definition: front_controller.h:93