Closed BD103 closed 20 hours ago
This adds the ability to find the position of the robot given the encoder values of all 3 wheels.
TriWheels.wheelRatio
compute
rotation
TriWheels.inverse
Polar2d
Vector2d
Aside from the fact that I don't fully understand how it works looks good.
Pull me aside one day and I can explain it :)
This adds the ability to find the position of the robot given the encoder values of all 3 wheels.
TriWheels.wheelRatio
tocompute
, made it public, and removed therotation
argument.TriWheels.inverse
method, which finds the inverse ofcompute
.Polar2d
to represent polar coordinates. It complements the Cartesian form,Vector2d
.