|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Using IFI Controller witout Operator System
He might be right, I've never tried a auton run with team zero and no OI, it just may not go. If that is the case, instead of piggybacking it, you might want to consider the Edu-Robo-Whatevertheheckitscalled RC, it'll run the same (well nearly same) C code, drive the same Spikes/Victors/Whatevers, runs on 7.2 volts, is lighter and is designed to operate completely autonomously..
|
|
#2
|
|||
|
|||
|
Re: Using IFI Controller witout Operator System
I have, team zero and no oi attached works fine
Stopping it is a whole different matter though. |
|
#3
|
||||
|
||||
|
Re: Using IFI Controller witout Operator System
Does anyone know how to do this with a 2003 or earlier RC that runs PBASIC? I have one right here (since I know how to program PBASIC and not C) and would love to run it without the operator interface but team zero isn't working for me... If anyone knows, please tell me or PM me.
|
|
#4
|
||||
|
||||
|
Re: Using IFI Controller witout Operator System
Anybody? Maybe some tips? Explain what you would normally do? Help? Please?
|
|
#5
|
||||
|
||||
|
Re: Using IFI Controller witout Operator System
Ahh! Revival of 2 year old topics!
Ironically this was a topic started by one of the members on my team a few years back and I just so happened to come across it! BTW, for anyone interested, that whole Lemelson-MIT InvenTeam project went very well and worked beautifully, we still have it laying around the shop (though in a dysfunctional state). Im not sure how many people are familiar with the old 2003 RCs, most student programmers have since moved on (graduated) I would think, I'll see if I can ask some of our programming mentors if they remember anything, but I'm not even sure if they were on the team back in 2003. ![]() |
|
#6
|
||||
|
||||
|
Re: Using IFI Controller witout Operator System
Quote:
|
|
#7
|
|||
|
|||
|
Re: Using IFI Controller witout Operator System
Step1: Connect OI to controller on robot. Forget about autonomous mode. After all the OI just sends the value of the joysticks to the controller, right. The code assigns it to the motors. If you don't assign it it will not run.
Step2: Use your sensors to determine what you want to do. Like if the sensors sees the light then assign a value to you PWM outluts where your motors are. No matter what mode you are in if you assign 255 to a PWM the motor will run. I suggest you include a kill switch. Use a switch like a plug. If the plug is out the robot stops. // include at bottom of code. if( rc_dig_in01 == 1 ) { // switch is open not closed, closed = 0 yes backards its digital pwm01 = 127; // stops motor pwm02 = 127; // stops motor } In addition I gave a workshop in 2005 on writing autonomous programs. http://first.wpi.edu/Workshops/2005w...nferences.html If you are still stuc that you need autonomous put this at the top of your program. autonomous_mode = 1; This will force on the autonomous bit. It is not necessary but put it on if you like. |
|
#8
|
||||
|
||||
|
Re: Using IFI Controller witout Operator System
Quote:
|
|
#9
|
||||
|
||||
|
Re: Using IFI Controller witout Operator System
Quote:
You can read the RC reference guide for the 2003 controller here. |
|
#10
|
|||
|
|||
|
Re: Using IFI Controller witout Operator System
Please review my post on the first page. You do not have to run this in autonomous mode. It will run fine by your code in normal mode.
The difference in autonomous mode is a bit is set on called autonomous_mode. If this is 1 then your code takes over control of the robot. If the bit is not on then you allow the controlls to operate the robot. But you can allow you code to run the robot all the time by itself without anyone operating it. |
|
#11
|
||||
|
||||
|
Re: Using IFI Controller witout Operator System
Quote:
Quote:
|
|
#12
|
||||
|
||||
|
Re: Using IFI Controller witout Operator System
Thanks everybody for the replies! I've been waiting on this information. I definitely have a pre 2003 controller (either 2001 or 2002 since 2003 and 2000 are still in use) I like the older controllers because I'm not familiar with C at all and I'm pretty fluent with PBASIC since I used BOE-Bots while testing stuff. I would just use the BOE with this, but it simply doesn't have enough ports. I guess I'll have to finally move up to C this summer. But the 2003 controller has autonomous? Wow, I never knew that... I just reprogrammed our 2003 robot after having to get it working earlier this year but I never saw anything about the autonomous. Oh well... So If I use the 2005 or 2006 controller, will I have to initially start the RC with the OI before becoming completely autonomous, or will it automatically start up without an OI?
|
|
#13
|
||||
|
||||
|
Re: Using IFI Controller witout Operator System
You will need the OI only once, connected to the RC by tether cable, in order to set the team number to zero. After that, the RC will always run autonomously until you change the team number back to something non-zero using the same method.
|
|
#14
|
||||
|
||||
|
Re: Using IFI Controller witout Operator System
Cool, thanks!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Building an arena controller | CJO | Control System | 32 | 29-03-2005 07:04 |
| IFI Loader Problems | BrendaB | Programming | 3 | 24-01-2004 22:45 |
| Help On Coding 2K1 Controller | GregTheGreat | Programming | 9 | 05-12-2003 18:35 |
| serious problem found - robot controller resets when jarred! | KenWittlief | Electrical | 23 | 19-03-2003 13:30 |
| How much code can an IFI controller handle? | Larry Barello | Programming | 7 | 10-02-2002 19:06 |