Jump to content

Paint robot trajectory


AntoineSfx

Recommended Posts

(TSP= traveling salesman problem)

So I'm trying to animate an arm, which would spray paint on a surface.

I want to define a curve with respect to a surface, with those properties:

1/ cover the entire surface, within a radius (paint is sprayed within a cone)

2/ offset to the surface, and always on the same side -- every point on the final curve (not only control points) should be at a certain distance along the normal of the surface

3/ somehow minimal in length, but not necessarily.

I have a first draft for the trajectory, which is really simple: scatter some points on the surface, then sort the points by spatial locality. However, it doesn't generate TSP-style trajectory, there are big jumps, which happen to cross the surface (violates the same side constraint  -- 2)

How can I do this without going full TSP ?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...