Manual

Table Of Contents
Arduino Kit Demo Description 10 DobotPixy Demo
Issue V2.1 (2019-12-05) Demo Description Copyright © Yuejiang Technology Co., Ltd
40
corresponding Cartesian coordinates B
󰆒
󰆒
󰆒
󰆒
󰆒
󰆒
of three points to obtain the
rotation matrix, so that after the image coordinates of a cube are obtained by the Pixy
vision sensor, the corresponding Cartesian coordinates where Dobot Magician will move
to can be calculated with the R
T
matrix, as shown in. The formula is
.
Attached table 10 Set robot matrix
Attached table 11 Set Pixy matrix
Prototype
void SmartKit_VISSetDobotMatrix(float x1, float y1,float x2, float y2,float x3,
float y3)
Description
Set robot matrix. Namely, Place three cubes in the vision area and make the robot
move to the centers of the three cubes to obtain their Cartesian coordinates.
Parameter
x1: X-axis coordinate of the cube1
y1: Y-axis coordinate of the cube1
x2: X-axis coordinate of the cube2
y2: Y-axis coordinate of the cube2
x3: X-axis coordinate of the cube3
y3: Y-axis coordinate of the cube3
Return
None
Prototype
void SmartKit_VISSetPixyMatrix( float x1, float y1, float length1, float
wide1,float x2, float y2, float length2, float wide2,float x3, float y3, float
length3, float wide3)
Description
Set pixy matrix. Namely, Place three cubes in the vision area and obtain their
image coordinates by the PixyMon.
Parameter
x1: X-axis coordinate of the cube1
y1: Y-axis coordinate of the cube1
length1: Length of the cube1
wide1: Width of the cube1
x2: X-axis coordinate of the cube2
y2: Y-axis coordinate of the cube2
length2: Length of the cube2
wide2: Width of the cube2
x3: X-axis coordinate of the cube3
y3: Y-axis coordinate of the cube3