Hi, In basic maths for robotics course, when I am trying to import the class from another turtlebot_moves.py file, it is throwing me an error as shown.
Hello @navjotsinghsodhi52 ,
I’ve been doing some tests and the problem is related to the other import:
from move_triangle import calculate_triangle_parameters
If you remove this import (you’ll need to also move the helper functions to this file) then the import is going to work fine. Doing this:
from turtlebot_moves import *
the * means ‘everything’. So it’s importing everything from this file. I’m not sure though why this method works and importing only the class causes the conflict with the other import. I’ll investigate more about it.