Go to Post You earn what you work for. - Akash Rastogi [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 18-02-2008, 21:23
ROFLcopter's Avatar
ROFLcopter ROFLcopter is offline
who was phone
AKA: Robert Grizzell
FRC #2364 (Oregon RoboHawks)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Oregon, IL
Posts: 30
ROFLcopter is on a distinguished road
Send a message via AIM to ROFLcopter Send a message via MSN to ROFLcopter Send a message via Yahoo to ROFLcopter
We need help. It's do or die!

We have hit a programmers worst nightmare. A cyber brick wall. No communication between the RC board and the computer. It's worked before, but for some reason, it took a giant dump on itself. We are so frustrated right now most of us just feel like dropping the tools and going home...

We are using a very noob friendly program called RobotC. This program is used for VEX but has an option to be used for FRC instead. Any other compatible programming is like a foreign language and we have no clue how to use it. If anyone has a miracle, we will display your name and achievement in big letters on our bumpers.

Any simple walkthrough on a program that will work is also appreciated. We just don't have anyone to tutor us right now.
__________________
This signature has been removed in accordance with City Ordnance law L34.B3. If you feel this signature has been mistakenly removed for reasons not within the guidelines of L34.B3. Visit the City Courthouse #3 and file a report.

Last edited by ROFLcopter : 18-02-2008 at 21:27.
  #2   Spotlight this post!  
Unread 18-02-2008, 21:26
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,019
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: We need help. It's do or die!

Step 1: Don't Panic.
Step 2: Search this site for "RC Hard Reset", it involves pressing a button and attaching power. If you don't find it, search the IFI forum site.

EDIT: Here's the info:
Quote:
With main power applied, press and hold the Reset and Prog buttons at the same time. Release only the Reset, while continuing to hold the Prog until the Battery Power LED becomes solid green. Now release the Prog button. Now press and release the Reset button.
As for Step 1: Worst is that you program it at the regional with IFI's help. no big deal.

Good Luck,

Don
__________________

I am N2IRZ - What's your callsign?

Last edited by DonRotolo : 18-02-2008 at 21:30.
  #3   Spotlight this post!  
Unread 18-02-2008, 21:32
ROFLcopter's Avatar
ROFLcopter ROFLcopter is offline
who was phone
AKA: Robert Grizzell
FRC #2364 (Oregon RoboHawks)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Oregon, IL
Posts: 30
ROFLcopter is on a distinguished road
Send a message via AIM to ROFLcopter Send a message via MSN to ROFLcopter Send a message via Yahoo to ROFLcopter
Re: We need help. It's do or die!

The robot controller still fails to respond when try to upload the code. Yes, we did set it in the program state.

Is there any chance we could have some help with the programming once we get to the competition?
__________________
This signature has been removed in accordance with City Ordnance law L34.B3. If you feel this signature has been mistakenly removed for reasons not within the guidelines of L34.B3. Visit the City Courthouse #3 and file a report.

Last edited by ROFLcopter : 18-02-2008 at 21:47.
  #4   Spotlight this post!  
Unread 18-02-2008, 21:49
DPTeam270Driver's Avatar
DPTeam270Driver DPTeam270Driver is offline
Deer Park Driver
FRC #0270 (Falcon X)
Team Role: Driver
 
Join Date: Jan 2008
Rookie Year: 1998
Location: Deer Park
Posts: 34
DPTeam270Driver will become famous soon enoughDPTeam270Driver will become famous soon enough
Re: We need help. It's do or die!

heyy
you can use "easyC"
there is a copy provided in the KOP
its a very simple drag and drop type program

if you decide to use it
step 1. load it onto the programming computer
step 2. go to file and go to frc competition or something to that effect
step 3. on the side, it will say user functions, or at the bottom of the left side, double click operator
step 4. Drag and drop from the rc control side menu, the type of drive u want, arcade or tank
step 5. a window will pop up and the top of it will say operator interface or something and choose which ports and the axis of ur joysticks
step 6. choose the PWM slots for the motors
step 7. u can drag another Motor operator for arms, claws, or anyother motors

im not sure wat to do if you have an autonomous, or pnuematics
srry

step 8. search the menu bars for a "build and compile or load" or something like that
and click it
then it will say it completed the HEX file. click ok
then connect the comp to the RC and Do what u regularly do to load a program

hope this helps
you can go to the help tab and find out more info
- team 270
  #5   Spotlight this post!  
Unread 18-02-2008, 21:51
Akash Rastogi Akash Rastogi is offline
Jim Zondag is my Spirit Animal
FRC #2170 (Titanium Tomahawks)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Manchester, Connecticut
Posts: 7,007
Akash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond reputeAkash Rastogi has a reputation beyond repute
Re: We need help. It's do or die!

Quote:
Originally Posted by ROFLcopter View Post
The robot controller still fails to respond when try to upload the code. Yes, we did set it in the program state.

Is there any chance we could have some help with the programming once we get to the competition?
lol, yes. you will always find help at the competition
__________________
My posts and opinions do not necessarily reflect those of my affiliated team.
['16-'xx]: Mentor FRC 2170 | ['11-'13]: Co-Founder/Mentor FRC 3929 | ['06-'10]: Student FRC 11 - MORT | ['08-'12]: Founder - EWCP (OG)
  #6   Spotlight this post!  
Unread 18-02-2008, 21:52
ROFLcopter's Avatar
ROFLcopter ROFLcopter is offline
who was phone
AKA: Robert Grizzell
FRC #2364 (Oregon RoboHawks)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Oregon, IL
Posts: 30
ROFLcopter is on a distinguished road
Send a message via AIM to ROFLcopter Send a message via MSN to ROFLcopter Send a message via Yahoo to ROFLcopter
Re: We need help. It's do or die!

We had trouble with EasyC's activation code. Something or another had happened and the key we got was faulty. This was the predicament that caused us to used RobotC. As we speak...err...type we are going to reinstall it and see if it has a trial period. If not, we are dead in the water.
__________________
This signature has been removed in accordance with City Ordnance law L34.B3. If you feel this signature has been mistakenly removed for reasons not within the guidelines of L34.B3. Visit the City Courthouse #3 and file a report.
  #7   Spotlight this post!  
Unread 18-02-2008, 22:09
Uberbots's Avatar
Uberbots Uberbots is offline
Mad Programmer
AKA: Billy Sisson
FRC #1124 (ÜberBots)
Team Role: College Student
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Avon
Posts: 739
Uberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond reputeUberbots has a reputation beyond repute
Re: We need help. It's do or die!

Quote:
Originally Posted by ROFLcopter View Post
We had trouble with EasyC's activation code. Something or another had happened and the key we got was faulty. This was the predicament that caused us to used RobotC. As we speak...err...type we are going to reinstall it and see if it has a trial period. If not, we are dead in the water.
if you really need help, you could contact me and i could work you through some basic C code...

Did you check all the stupid things? is the serial cable dead (run an ohmmeter through each pin, if the resistance is not close to 0 in one of them, you have a dead serial)? is your COM port enabled? Does the robot give feedback to other computers?

there is so much you can troubleshoot to find the source of this error... there are a lot of variables. Something tells me that if you get a new program like EasyC running, you will have the same problem.
__________________
A few of my favorite numbers:
175 176 177 195 230 558 716 1024 1071 1592 1784 1816
RPI 2012
BREAKAWAY
  #8   Spotlight this post!  
Unread 18-02-2008, 22:15
MrForbes's Avatar
MrForbes MrForbes is offline
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 6,033
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: We need help. It's do or die!

Quote:
Originally Posted by ROFLcopter View Post
Is there any chance we could have some help with the programming once we get to the competition?
nominated for "understatement of the year"

You will be able to get lots of help at the competition, for just about anything you need help with.
  #9   Spotlight this post!  
Unread 18-02-2008, 22:20
ROFLcopter's Avatar
ROFLcopter ROFLcopter is offline
who was phone
AKA: Robert Grizzell
FRC #2364 (Oregon RoboHawks)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Oregon, IL
Posts: 30
ROFLcopter is on a distinguished road
Send a message via AIM to ROFLcopter Send a message via MSN to ROFLcopter Send a message via Yahoo to ROFLcopter
Re: We need help. It's do or die!

Personally, with ship date tomorrow, we don't have time to check for those things or go through a walkthrough. We appreciate the help 100%. We were just looking for a quick fix. As more time goes on, we may have to just pack up our robot and get it working before competition.

To add to the situation, our only programmer left. It's just the mechanical crew here now.


We especially appreciate the helpful advice from everyone. If you are attending the Chicago regional, stop by our pit. Just look for the RoboHawks #2364 banner.
__________________
This signature has been removed in accordance with City Ordnance law L34.B3. If you feel this signature has been mistakenly removed for reasons not within the guidelines of L34.B3. Visit the City Courthouse #3 and file a report.
  #10   Spotlight this post!  
Unread 18-02-2008, 22:24
vhcook's Avatar
vhcook vhcook is offline
Reader of Things
AKA: Victoria
FRC #1939 (Kuh-nig-its)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Kansas City, MO
Posts: 546
vhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond reputevhcook has a reputation beyond repute
Re: We need help. It's do or die!

At many regionals, they try and put each rookie's pit between two veteran teams. When you get there, ask your neighbors for help. I guarantee they will do anything they can to get you running.
__________________



Last edited by vhcook : 18-02-2008 at 22:27. Reason: grammar
  #11   Spotlight this post!  
Unread 18-02-2008, 23:12
Monkeymatt Monkeymatt is offline
Registered User
FRC #2264
 
Join Date: Jan 2008
Location: Minnesota
Posts: 2
Monkeymatt is an unknown quantity at this point
Re: We need help. It's do or die!

Quote:
Originally Posted by vhcook View Post
At many regionals, they try and put each rookie's pit between two veteran teams. When you get there, ask your neighbors for help. I guarantee they will do anything they can to get you running.
Actually, they put the newest teams next to those who are the oldest at the competition. For instance, last year, we, team 2264, were the newest team at our regional and were placed right next to team 81 and 93 (I hope I got that right), the oldest teams at our regional, who were amazing at helping us get a working robot past inspection.
  #12   Spotlight this post!  
Unread 18-02-2008, 23:13
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: We need help. It's do or die!

RobotC uses a bootloader/firmware which is resident in the user code. If you download with the IFI loader or do the hard reset procedure, that bootloader is erased.

See if the steps here help: http://www.robotc.net/forums/viewtopic.php?t=288
  #13   Spotlight this post!  
Unread 18-02-2008, 23:17
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: We need help. It's do or die!

Quote:
Originally Posted by ROFLcopter View Post
The robot controller still fails to respond when try to upload the code. Yes, we did set it in the program state.
I think I know what's wrong! While you are supposed to set the RC into Program mode when downloading the firmware, you do *not* do it when you're downloading user code. I'm very much used to the IFI Loader way of doing things, so this threw me for a loop at first too. Just power up the RC, send the code, and tell us how it goes.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
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
pic: It's a bird.. It's a plane.. It's the 573 Mech Warrior bot! Lisa Perez Robot Showcase 3 27-02-2005 15:09
MS Power Point - DIE SlickChicFallen Chairman's Award 33 17-09-2004 03:33
Did BuzzU die? kmcclary General Forum 20 21-09-2003 11:33
Die Another Day Joe Matt Chit-Chat 26 30-11-2002 22:24
Die Another Day Joe Matt Chit-Chat 5 19-05-2002 20:02


All times are GMT -5. The time now is 01:50.

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