|
Re: Programming - Getting Started
1) Programming will take more time than you expect, especially if you want autonomous to work. Tell the team that the robot needs to be driving and in your (the programmer's) hands with at least three days before shipping.
2) Rookies: Don't program without sleep. Sure, you'll hear the experienced programmers bragging about a 36-hour code marathon, but all that means is that they are good at procrastinating. And working without sleep.
3) Don't forget to initialize a variable you are using as a PWM output to 127.
4) Increment your counters! (One year my robot span around in a circle for about three minutes...)
5) If at all possible, make sure the code works *before* dumping it into your robot
6) When testing your robot, lift it off the ground. Prop it up somehow. This can save lives! (well, shins, anyways)
Good Luck!
__________________
"It's broken? NOOAAHH!!! This is your doing, isn't it!"
"We can fix it in the software!"
"It's a BROKEN GEAR!"
|