|
Re: Field oriented holonomic code?
This ones pretty easy..
Code the robot so the frame moves in vectors relative to the base. (Velocity and direction)
Determine the input vector (trig)
Subtract the difference in direction (heading of robot - direction of input vector)
Do it.
|