I am trying to draw a silhouette of an image given as input. I got the contour and can make stretch draw multiple figures. Until now, I ran the code with Stretch parallel to the vertical drawing surface.
But I want to program it so that it can travel a small distance after detecting a whiteboard and aligning itself. In order to do that I’m using funmap
and cliff alignment to turn toward the surface, which is working fine so far. But we are unable to change the pan of the camera.
Our drawing surface is parallel to both the arm and the height as shown in the image.
I want to change the position of the camera so that it faces the whiteboard, moves towards it, and aligns itself parallel to the surface with the wrist touching the surface.
I believe I can take care of the last part but everything before that is giving us multiple issues. Right now we are stuck attempting to make the camera face in the direction of the surface (the camera aligns parallel to the arm) What we want:
- Make the camera turn towards the surface with
funmap
running (as shown in the image) - Decide on an alignment, right now stretch is indecisive and moves a bit in an attempt to be aligned.
- Move towards the surface and stop at a certain constant distance.
I think the idea needs more details, I can clarify any topic if need be. Any tips or resources would be helpful. Thanks in advance.