Basic maths for Robotics

Hello,

I’m in this step of " scape of a maze" of Basic Maths for Robotics:

**The robot needs the function turn() from Unit2 to rotate

In the case that the robot decides to go left, it has to rotate 180 degrees. Take the function turn(target_angle) from Unit2, Exercise 2.2 and paste it into the TurtlebotProject class, in turtlebot_project.py file.

I don’t know how to find this information to paste at “the turtlebot_project.py file” ( Unit 2, exercise 2.2 )

Thanks

Hello @xavier_ros ,

In Unit 2, Exercise 2.2, you can find a Python script named move_turn.py which contains this function:

You need to copy this function and paste to the code of your project, turtlebot_project.py.