Go to Post A game where you don't have control of your robot for long periods of time is no fun (unless, of course you are talking about autonomous :p) - Cody Carey [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 20-02-2007, 14:50
purduephotog purduephotog is offline
Active Defense Design Engineer
AKA: Jason
FRC #3015
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Rochester, NY
Posts: 162
purduephotog is a jewel in the roughpurduephotog is a jewel in the roughpurduephotog is a jewel in the roughpurduephotog is a jewel in the rough
Send a message via AIM to purduephotog
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!

Quote:
Originally Posted by Alan Anderson View Post
Did you check the disable light on the OI? I suspect your disable switch was not actually making the connection. Look for loose wiring or connectors.
Alan, Dave-

All movement of the robot is disabled and the victors are flashing their 0.5hz flicker (neutral blink).

The OI shows a solid orange 'disabled' LED, and the robot's controller is flickering "disabled'.

I can move the joysticks around and no movement occurs. If I hit the two buttons to fire the claw, the claw actuates. I can continuously open and close the claw while still not being able to drive the robot.

I'll review the code some more... I think the compressor runs automatically too but I'm not certain.
  #2   Spotlight this post!  
Unread 20-02-2007, 15:18
buddy.smith buddy.smith is offline
Master Control
FRC #1795
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: atlanta
Posts: 20
buddy.smith is an unknown quantity at this point
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!

Can you show us how you have this wired? What inputs and outputs are you using for the one that is still moving when the robot is disabled?

Is it one of the PWM / Relay ports? If not, that's the first part of your problem. I'm pretty sure everything that moves has to be on one of those ports, and not an I/O line.

ttyl,

--buddy
  #3   Spotlight this post!  
Unread 20-02-2007, 15:22
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: Robot Disabled, yet I can still actuate a Cylinder- HELP!

Quote:
Originally Posted by purduephotog View Post
I can move the joysticks around and no movement occurs. If I hit the two buttons to fire the claw, the claw actuates. I can continuously open and close the claw while still not being able to drive the robot.
You do have the pump and claw relays plugged into a relay output (and not a digital I/O), right? Sorry, I know it probably sounds like a stupid question, but if so it could explain why things work when disabled. If it is a relay output (and the OI disabled light is solid orange) then that's a scary situation indeed.
  #4   Spotlight this post!  
Unread 20-02-2007, 16:06
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!

I agree with DaveF's suggestion to check the wiring.

Quote:
The OI shows a solid orange 'disabled' LED, and the robot's controller is flickering "disabled'.
This really concerns me. Normally, solid at the OI means disabled, yet the flickering at the RC means autonomous. I find it really hard to believe that code that you've written was able to put the robot in this state since the master code is what handles the enable/disable state of the robot.

Is this reproducible? Were you using a radio or were you tethered when this happened?
  #5   Spotlight this post!  
Unread 20-02-2007, 16:33
purduephotog purduephotog is offline
Active Defense Design Engineer
AKA: Jason
FRC #3015
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Rochester, NY
Posts: 162
purduephotog is a jewel in the roughpurduephotog is a jewel in the roughpurduephotog is a jewel in the roughpurduephotog is a jewel in the rough
Send a message via AIM to purduephotog
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!

Quote:
Originally Posted by Dave Scheck View Post
I agree with DaveF's suggestion to check the wiring.

This really concerns me. Normally, solid at the OI means disabled, yet the flickering at the RC means autonomous. I find it really hard to believe that code that you've written was able to put the robot in this state since the master code is what handles the enable/disable state of the robot.

Is this reproducible? Were you using a radio or were you tethered when this happened?
Ehhh, most people called the robot light solid, but I could see a hint of flicker. I think it was more of a packet issue than anything else.

The OI is solid. When I hit autonomous with the OI, it goes to a maybe 20hz flicker.
  #6   Spotlight this post!  
Unread 20-02-2007, 16:32
purduephotog purduephotog is offline
Active Defense Design Engineer
AKA: Jason
FRC #3015
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Rochester, NY
Posts: 162
purduephotog is a jewel in the roughpurduephotog is a jewel in the roughpurduephotog is a jewel in the roughpurduephotog is a jewel in the rough
Send a message via AIM to purduephotog
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!

Quote:
Originally Posted by Dave Flowerday View Post
You do have the pump and claw relays plugged into a relay output (and not a digital I/O), right? Sorry, I know it probably sounds like a stupid question, but if so it could explain why things work when disabled. If it is a relay output (and the OI disabled light is solid orange) then that's a scary situation indeed.
No Dave, it's not a stupid question- it IS plugged into a Digital I/O connector.

I swear the OI disabled light is solid orange. If the robot wasn't crated I'd put a video up.

Could you, uhhh, kindly relate why the IO might be triggering it this way?

(Wired, from memory, from the student that told me this is how:

Digital IO pin 16 to SPIKE relay, relay to valve, vale to cylinder.
  #7   Spotlight this post!  
Unread 20-02-2007, 16:39
6600gt's Avatar
6600gt 6600gt is offline
Registered User
AKA: Lohit
FRC #0226 (Hammerhead)
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Troy, MI
Posts: 221
6600gt is a jewel in the rough6600gt is a jewel in the rough6600gt is a jewel in the rough
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!

Quote:
Originally Posted by purduephotog View Post
No Dave, it's not a stupid question- it IS plugged into a Digital I/O connector.

I swear the OI disabled light is solid orange. If the robot wasn't crated I'd put a video up.

Could you, uhhh, kindly relate why the IO might be triggering it this way?

(Wired, from memory, from the student that told me this is how:

Digital IO pin 16 to SPIKE relay, relay to valve, vale to cylinder.
Digital I/O are NOT for SPIKEs. There is a reason for the 8 relay outputs on RC...

Digital I/O are always active!
  #8   Spotlight this post!  
Unread 20-02-2007, 16:47
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!

Quote:
Originally Posted by purduephotog View Post
No Dave, it's not a stupid question- it IS plugged into a Digital I/O connector...Could you, uhhh, kindly relate why the IO might be triggering it this way?
Digital outputs do not get disabled.

Your robot is wired illegally.

Move the Spike to a relay output NOW (or as soon as you get your robot out of its crate at a competition).
  #9   Spotlight this post!  
Unread 20-02-2007, 16:52
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: Robot Disabled, yet I can still actuate a Cylinder- HELP!

Quote:
Originally Posted by purduephotog View Post
No Dave, it's not a stupid question- it IS plugged into a Digital I/O connector.
That would be your problem. As others have already pointed out, Spikes need to be on the relay outputs only. Digital I/Os are meant for inputs like sensors or benign outputs like LEDs.
  #10   Spotlight this post!  
Unread 20-02-2007, 17:01
purduephotog purduephotog is offline
Active Defense Design Engineer
AKA: Jason
FRC #3015
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Rochester, NY
Posts: 162
purduephotog is a jewel in the roughpurduephotog is a jewel in the roughpurduephotog is a jewel in the roughpurduephotog is a jewel in the rough
Send a message via AIM to purduephotog
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!

Quote:
Originally Posted by Dave Flowerday View Post
That would be your problem. As others have already pointed out, Spikes need to be on the relay outputs only. Digital I/Os are meant for inputs like sensors or benign outputs like LEDs.
*ducks and hides*

Thanks all. I'm guessing that the compressor shouldn't be wired to the digital IO either... ?

Limit switches OK?
  #11   Spotlight this post!  
Unread 20-02-2007, 17:14
esquared's Avatar
esquared esquared is offline
Keeps saying 3-2-1-Rush...
AKA: Angry Eric
no team (Volunteer!)
Team Role: Mascot
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Boston, MA
Posts: 192
esquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond repute
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!

Limit switch good for Digital I/O.
Compressor bad for Digital I/O.

What is the Spike output wiring going to the compressor? The compressor is not fond of being driven in reverse...
  #12   Spotlight this post!  
Unread 21-02-2007, 08:08
purduephotog purduephotog is offline
Active Defense Design Engineer
AKA: Jason
FRC #3015
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2004
Location: Rochester, NY
Posts: 162
purduephotog is a jewel in the roughpurduephotog is a jewel in the roughpurduephotog is a jewel in the roughpurduephotog is a jewel in the rough
Send a message via AIM to purduephotog
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!

Quote:
Originally Posted by esquared View Post
Limit switch good for Digital I/O.
Compressor bad for Digital I/O.

What is the Spike output wiring going to the compressor? The compressor is not fond of being driven in reverse...
Compressor runs forward correctly- we're careful like that....
__________________
http://purduephotog.deviantart.com
Portrait Photography: "I used to say Immortalized in Silver, but now I say Captured and Squeezed by Electrons".
  #13   Spotlight this post!  
Unread 21-02-2007, 15:20
geeknerd99's Avatar
geeknerd99 geeknerd99 is offline
Fire Hazard
AKA: Daniel Lin
FRC #0401 (Hokie Guard)
Team Role: Programmer
 
Join Date: Oct 2004
Rookie Year: 2005
Location: Blacksburg, VA
Posts: 276
geeknerd99 has much to be proud ofgeeknerd99 has much to be proud ofgeeknerd99 has much to be proud ofgeeknerd99 has much to be proud ofgeeknerd99 has much to be proud ofgeeknerd99 has much to be proud ofgeeknerd99 has much to be proud ofgeeknerd99 has much to be proud ofgeeknerd99 has much to be proud ofgeeknerd99 has much to be proud of
Send a message via AIM to geeknerd99 Send a message via MSN to geeknerd99 Send a message via Yahoo to geeknerd99
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!

Quote:
Originally Posted by esquared View Post
Limit switch good for Digital I/O.
Compressor bad for Digital I/O.

What is the Spike output wiring going to the compressor? The compressor is not fond of being driven in reverse...
We tested it in reverse for a few seconds, just to see what happens (we were hunting for a short circuit). It appears to have run properly...
__________________
  #14   Spotlight this post!  
Unread 21-02-2007, 16:39
esquared's Avatar
esquared esquared is offline
Keeps saying 3-2-1-Rush...
AKA: Angry Eric
no team (Volunteer!)
Team Role: Mascot
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Boston, MA
Posts: 192
esquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond reputeesquared has a reputation beyond repute
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!

Quote:
Originally Posted by geeknerd99 View Post
We tested it in reverse for a few seconds, just to see what happens (we were hunting for a short circuit). It appears to have run properly...
The compressor documentation states to avoid running it in reverse. I would hope it wouldn't blow up in the course of a few seconds, but where pneumatics are concerned better safe than sorry
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
HELP NEEDED! Camera twitches while disabled lkdjm Programming 5 19-02-2007 11:34
Can we still go? Michael Corsetto Championship Event 1 22-03-2006 06:23
LEGO ‘engineers’ compete to help the disabled Billfred FIRST In the News... 1 07-02-2005 13:45
can i use any other custom cylinder MAXbattlebot Pneumatics 2 19-01-2003 12:44


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

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