Open aswathgovind opened 1 year ago
Now as we can move the robot, we have to randomly generate poses randomly and assign them to the spawned obstacles. For that we can do the following:-
1) Sample points on a plane that is parallel to the floor plane 2) Load collision objects with a fixed orientation on the sampled points 3) Apply collision filtering among themselves and the floor plane., except the robot body.
Here, they have recommended to use the loadURDF()., etc methods for collision spawning., But, I think it is good to try out ways to use the createCollisionShape(), and createVisualShape(). All I think learning to implement the createCollisionShapeArray() will also be of great use.
So, we can do two things here, 1) Lets use the createVisual/CollisionShape() API here, in this issue
2) Use the CollisionShapeArray to generate all the random obstacles in the environment.
Environment:- The Maze environment shall be spanned. Let it be an environment with randomized obstacles so that it is new during each call.