|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
Quote:
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
|
|||
|
|||
|
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
|
||||
|
||||
|
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
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
|
||||
|
||||
|
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
I agree with DaveF's suggestion to check the wiring.
Quote:
Is this reproducible? Were you using a radio or were you tethered when this happened? |
|
#5
|
|||
|
|||
|
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
Quote:
The OI is solid. When I hit autonomous with the OI, it goes to a maybe 20hz flicker. |
|
#6
|
|||
|
|||
|
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
Quote:
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
|
||||
|
||||
|
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
Quote:
Digital I/O are always active! |
|
#8
|
|||||
|
|||||
|
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
Quote:
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
|
||||
|
||||
|
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
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
|
|||
|
|||
|
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
Quote:
Thanks all. I'm guessing that the compressor shouldn't be wired to the digital IO either... ? Limit switches OK? |
|
#11
|
||||
|
||||
|
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
|
|||
|
|||
|
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
Compressor runs forward correctly- we're careful like that....
|
|
#13
|
||||
|
||||
|
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
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
|
||||
|
||||
|
Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
Quote:
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |