There's more…

So now, we're getting real-time data from the robot's environment. Do you think that this will affect the motion plans that are calculated in any way? Let's do the following experiment in order to understand that!

First of all, we will launch the MoveIt RViz environment with perception. Next, in the motion screen, we will select the Start pose that we have created in the previous section, and plan a trajectory to go there, as shown in the following screenshot:

Planning a trajectory with Obstacle

Subsequently, we will remove the object from the simulation by right-clicking on it, selecting the Delete option, and then planning ...

Get Robot Operating System Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.