ut-robotics / picr21-team-robothree

0 stars 0 forks source link

Avoid using globals as much as possible #2

Open Akustav opened 3 years ago

Akustav commented 3 years ago

https://github.com/ut-robotics/picr21-team-robothree/blob/c8fd9f971ac10de60257a899a258b217f0f8c454/robot_control.py#L16

Avoid using global variables whenever possible. When sending speeds to motor maybe give them as an argument for the send method.