AiStarter User Guide 7API Function
IssueV1.0.3(2018-09-01) AiStarter User Guide Copyright © Yuejiang Technology Co., Ltd
29
7. API Function
7.1 Initialization
Table 7.1 Initialization
int AIStarter_SmartBotInit ();
7.2 Setting Direction and Speed
Table 7.2 Set direction and speed
int AIStarter_SmartBotSetMovment (int dir, int speed)
dir: Set direction
enum{
FRONT,
BACK,
RIGHT,
LEFT
};
speed: Set Duty Ratio, Value range: 0 – 255
7.3 Setting Direction\Speed\Time
Table 7.3 Set direction\speed\time
int AIStarter_SmartBotSetMovmentTime (int dir, int speed, float time)
Set direction, speed and time
dir: Set direction
enum{
FRONT,
BACK,
RIGHT,