Hello!
I was looking for some answers on PathWeaver and it’s integration in WPILib.
I have read the PathWeaver documentaion here: https://docs.wpilib.org/en/latest/docs/software/wpilib-tools/pathweaver/index.html
And the Trajectory Tutorial here: https://docs.wpilib.org/en/latest/docs/software/examples-tutorials/trajectory-tutorial/index.html
But it seems no one mentions how can I use the trajectories I created in PathWeaver in the WPILib Ramsete Command and Tajectory Following framework.
The problem for me is the use of Rotation2d objects in WPILib (I just don’t know how to find the x, y and angle values of the path I wish to create, looking on answers on that, too!). I was thinking to simply insert the x, y and tangent x, tangent y values of the PathWeaver trajectories, but the angle is made of two values, which I really don’t know how to integrate into the Rotation2d objects.
If anyone knows how to use those two and explain to me, as it seems i’m not so proficient in this topic, please write me.
Thanks!

