You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
391 B
15 lines
391 B
#include "motor_drive.h"
|
|
|
|
void motor_init(motor_t* motor) { return; }
|
|
void motor_set_zero_point() { return; }
|
|
/**
|
|
* @brief 返回当前电机所在位置0->360
|
|
*
|
|
* @return uint32_t
|
|
*/
|
|
uint32_t motor_get_position_degree() { return 0; }
|
|
/**
|
|
* @brief 电机转到多少度
|
|
*/
|
|
void motor_run_to_postion(int potion) { return; }
|
|
void motor_reg_event_cb(motor_on_event_t onevent) { return; }
|