Manual
Table Of Contents
- 1. Introduction
- 2. FlickerLED Demo
- 3. AlarmLED Demo
- 4. AdjustLED Demo
- 5. Button Demo
- 6. SeedVoiceLED Demo
- 7. MoveBlock Demo
- 8. SeedVoiceDobot Demo
- 9. JoyStick Demo
- 10. DobotPixy Demo
- Appendix A Common Function Description
- Appendix B Installing Suction Cup Kit
- Appendix C Pixy Install and Configure Pixy
- Appendix D Vision Recognition Initialization Process
- Appendix E Multiplexed I/O Interface Description of V1 Dobot Magician
- Appendix F Multiplexed I/O Interface Description of V2 Dobot Magician
Arduino Kit Demo Description 10 DobotPixy Demo
Issue V2.1 (2019-12-05) Demo Description Copyright © Yuejiang Technology Co., Ltd
36
Pick and place cubes. If there are multiple cubes in the same color, these cubes will
be piled when placing them.
Program 10.3 Pick and place cubes
SmartKit_VISRun(); //Vision recognition: Obtain the numbers, colors and coordinates of the cubes.
color = GREEN;
Dobot_SetPTPJumpParams(10); //Set the lifting height
while (SmartKit_VISGrabBlock(color, 1, 0) == TRUE) // Pick the cube
{
Dobot_SetPTPJumpParams(30); //Set the lifting height
SmartKit_VISPlaceBlock(color); // Place the cube
};
SmartKit_VISSetBlockPlaceNum(color, 0); // Clear the placing number
……
……