18 lines
270 B
C++
18 lines
270 B
C++
#pragma once
|
|
|
|
#include "main.h"
|
|
#include "bsp/can.h"
|
|
#include "device/motor.h"
|
|
#include "device/motor_rm.h"
|
|
|
|
class Chassis {
|
|
public:
|
|
Chassis();
|
|
void init();
|
|
void operator()();
|
|
private:
|
|
MOTOR_RM_Param_t motors_param[4];
|
|
MOTOR_t chassis_motors[4];
|
|
};
|
|
|