Hello, i bought this 4WD omni wheel robot, i succeded rotating the robot.
I want to add a function with input the direction (radians or degrees) and the the robot can move to this direction. Can someone help me for coding ?
How will the sketch detect that the robot has moved through the required angle ? You cannot rely on time because the motors will run at different speeds as the voltage changes over time.
I will add an IMU. I just need the first move to a directin. I can move the robot to 0°, 90%, 180° and 270°. But i don't know how to move to a specific direction.
I found this equation but didn't work.