Is there a way we can add an object in the robot scene so the robot will compute a path that avoid collisions with this object (for example pick an object here then put it in the box without destroying the box)
My idea was to add a simplified stl (for example) file that describes my box or the thing to consider in the planning scene, is it possible ? Do you have any advice on making this ?
This is not implemented on the robot, but with the ROS functionalities that’s something you can really achieve.
You’ll have to use the planning scene functionalities of the Moveit library to do that.
First, note that the planning scene and 3D stuff are disabled on the Raspberry Pi environment (due to 1. lack of compatibility with some libraries for arm systems and 2. for performance).
You can start to work on that with the simulation mode on a x86 computer. Then, what you can do is to run the hardware control stuff on the Raspberry Pi, and the Moveit functionalities on another computer (it’s easy to do with ROS, you can simply run different nodes on different machines).
If you happen to start such a project, feel free to keep us updated on the forum, and if you feel like it, post your results on github!