Coder Social home page Coder Social logo

carnd-pid-control-project's Introduction

CarND-Controls-PID

Self-Driving Car Engineer Nanodegree Program


Reflection

1. Describe the effect each of the P, D, I components had in the implementation.

The proportional component P of the PID controller leads to the vehicle steering back into the center of the road in order to reduce the CTE of the off-center position. In playing around with the chosen P value I was able to observe a stronger or less strong effect of this "pulling" into the road center. The differential component D of the PID controller is looking at the differential values of the CTE and through that is acting to counteract oversteering from the P component of the controller. In playing around with the chosen D value I was able to observe a stronger or less strong "counter-steering" around the center of the road, leading to less stable conditions at higher values. The integral component I of the PID controller is summing the historic total of the CTE error and acting on that, which helps in counteracting a systematic bias possible from an off-center position of the wheels mounted to the car as was described in the lesson.

2. Describe how the final hyperparameters (P, I, D components) were chosen.

The hyperparameters were actually chosen manually. Already with the first set of values chosen (0.1, 0.001, 1.0) I was lucky and got some encouraging results. The I value was chosen small on purpose as it sums the CTE error over a long time and bigger values might put too much weight on the I component of the controller. The D value was chosen bigger than the P value as it acts already on the differential which should be smaller than the difference the P value is acting on. In tuning the parameters some more I arrived at P=0.13, I=0.0015 and D=3.5. No Twiddle or SGD is used which certainly would provide even better hyperparameters especially necessary for higher speed settings tuning efforts.

carnd-pid-control-project's People

Contributors

domluna avatar baumanab avatar vbrichzin avatar mvirgo avatar swwelch avatar davidobando avatar citlaligm avatar htuennermann avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.