⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 motors.h

📁 simple program for e-puck robot
💻 H
字号:
#ifndef _MOTORS
#define _MOTORS

/* functions */

void InitMotors(void); // init to be done before using the other calls

void SetSpeedLeft(int motor_speed); 	// motor speed in steps/s
void SetSpeedRight(int motor_speed);  	// motor speed in steps/s
int GetStepsLeft(void);					// motors steps done left
int GetStepsRight(void);				// motors steps done right
void SetStepsLeft(int set_steps);		// set motor steps counter
void SetStepsRight(int set_steps);		// set motor steps counter
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -