|
Page 1 of 1
|
[ 5 posts ] |
|
F-Zero SNES playing robot
| Author |
Message |
|
CC335
Expert
Joined: Sat Sep 20, 2008 12:16 pm Posts: 106 Location: Curently fighting aliens on P3X-828
|
 F-Zero SNES playing robot
I have a collection of F-Zero videos from a guy called faust. I was thinking of programing a robot to play F-Zero, and I have been using the videos as research. I would like help in programing the robot. here is my code so far, I still have to make the Include files for the programs so I can make the program in modules:  |  |  |  | Code: #pragma config(Hubs, S1, HTServo, HTServo, none, none) #pragma config(Servo, srvo_S1_C1_1, servoA, tServoNormal) #pragma config(Servo, srvo_S1_C1_2, servoB, tServoNormal) #pragma config(Servo, srvo_S1_C1_3, servoC, tServoNormal) #pragma config(Servo, srvo_S1_C1_4, servoD, tServoNormal) #pragma config(Servo, srvo_S1_C1_5, servoE, tServoNormal) #pragma config(Servo, srvo_S1_C1_6, servoF, tServoNormal) #pragma config(Servo, servo1, servoG, tServoNormal) #pragma config(Servo, servo2, servoH, tServoNormal) #pragma config(Servo, servo3, servoI, tServoNormal) #pragma config(Servo, servo4, servoJ, tServoNormal) #pragma config(Servo, servo5, servoK, tServoNormal) #pragma config(Servo, servo6, servoL, tServoNormal) //*!!Code automatically generated by 'ROBOTC' configuration wizard !!*//
int mode1; int mode2; int mode3; bool boost; int modetrack; bool drift; bool wind; int track;
task main() { mode1 = 1; modetrack = 1; while(mode1 == 1) { if(nNxtButtonPressed == 2) { --modetrack; wait10Msec(100); } if(nNxtButtonPressed == 1) { ++modetrack; wait10Msec(100); } if (modetrack == 1) { eraseDisplay(); nxtDisplayCenteredTextLine(2, "Mute City"); if (nNxtButtonPressed == 3) { ++mode1; } } if (modetrack == 2) { eraseDisplay(); nxtDisplayCenteredTextLine(2, "Big Blue"); nxtDisplayCenteredTextLine(4, "NOT PROGRAMED YET"); } } }
|  |  |  |  |
Any usable code is desired, and anyone who would like to write partial code or full Include files for the project will get credit if their code is used, so no odd off-topic snipits of code to try to get credit.
_________________ Sorry, your program could not be downloaded. Please reboot your computer. FTC Team #2959 Team Smash Bros CLICK HERE.(or click www) Agreed
|
| Wed Oct 01, 2008 4:31 pm |
|
 |
|
CC335
Expert
Joined: Sat Sep 20, 2008 12:16 pm Posts: 106 Location: Curently fighting aliens on P3X-828
|
 Re: F-Zero SNES playing robot
...
I guess no one else is interested
Anyone?
...
_________________ Sorry, your program could not be downloaded. Please reboot your computer. FTC Team #2959 Team Smash Bros CLICK HERE.(or click www) Agreed
|
| Thu Oct 02, 2008 5:15 pm |
|
 |
|
mightor
Moderator
Joined: Wed Mar 05, 2008 8:14 am Posts: 2864 Location: Rotterdam, The Netherlands
|
 Re: F-Zero SNES playing robot
Sorry mate, I don't have a SNES and I have no idea what F-Zero is  Can't help you, man. Xander
_________________| Some people, when confronted with a problem, think, "I know, I'll use threads," | and then two they hav erpoblesms. (@nedbat)| My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
| Fri Oct 03, 2008 4:17 pm |
|
 |
|
Ford Prefect
Senior Roboticist
Joined: Sat Mar 01, 2008 12:52 pm Posts: 936 Location: a small planet in the vicinity of Beteigeuze
|
 Re: F-Zero SNES playing robot
I know what f-zero is (Xander: Google is your friend  ) - but I don't have the game and neither a Nintendo nor a servo mux 
_________________ Ford Prefect
Never purchase release 1.x ! (ancient programmer's wisdom) "Don't argue with idiots. They'll drag you down to their level and then beat you with experience."
|
| Fri Oct 03, 2008 4:35 pm |
|
 |
|
CC335
Expert
Joined: Sat Sep 20, 2008 12:16 pm Posts: 106 Location: Curently fighting aliens on P3X-828
|
 Re: F-Zero SNES playing robot
I just need basic algorithms for driving. I don't need course specifics.
_________________ Sorry, your program could not be downloaded. Please reboot your computer. FTC Team #2959 Team Smash Bros CLICK HERE.(or click www) Agreed
|
| Fri Oct 03, 2008 6:00 pm |
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 1 guest |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|