19#include "front_controller.h"
20#include "ws22_motor_can.h"
28#define VEL_TO_RPM_RATIO 0.57147
StatusCode motor_can_init(FrontControllerStorage *storage)
Initializes the motor can, loads front controller storage data.
Definition: motor_can.c:126
StatusCode motor_can_get_current_state(VehicleDriveState *current_state)
retrieve current vehicle drive state
Definition: motor_can.c:136
StatusCode motor_can_update_target_current_velocity()
Updates target current and velocity of motors based on drive state.
Definition: motor_can.c:42
StatusCode motor_can_forward_can_data()
forward necessary motor data over CAN
Definition: motor_can.c:108
VehicleDriveState
Vehicle drive states.
Definition: global_enums.h:32
StatusCode
StatusCodes for various errors.
Definition: status.h:27
Front Controller storage.
Definition: front_controller.h:91