How to modify Delta robot example

4 views (last 30 days)
Timur Tajiyev
Timur Tajiyev on 20 Mar 2022
Answered: Steve Miller on 30 Nov 2022
I changed the model of Delta robot example to do the following:
- the robot moves to certain coordinates (manually entered X-Y-Z) and stands at that position (let's call it P1).
The question is - how can I modify the model and the code to:
- move the robot picker from the point P1 to the new position with some increment (also set manually).
- observe the movement in simulation .

Answers (1)

Steve Miller
Steve Miller on 30 Nov 2022
As you have determined, the path planner figures out where to move the end effector based on the positions of the parts, which you parameterized based on user input. That data enters the path planner at "CamData Pos" input to "Planning and Control" subsystem.
If you want to influence the wait time and sequence for the end effector, you will need to modify the path planner code in "Planning and Control/Path Planner". You can see the sequence in the switch statement of nextMarker.
Altering this sequence, and perhaps inserting a delay in "gotoPosition" within the same function will alter the behavior to match what you are trying to do.
--Steve

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!