Go to Post Does this need a "Do not try this at home" stamp? - sanddrag [more]
Home
Go Back   Chief Delphi > Competition > OCCRA > OCCRA Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-10-2008, 15:38
surferacf's Avatar
surferacf surferacf is offline
Student Leader & Electrical Captain
AKA: Aaron F
FRC #3060 (The Fighting Tuna)
Team Role: Leadership
 
Join Date: Sep 2006
Rookie Year: 2004
Location: Thumb Knuckle, Right Palm
Posts: 45
surferacf will become famous soon enough
[OCCRA]: A Big Robot Programming Question

As we were getting our control box finalized today, I turned my attention to the programming. After mapping some outputs onto the correct joysticks and buttosn I built and compiled like normal and downloaded it to the microcontroller.

"CODE VIOLATION" the robot blinked.

Figuring that I had done something wrong, I reverted to the original code, and downloaded again.

"CODE VIOLATION" the robot blinked.

After trying to download the original code several more times and getting the same result each time, I dowloaded the Master Code, and then tried again with the Original user code.

"CODE VIOLATION" the robot blinked.

Does anyone have any idea as to what could be wrong? The codes we tried to download had clean builds every time, and we're using the '04 code - The oldest we have.
__________________
"Curiosity killed the cat, but for a while I was the suspect."
-Stephen Wright
Reply With Quote
  #2   Spotlight this post!  
Unread 14-10-2008, 17:28
marccenter's Avatar
marccenter marccenter is offline
Registered User
FRC #3548 (RoboRavens2)
Team Role: Coach
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Royal Oak
Posts: 406
marccenter has a spectacular aura aboutmarccenter has a spectacular aura about
Re: [OCCRA]: A Big Robot Programming Question

Some quick thoughts on your post,

Can you explain your setup to a second student? Sometimes this simple process uncovers a simple issue that you missed?

Do you have a second controller that you can try to see if you have the same symptoms?
__________________
Marc Center
FIRST FRC Mentor/Coach - Team 3548 Royal Oak RoboRavens#2 - on Sabbatical 2017 season
marc.center@gmail.com
Mobile: 248-255-7377

Last edited by marccenter : 15-10-2008 at 14:10. Reason: Screen formatting
Reply With Quote
  #3   Spotlight this post!  
Unread 14-10-2008, 19:55
surferacf's Avatar
surferacf surferacf is offline
Student Leader & Electrical Captain
AKA: Aaron F
FRC #3060 (The Fighting Tuna)
Team Role: Leadership
 
Join Date: Sep 2006
Rookie Year: 2004
Location: Thumb Knuckle, Right Palm
Posts: 45
surferacf will become famous soon enough
Re: [OCCRA]: A Big Robot Programming Question

Oh, How I wish I had other programmers to bounce this off of! All of the old ones graduated, and left me to teach the new generation

I'll go ahead and test the code and downloader on our exhibition bot tomorrow.
__________________
"Curiosity killed the cat, but for a while I was the suspect."
-Stephen Wright
Reply With Quote
  #4   Spotlight this post!  
Unread 15-10-2008, 16:23
surferacf's Avatar
surferacf surferacf is offline
Student Leader & Electrical Captain
AKA: Aaron F
FRC #3060 (The Fighting Tuna)
Team Role: Leadership
 
Join Date: Sep 2006
Rookie Year: 2004
Location: Thumb Knuckle, Right Palm
Posts: 45
surferacf will become famous soon enough
Re: [OCCRA]: A Big Robot Programming Question

Ok, Here's what I found:

* The program works fine in the other controller
* The OCCRA Robot Controller doesn't blink "CODE VIOLATION" until it is tethered to a User Interface (Either the OCCRA or our '06 FIRST one)
* I forgot to mention that during the Master Code update, as required by the instructions, I tried to verify the connection to the controller using the "Verify" command in the IFI Loader. It was unable to find a controller for the OCCRA controller.
* The OCCRA User Interface works just fine in conjunction with the FIRST Robot Controller, but the OCCRA robot controller generates a code violation when combined with the FIRST user interface (as well as the OCCRA UI)

