udacity / CarND-Behavioral-Cloning-P3

Starting files for the Udacity CarND Behavioral Cloning Project
https://www.udacity.com/drive
MIT License
438 stars 1.71k forks source link

Need help understanding throttle #13

Closed subodh-malgonde closed 7 years ago

subodh-malgonde commented 7 years ago

The drive.py seems to have changed since the time I worked on this project. Can anyone help me understand what the following line of code does:

throttle = controller.update(float(speed))

Earlier we could set throttle to a constant numerical value, but seems like we cannot do that now.

subodh-malgonde commented 7 years ago

Saw the SimplePIController class and understood how it works. Its a Proportional Integral Controller.