Lab 8 Code

The code takes the AEV around the first part of the track to pick up the cargo.

Lab 8 Results

// First Half of Track            

reverse(4);                              

motorSpeed(4,32);                        

goToAbsolutePosition(128);               

brake(4);                                

goToAbsolutePosition(323);               

reverse(4);                              

motorSpeed(4,19);                        

goFor(0.5);                              

brake(4);                                

goFor(7);                                

 

//second half of track                                          

reverse(4);                              

motorSpeed(4,32);

goToAbsolutePosition(500);               

brake(4);