You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
586 B
C++
32 lines
586 B
C++
#ifndef __OPENMV_OPT__
|
|
#define __OPENMV_OPT__
|
|
|
|
#include <ExtSRAMInterface.h>
|
|
#include "GlobalDatas.h"
|
|
#include <DCMotor.h>
|
|
#include <Command.h>
|
|
|
|
namespace OpenMVOpt
|
|
{
|
|
extern uint8_t Data_OpenMVBuf[8];
|
|
|
|
//车身姿态调整
|
|
void AdjustCarPosition(uint8_t Car_Speed);
|
|
|
|
//启动视频循迹
|
|
void OpenMVTrack_Disc_StartUp();
|
|
//停止视频循迹
|
|
void OpenMVTrack_Disc_CloseUp();
|
|
//循迹(到下一路口)
|
|
void OpenMV_Track(uint8_t Car_Speed);
|
|
|
|
//启动二维码识别
|
|
void OpenMVQr_Disc_StartUp();
|
|
//停止二维码识别
|
|
void OpenMVQr_Disc_CloseUp();
|
|
|
|
//舵机角度控制
|
|
void Servo_Control(int8_t angle);
|
|
};
|
|
|
|
#endif |