Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Robot Disabled, yet I can still actuate a Cylinder- HELP! (http://www.chiefdelphi.com/forums/showthread.php?t=54638)

Astronouth7303 21-02-2007 15:07

Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
 
Quote:

Originally Posted by Dave Scheck (Post 582385)
When the robot is disabled, all OI inputs get to the RC and are processed by your code. However, in that situation, the RC sets all of the outputs to neutral. What it doesn't do is clear any internal variables.

When disabled, all the OI inputs are still sent to the RC. When in autonomous (and not disabled), the inputs are set to neutral.

We've used the OI digital inputs to select autonomous modes. It works when disabled.

geeknerd99 21-02-2007 15:20

Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
 
Quote:

Originally Posted by esquared (Post 582648)
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...

Dave Flowerday 21-02-2007 15:49

Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
 
Quote:

Originally Posted by Astronouth7303 (Post 583438)
When disabled, all the OI inputs are still sent to the RC. When in autonomous (and not disabled), the inputs are set to neutral.

We've used the OI digital inputs to select autonomous modes. It works when disabled.

That's exactly what he said. OI inputs get to the RC (except autonomous), and are processed by the code. The outputs are neutral when disabled.

Astronouth7303 21-02-2007 16:10

Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
 
Quote:

Originally Posted by Dave Flowerday (Post 583469)
That's exactly what he said. OI inputs get to the RC (except autonomous), and are processed by the code. The outputs are neutral when disabled.

That's exactly what I'm saying is wrong.

When disabled, all OI inputs are transmitted to the RC and are processed. Your robot will still try to drive the motors (but it can't because output is disabled).

Fire up the Dashboard, disable your robot, and watch the PWM values as you try to drive (with it disabled). They should still change.

esquared 21-02-2007 16:39

Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
 
Quote:

Originally Posted by geeknerd99 (Post 583449)
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 :)

Dave Flowerday 21-02-2007 16:52

Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
 
Quote:

Originally Posted by Astronouth7303 (Post 583486)
That's exactly what I'm saying is wrong.

Take a deep breath, and re-read what Dave and I said again. It's not wrong. You're probably reading it as the inputs are neutral. Dave said that the outputs are neutral.

Astronouth7303 21-02-2007 16:55

Re: Robot Disabled, yet I can still actuate a Cylinder- HELP!
 
Quote:

Originally Posted by Dave Flowerday (Post 583520)
Take a deep breath, and re-read what Dave and I said again. It's not wrong. You're probably reading it as the inputs are neutral. Dave said that the outputs are neutral.

Open mouth, insert foot.

I have to be more careful about that.


All times are GMT -5. The time now is 00:21.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi