Go to Post They had a well made scouting form on the bottom was a check box with nothing next to it, when asked what the box was for they said. "Oh thats the jerk box" Since then one of our team goals is "Stay out of the jerk box" - Gary Stearns [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-05-2005, 08:41
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
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..
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #2   Spotlight this post!  
Unread 17-05-2005, 22:33
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
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   Spotlight this post!  
Unread 11-06-2007, 19:33
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
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.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #4   Spotlight this post!  
Unread 14-06-2007, 00:50
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Using IFI Controller witout Operator System

Anybody? Maybe some tips? Explain what you would normally do? Help? Please?
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #5   Spotlight this post!  
Unread 14-06-2007, 02:10
cbale2000's Avatar
cbale2000 cbale2000 is offline
Registered User
AKA: Chris Bale
FRC #0703 (Phoenix)
Team Role: Leadership
 
Join Date: Apr 2006
Rookie Year: 2004
Location: Saginaw, MI
Posts: 919
cbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond reputecbale2000 has a reputation beyond repute
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   Spotlight this post!  
Unread 14-06-2007, 09:25
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Using IFI Controller witout Operator System

Quote:
Originally Posted by RyanN View Post
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.
That feature didn't exist in the old RCs. You must have the OI connected (either tethered or radio).
  #7   Spotlight this post!  
Unread 14-06-2007, 10:38
pafwl pafwl is offline
Franciose
AKA: Frank Larkin
FRC #0272 (Cyber Crusaders)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 1998
Location: Lansdale, Pennsylvania
Posts: 108
pafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud of
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   Spotlight this post!  
Unread 14-06-2007, 11:49
Pat Fairbank's Avatar
Pat Fairbank Pat Fairbank is offline
Circuit Breaker
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2001
Location: San Jose, CA
Posts: 2,131
Pat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond repute
Send a message via MSN to Pat Fairbank
Re: Using IFI Controller witout Operator System

Quote:
Originally Posted by RyanN View Post
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.
I definitely remember testing autonomous modes in 2003 by setting the team number dipswitches on the RC to zero. However, it won't work if you have a pre-2003 RC, since autonomous mode only came into existence for the 2003 game.
__________________
Patrick Fairbank
Team 254 | Mentor (2012-)
Team 1503 | Mentor (2007-2011)
Team 296 | Alumnus (2001-2004) | Mentor (2005-2006)

patfairbank.com
  #9   Spotlight this post!  
Unread 14-06-2007, 11:54
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Using IFI Controller witout Operator System

Quote:
Originally Posted by Pat Fairbank View Post
I definitely remember testing autonomous modes in 2003 by setting the team number dipswitches on the RC to zero.
Yes, you're right. The 2003 PBASIC controller supports this (but only the 2003 controller). 2002 and prior does not.

You can read the RC reference guide for the 2003 controller here.
  #10   Spotlight this post!  
Unread 14-06-2007, 14:16
pafwl pafwl is offline
Franciose
AKA: Frank Larkin
FRC #0272 (Cyber Crusaders)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 1998
Location: Lansdale, Pennsylvania
Posts: 108
pafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud of
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   Spotlight this post!  
Unread 14-06-2007, 14:29
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Using IFI Controller witout Operator System

Quote:
Originally Posted by pafwl View Post
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.
That's not what the poster is asking for. He wants to run it without the OI - your post does not provide an answer for that.
Quote:
Originally Posted by RyanN
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...
  #12   Spotlight this post!  
Unread 15-06-2007, 21:35
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
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?
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #13   Spotlight this post!  
Unread 16-06-2007, 00:48
Pat Fairbank's Avatar
Pat Fairbank Pat Fairbank is offline
Circuit Breaker
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2001
Location: San Jose, CA
Posts: 2,131
Pat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond repute
Send a message via MSN to Pat Fairbank
Re: Using IFI Controller witout Operator System

Quote:
Originally Posted by RyanN View Post
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?
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.
__________________
Patrick Fairbank
Team 254 | Mentor (2012-)
Team 1503 | Mentor (2007-2011)
Team 296 | Alumnus (2001-2004) | Mentor (2005-2006)

patfairbank.com
  #14   Spotlight this post!  
Unread 16-06-2007, 22:10
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Using IFI Controller witout Operator System

Cool, thanks!
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 04:52.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi