/* 6.270 * Team 13 * Jan. 2005 Team Members: - Omar Bashir - Adam Kumpf - Ji Zhang Robot Name: Awesom-o */ /* Main ////////////////////////*/ void main () { if (using_RF) { rf_team = 13; rf_enable(); /* start RF */ } printf("\nPress start.. Bat:%f",(float)(analog(batt_port)-52)/1.330); wait_start(); calibrate_IR(); calibrate_gyro(); beep(); beep(); beep(); printf("\nGodspeed, Awesom-o!"); if(using_RF) start_machine(); /* wait for start command */ /* Match started */ start_process(update_angle()); newthread_mcgruff(); /* start watchdog process */ init_servo(); find_team_and_orientation(); /* set globals teamisblack, rf_our_team, initial orient */ execute_strategy(); killthread_mcgruff(); }