-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RSDK-9587 generate series of waypoints to cover surface given a pcd mesh #4719
RSDK-9587 generate series of waypoints to cover surface given a pcd mesh #4719
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a fan of merging meshes and triangles as public structures considering this just makes them difficult to change in the future. We should just move this to our private sanding package until its more developed
…nts-to-cover-surface-given-a-pcd-mesh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the triangle functions are unused here. If possible would like to keep them with the rest of the coverage code so everything is in the same place
spatialmath/triangle.go
Outdated
|
||
// ClosestPointTriangleCoplanarPoint takes a point, and returns the closest point on the triangle to the given point | ||
// The given point *MUST* be coplanar with the triangle. If it is known ahead of time that the point is coplanar, this is faster. | ||
func ClosestPointTriangleCoplanarPoint(t *Triangle, pt r3.Vector) r3.Vector { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't realize these triangle functions were currently unused (or at least I cant see any other references to them in this PR). Can we just move them to the rest of coverage code?
Add assorted public methods associated with Triangles and Meshes.
Also adds several helpful debug statements.