Hints For Rookie Programmers
Thought I would lay down a couple guidelines:
1) Never program when you have less than 6 hours of sleep in the past 24. IT DOESN'T WORK (Without a lot of coffee)
2) Always initialize your PWM outputs to 127. If you don't it will default to 0. (0 is full reverse. I forgot to initialize my motor outputs. We turned on the robot, and it went backwards full speed and almost bashed one of our engineers in the shins... )
3) Don't forget to increase those counters! (Well... I forgot this crucial step in one loop in our autonomous program... our robot was spinning in a circle for about five minutes)
Ok, they're obvious, I know... just thought I'd share them. Anyone got any others to add?
__________________
"It's broken? NOOAAHH!!! This is your doing, isn't it!"
"We can fix it in the software!"
"It's a BROKEN GEAR!"
|