Go to Post I'll admit that the events at Epcot were pretty nice, but they too had their problems. . . You were at the mercy of the weather, and Disney hasn't figured out how to control that yet. - Kevin Sevcik [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 22-10-2007, 18:59
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Operator Interface Troubleshooting

Ok so we are having some problems with our 2007 'bot. We had removed our scoring mechanism to leave us just with our drive-train and electronics board. When trying to power up and drive the 'bot, we don't get any control for any input. We downloaded the default camera bells and whistles, and for the life of me I can't get any thing to respond to a control. I inserted pwm1=p1_y; into the user_routines.c in the normal place and hooked it up to one of our cam servo's, and it won't do anything. We are able to download the hex file successfully and get all 5 green lights on the OI. We don't have our TTL chip anymore (need to buy one again from IFI) or the 7.2 V battery but as far as I know we should still be able to do something, like control a motor. I believe that driving a servo without the 7.2 V battery won't work, but we tried a lot of other configurations in the code, like made pwm13=p1_x; to make the left drive motor respond only to the x-axis and it won't do anything. We get all flashing orange lights on the victor's but the cables seem to be in all the way, we had to cut the plastic connector down to the right sizing before and they worked before fine, we are just having problems with the same setup now. Anybody have any ideas? Very annoying problem.
  #2   Spotlight this post!  
Unread 22-10-2007, 19:13
Mr. Freeman Mr. Freeman is offline
Put better title here.
AKA: Kellan
no team (CSM Robotics)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Colorado
Posts: 198
Mr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to beholdMr. Freeman is a splendid one to behold
Re: Operator Interface Troubleshooting

Try tethering the OI to the RC. We had a similar problem when trying to test 2 robots at the same time using 2 years' of hardware. When you tether the OI to the RC, the RC stores the OI's info so it knows which OI to look for when it powers up. If you change the settings on your OI (team number, channel), you have to re-tether the bot to 'link' the two back together.

Now, you say that you have green lights across the board and I think one of those is "radio link". Green would mean it's linked properly, so this might not be your problem.

The only other thing I can think of is that you blew out all of your victors. If either the supply power or the PWM cable is connected backwards ONCE and powered up, it WILL destroy the unit. (It took us 2 years of mysterious failures before we read the victor 884 manual and discovered this fact. We now have 5-8 dead victors in our supply closet)
We haven't managed to blow them all out at once. However if someone has recently rewired the robot they may have inserted all the PWM cables backwards. Perhaps someone reversed +12 and ground at one of the distribution terminals (I think that's what they're called, correct me if I'm wrong, I don't do very much of the wiring)?
__________________
"Time is an illusion, lunchtime doubly so."
-Douglas Adams
“Why is it that I can walk into Wal-Mart and buy boxes of bullets and black powder, but I can’t buy potassium perchlorate to do science because it can also be used to make explosives?”
-Theodore Gray
  #3   Spotlight this post!  
Unread 22-10-2007, 19:23
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Operator Interface Troubleshooting

That's a good thought, but I know at least one Victor is functioning correctly because the motor does turn, but I assumed it was just turning because it wasn't calibrated correctly (or the trim is off). It does not vary with time or any change in the controls. And again, the joystick was also hooked up to a servo which won't move. Also, I neglected to mention that I also coded it to turn one of the relay led's to green when the trigger switched was clicked, and nothing happened.
  #4   Spotlight this post!  
Unread 22-10-2007, 21:41
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,132
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: Operator Interface Troubleshooting

Quote:
Originally Posted by DavidGitz View Post
That's a good thought, but I know at least one Victor is functioning correctly because the motor does turn, but I assumed it was just turning because it wasn't calibrated correctly (or the trim is off).
What light is this victor showing, and how fast is the motor turning?

I can confirm that a servo won't work at all if the backup battery isn't present, like you said in your original post.

Can you post your user_routines.c where you've made the relay LED turn green with the trigger switch? If there's nothing wrong with your code, then there's got to be a problem with the communications between the RC and the OI.
__________________
Patrick Fairbank
Team 254 | Mentor (2012-)
Team 1503 | Mentor (2007-2011)
Team 296 | Alumnus (2001-2004) | Mentor (2005-2006)

patfairbank.com
  #5   Spotlight this post!  
Unread 22-10-2007, 22:15
whytheheckme's Avatar
whytheheckme whytheheckme is offline
Registered User
AKA: Jacob Komar
no team
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Providence, RI
Posts: 1,320
whytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond reputewhytheheckme has a reputation beyond repute
Send a message via ICQ to whytheheckme Send a message via AIM to whytheheckme Send a message via MSN to whytheheckme Send a message via Yahoo to whytheheckme
Re: Operator Interface Troubleshooting

Quote:
Originally Posted by DavidGitz View Post
We get all flashing orange lights on the victor's
This sent off flashing bulbs in my head immediatley.

Flashing orange lights on Victors means that the Victor isn't getting (a proper) signal from the computer. This means that either the cable isn't seated properly, or that PWM variable isnt being written to in the program ever (maybe?).

I'm not too sure how removing the camera would affect the drive of the bot, but downloading default code typically won't work right off the bat. Try hooking up the OI to dashboard, and see if your values from your sticks are right. Then write a simple program for the FRC that takes the stick values and outputs them to PWM. Hook up the speed controllers to those PWM and see if the lights are no longer blinking orange (also, monitor the dashboard PWM output).

Hope this helps.

BTW, are you the person who wrote the original code? If not, can you get into contact with them at all?

Jacob
  #6   Spotlight this post!  
Unread 23-10-2007, 13:21
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Operator Interface Troubleshooting

One of the students had written the code, but it's pretty cut and dry. And also, I used the dashboard before for troubleshooting, it would read the oi values correctly but when you switch to the rc mode all the values were neutral. I really don't think it's a programming issue or a pwm wire issue, since they had worked before just fine. the victor's were solid orange, indicating a neutral (127) signal received from the rc board. Going to have to do more troubleshooting later.
  #7   Spotlight this post!  
Unread 23-10-2007, 22:48
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Operator Interface Troubleshooting

Fixed it. //Default_Routine();...Doh!
  #8   Spotlight this post!  
Unread 13-11-2007, 14:02
xIrishxRedx xIrishxRedx is offline
Registered User
AKA: Red
FRC #1959 (Metal Heads)
Team Role: Leadership
 
Join Date: Oct 2007
Rookie Year: 2005
Location: Blythewood
Posts: 2
xIrishxRedx is an unknown quantity at this point
Re: Operator Interface Troubleshooting

We are trying to use our '07 robot and the Robot Controller continually reads standby, the transmitter reads transmitting and board says No Data/Radio. We have even tried changing out the Robot Controller to the old OI and see if that works but it doesn't. We are at a loss, any help?

Captain Team 1959
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
operator interface carbuff Rules/Strategy 1 18-02-2007 09:06
operator interface tml240 Electrical 5 10-02-2004 17:50
Operator Interface Heads Up Madison Robotics Education and Curriculum 6 11-12-2002 06:59
operator interface board archiver 2001 4 24-06-2002 00:33


All times are GMT -5. The time now is 05:57.

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