CS 354 Autonomous Robotics
Fall 2020
Accelerating the Train -- Easy for a Robot?
Learning Objectives
This lab is designed with the following learning
objectives:
- Introduction to control loops for acceleration
Tasks
Working in a group of 3 to 4 people (one of which needs to have Python3 and Tk (tkinter)
installed.
Notice that the train does not stop at the goal position (the arrow).
Experiment with changing controller.py so that the train
stops at the goal location by changing the get_force method.
Place all the names in your group at the top of
controller.py and submit controller.py to
Canvas .
- Download these 3 files and place them in the same directory.
- Run the locomotive simulation by opening a termina/command prompt and typing the following:
python3 controller.py