Manual

Table Of Contents
Arduino Kit Demo Description 10 DobotPixy Demo
Issue V2.1 (2019-12-05) Demo Description Copyright © Yuejiang Technology Co., Ltd
43
Attached table 21 Clear the numbers of cubes that the pixy detects
Attached table 22 Vision recognition
Attached table 23 Pick cube
Attached table 24 Place cube
Parameter
color: Cube color. Value range: RED, BLUE, YELLOW, GREEN
height: cube height
Return
TRUE: The setting is successful
FALSE: The setting is failed
Prototype
void SmartKit_VISBlockParmCheckNumClear(void)
Description
Clear the numbers of cubes that the pixy detectss
Parameter
None
Return
None
Prototype
char SmartKit_VISRun(void)
Description
Execute the vision recognition to obtain the numbers, colors, coordinates of
cubes
Parameter
None
Return
TRUE: The vision recognition is successful
FALSE: The vision recognition is failed. The cubes may be not detected or the
signature setting is wrong
Prototype
char SmartKit_VISGrabBlock(char color, int blockNum, float r)
Description
Pick cubes
Parameter
color: Cube color. Value range: RED, BLUE, YELLOW, GREEN
blockNum: The number of the cube to be picked
r: Rotation angle when picking a cube
Return
TRUE: The pickup is successful
FALSE: The pickup is failed
Prototype
char SmartKit_VISPlaceBlock(char color)
Description
Place cubes
Parameter
color: Cube color. Value range: RED, BLUE, YELLOW, GREEN
Return
TRUE: The placement is successful