Robotics StackExchange | Archived questions

Trig and geometry library based on Pose2d?

I need simple geometry utility functions that operate on Pose2d. Or one that interoperates nicely with Pose2d. Simple things like given a Pose2d produce a new one that is 1M in the direction of its theta. And many others. They are simple trig functions I know but it would save trouble and testing if there was already a good library like that.

I am googling but thought I could pick the collective brain.

Asked by pitosalas on 2022-07-15 10:21:02 UTC

Comments

I'm not aware of one. Most easily convert to TF types and use that for any trig functions, they have multiplications and such implemented.

Asked by stevemacenski on 2022-07-15 15:11:11 UTC

Answers