Mr. Center question: Any thoughts?

Mr. Mac/Martus question: If this thing is broken / messed up to the point where I'll have to have someone look at it, can we substitute the 2006 FIRST Robot Controller we have? As far as we can tell, it's the exact same as the OCCRA '04 controller, except that it's labeled "FRC Robot Controller" instead of "2004 FRC Robot Controller"
__________________
"Curiosity killed the cat, but for a while I was the suspect."
-Stephen Wright
Reply With Quote
  #5   Spotlight this post!  
Unread 16-10-2008, 11:37
marccenter's Avatar
marccenter marccenter is offline
Registered User
FRC #3548 (RoboRavens2)
Team Role: Coach
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Royal Oak
Posts: 406
marccenter has a spectacular aura aboutmarccenter has a spectacular aura about
Cool Re: [OCCRA]: A Big Robot Programming Question

Seems like your Robot Controller may be belly up. Continue development with FRC robot controller until you receive an answer about "officially" substituting the 2006 FRC controller for the 2004-5 FRC robot controller from McIntyre/Martus.
The first competition is one week away.

FYI. The primary difference between both controllers is program/variable memory. In the case of OCCRA controls, typically the team's use just the base software program and there really isn't any advantage to using a newer 2006 controller. If OCCRA were to replace a broken FRC controller, we would most likely borrow a 2004/5 FRC controller from a FIRST team because this hardware is now obsolete for future FIRST competitions (in 2009 the replacement control system is cRIO, National Instruments). If 2004/2005 controller is not available, we would similarly substitute a newer 2006-2008 model with more program/variable memory.
__________________
Marc Center
FIRST FRC Mentor/Coach - Team 3548 Royal Oak RoboRavens#2 - on Sabbatical 2017 season
marc.center@gmail.com
Mobile: 248-255-7377

Last edited by marccenter : 16-10-2008 at 17:02. Reason: Editing
Reply With Quote
  #6   Spotlight this post!  
Unread 17-10-2008, 12:09
Mike Martus's Avatar Unsung FIRST Hero
Mike Martus Mike Martus is offline
Registered User
FRC #0051 (Wings of Fire)
Team Role: Coach
 
Join Date: May 2001
Rookie Year: 1996
Location: Pontiac Michigan
Posts: 1,187
Mike Martus has a reputation beyond reputeMike Martus has a reputation beyond reputeMike Martus has a reputation beyond reputeMike Martus has a reputation beyond reputeMike Martus has a reputation beyond reputeMike Martus has a reputation beyond reputeMike Martus has a reputation beyond reputeMike Martus has a reputation beyond reputeMike Martus has a reputation beyond reputeMike Martus has a reputation beyond reputeMike Martus has a reputation beyond repute
Re: [OCCRA]: A Big Robot Programming Question

We have replacement units and yours can be repaired by IFI.

I will be at school Monday staying late with the OCCRA Team ( I wonder why????).

Give me a call.

If you need my phone e-mail the request to mmartus@chiefdelphi.com
__________________
Mike Martus
Reply With Quote
Reply


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
[OCCRA]: 2008 OCCRA Easy_C Programming Template marccenter OCCRA Programming 2 22-11-2008 22:11
[OCCRA]: This OCCRA Programming Forum Mike Martus OCCRA Programming 0 04-09-2008 22:12
[OCCRA]: [OCCRA]: Motor Question JoeFryman OCCRA Q&A 1 21-09-2005 21:25
[OCCRA]: [OCCRA]: Robot spending limit? Eric Yahrmatter OCCRA Q&A 1 13-09-2005 20:31
A Big Question?????? archiver 2001 7 23-06-2002 22:49


All times are GMT -5. The time now is 03:37.

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