Hi!
I am building a little maze runner project. I will implement the simple “follow the wall” algorithm.
I need help turning a epuk robot 90 degrees to the right and to the left.
I am using a simulation environment called WEBOTS.
I want my controller to be in C language.
I tryed using wb_robot_step(TIME_STEP)
to make the robot rotate for a certain amount of time but I didnt quite get it.
I also read somewhere online that I could possibly use the InertialUnit module to get the position of the robot on the y axis and rotate the robot until the angle is correct, but I didn’t find any examples on that either.
The few examples I found online used the DifferentialWheels node, but it is deprecated and I don’t want to use it (https://www.cyberbotics.com/doc/reference/differentialwheels).
I appreciate any help !