Tuesday, January 22, 2013

2.1
Write-Up Component
Create a diagram of the FSM in SimpleFSM. Go through the steps the FSM performs and
draw each state as a node. Connect nodes to each other with triggers.





4.1
Write-Up Component
For this portion of the write up, just include a screen shot of a successful compile of
Polu - louSimpleFSM.ino
5.1
Write-Up Component
Go through the robot specific code and look for the function which defines the PID controller
for the robot. Write up a quick description of what each of the components (error, integral,
derivative) contribute to the final control input. How would adjusting these values change
the behavior of the robot?

the guts of the PID function is as follows:

error/100 + integral_/50000 + derivative*3/10;
So, this gives us 3 variables that we are adjusting in order to determine their effects on the behavior of the robot, error, integral, and derivative. Proportion should be bulk of term, under-proportion results in control actions that are too small to be effective, large numbers result in an unstable system. ( Think over adjusting self-destruction ). Integral controls the speed at which the device resets, so a large value here can mean that the device continually overshoots when it tries to recenter Derivative is used to clean up the overshooting performed by the integral.

7.1
Write-Up Component
Give a detailed description of your learning algorithm. Why did you decide on the method
you implemented? How does it work in simulation? We have provided two dierent mazes
to test your learner on. Please provide screen shots of the resulting outputted FSM string
created by your learner for each maze.

We implemented a sensor driven depth first search generating a data structure that will contain the correct path. By senor driven I mean we don’t turn on delay we turn till we see a line in front of us. the data structure is a node tree with 4 possible pointers, 1 in each direction. It does work in simulation on both mazes.




No comments:

Post a Comment