View Full Version : Help!!! 979 has no autonomous day before Buckeye
dddriveman
23-03-2004, 22:15
I have tried for sleepless nights to get our autonomous mode to work. IT is simple we pulled it right off of kevin.org. Since nobody on my team knows anything about c we cannot get it to work correctly. Could someone get it to work for me and then explain how you did it. i will attach it in zipped form
10intheCrunch
23-03-2004, 23:09
Could you explain a little more about what problem you are having? Is there a compile error, a code error, is it just not doing anything? I flipped through the code *real* quick, and it looks like this isn't currently set to run in autonomous mode, but when you click p1_sw_trig...try toggling that and see what happens.
Good luck,
Greg Needel
23-03-2004, 23:12
come over to 73's pits sometime during the comp and we will get you all squared away
dddriveman
23-03-2004, 23:21
we cannot get it to run our autonomous mode it just say something like ifi_userintilization started. and then do nothing
Joe Ross
23-03-2004, 23:24
come over to 73's pits sometime during the comp and we will get you all squared away
A team with no working autonomous code is offering to help another team with no working autonomous code? :rolleyes:
Greg Needel
23-03-2004, 23:46
oh come now joe...you know very well it will be working just fine by our first match and jeff will be giddy as he will have stayed up all night....
A team with no working autonomous code is offering to help another team with no working autonomous code? :rolleyes:I'll offer 1317's pit too. (And our's works!) :)
--EDIT--
Oh, yeah. We wear a crazy orange... :) We pit has a giant banner with lightning and a laser and our logo, which has "DF" in it. :)
--EDIT--
Try Greg first though. We didn't use the beacons, so I don't know much about how to use that code. I will say that it doesn't appear to have any outputs ever.
Astronouth7303
24-03-2004, 07:35
How do you GET to autonomous? we had a prob last night, I changed main.c AND user_autonomous. user_autonomous has its own loop.
How do you GET to autonomous? we had a prob last night, I changed main.c AND user_autonomous. user_autonomous has its own loop.The competition port sends the signal that sends you into it. Is that what you mean?
10intheCrunch
24-03-2004, 10:30
Theres a competition pinout guide on the IFI website that will show you which pins to bridge to put the bot in autonomous. You can also manually do it with a digital or analog input in your program...
Astronouth7303
24-03-2004, 10:48
No, to simulate.
What I did was change main.c so it calls Process_Data_From_Master_uP() once and then goes into Autonomous.
You also have to change User_Autonomous() so that ITS loop doesn't exit immediately. Change the while (Autonomous_Mode) to while (1)
10intheCrunch
24-03-2004, 12:16
Probably (much) better to simulate it by bridging the pins or setting it up in the program, rather than hardcoding the robot to autonomous (you don't want it to go crazy uncontrollably when you turn it on).
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.