/****************************************************************************** 版权所有 (C), 2018-2099, Radkil ****************************************************************************** 文 件 名 : wheel_if.c 版 本 号 : 初稿 作 者 : radkil 生成日期 : 2026年4月14日 最近修改 : 功能描述 : 行动轮接口抽象层 修改历史 : 1.日 期 : 2026年4月14日 作 者 : radkil 修改内容 : 创建文件 ******************************************************************************/ #include "robot.h" /*----------------------------------------------* * 外部变量说明 * *----------------------------------------------*/ /*----------------------------------------------* * 外部函数原型说明 * *----------------------------------------------*/ /*----------------------------------------------* * 内部函数原型说明 * *----------------------------------------------*/ /*----------------------------------------------* * 全局变量 * *----------------------------------------------*/ /*----------------------------------------------* * 模块级变量 * *----------------------------------------------*/ /*----------------------------------------------* * 常量定义 * *----------------------------------------------*/ /*----------------------------------------------* * 宏定义 * *----------------------------------------------*/ WEAK int WheelMotorInit(void) { printf("Error! This is necessary.\n"); return RB_FAILURE; } WEAK void WheelMotorDirForward(void) { printf("Not support forward!\n"); } WEAK void WheelMotorDirBackward(void) { printf("Not support backward!\n"); } WEAK void WheelMotorStop(void) { printf("Not support stop!\n"); } WEAK void WheelMotorSetSpeed(int _iValue) { printf("Not support set speed[%d]!\n", _iValue); }