Lab 10B Log

 

AEV Lab 10B Log (March 30, 2015)

PRELAB
-Derek wrote Gamma Alpha, Gamma Bravo, Gamma Charlie for testing tomorrow in lab

++++++++++++++++++++++++++++++++
INLAB

CODE GAMMA ALPHA
brake(4);
// Initial Setup
brake(4);

// 1. Start up (5 inches down track)
motorSpeed(4,45);
goToAbsolutePosition(11);
brake(4);

// 2. Coasting (10 inches down track)
goToRelativePosition(11);

// 3. Boost A (15 inches down track)
motorSpeed(4,25);
goToRelativePosition(11);
brake(4);

// 4. Coasting (20 inches down track)
goToRelativePosition(11);

//5. Boost B (25 inches down track)
motorSpeed(4,35);
goToRelativePosition(11);
brake(4);

// 6. Coasting (30 inches down track)
goToRelativePosition(11);

// 7. Boost C (35 inches down track)
motorSpeed(4,25);
goToRelativePosition(11);
brake(4);

// 8. Coasting (40 inches down track)
goToRelativePosition(11);

// 9. Boost D (45 inches down track)

Leave a Reply

Your email address will not be published. Required fields are marked *