Obstacle avoidance and how to create workspace and configuration space

32 views (last 30 days)
Hi guys, I am doing a project in which I have to create a 3R planar robot and 2 obstacles. Now what I really want to do is to draw the robot's workspace and configuration space to show the obstacle avoidance in real time.

Answers (1)

Steve Miller
Steve Miller on 18 Jun 2021
There are many ways to do this. The two primary methods would be to import an environment with obstacles from CAD or to create your obstacles in Simscape Multibody natively. You could use both at the same time (for example, environment from CAD and obstacles from Simscape Multibody).
I would guess it would be valuable to be able to move, orient, and resize your obstacles based on MATLAB data, so I think I would recommend trying to create your obstacles in Simscape Multibody. Take a look at the Simscape Multibody Parts Library and Simscape Multibody Mini Golf Library for some inspiration.
--Steve

Categories

Find more on Simulation and Analysis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!