Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=177)
-   -   yes comunication, yes code but no response by robot (http://www.chiefdelphi.com/forums/showthread.php?t=86848)

DaBossToss 19-10-2010 12:02

Re: yes comunication, yes code but no response by robot
 
Quote:

Originally Posted by Alan Anderson (Post 977568)
The word "OFF" should be visible next to switch #1. If the DIP switch is activated in that direction, the switch is off. If the DIP switch is activated in the other direction, where the switch numbers are visible, the switch is on.

If they were all in the same direction and the robot was still at least partially functional, it's a good bet they were all off.



So, how about those other questions I asked a while back?

You said you could control a solenoid.
---> What is the solenoid connected to?
---> When you change the state of the solenoid, do any LEDs also change state? If so, which one(s)?

I'd like to get as specific as possible about what is working and what is not.
---> What is the Driver Station reporting for the battery voltage?

a module in number 8 of cRIO
yes the leds on the side of module change depending on which solenoids we turn on
and i cant answer your last question because ever since i switched all the switches to off except console out i have not been able to communicate.

Alan Anderson 19-10-2010 13:07

Re: yes comunication, yes code but no response by robot
 
Quote:

Originally Posted by DaBossToss (Post 977711)
yes the leds on the side of module change depending on which solenoids we turn on

Unless I'm misunderstanding you, that pretty much rules out any remaining possibility of fundamental system software problems, but...
Quote:

and i cant answer your last question because ever since i switched all the switches to off except console out i have not been able to communicate.
Do you mean that you moved all the switches (except CONSOLE OUT) over to the other side from where they were before? If you had communication with the robot when the switches were where they were originally, they were probably already off, and you've just turned them on instead. Rocker-style DIP switches need to be pushed down on the side nearest the end of the cRIO, where the word "OFF" is.

Are you saying that you can control solenoids without communication working between the Driver Station and the robot? That shouldn't be possible. What exactly isn't working? When you describe the symptoms, don't just say "not...able to communicate." Please indicate the state of the red and green status indicators on the Driver Station display, and tell us the actual words that the Driver Station displays.

DaBossToss 19-10-2010 18:04

Re: yes comunication, yes code but no response by robot
 
they are all off except console out and so what kind problem is it

Alan Anderson 19-10-2010 20:26

Re: yes comunication, yes code but no response by robot
 
Quote:

Originally Posted by DaBossToss (Post 977762)
they are all off except console out and so what kind problem is it

If you can't give the details necessary to diagnose the problem, I can't help further, sorry.

DaBossToss 20-10-2010 13:50

Re: yes comunication, yes code but no response by robot
 
you asked what position it was in and i told you tell me what else you need

Alan Anderson 20-10-2010 14:13

Re: yes comunication, yes code but no response by robot
 
Quote:

Originally Posted by DaBossToss (Post 977836)
you asked what position it was in and i told you tell me what else you need

I'm not seeing answers to many of the questions addressed to you. Here's a repeat of the most recent thing I asked:

Quote:

Originally Posted by Alan Anderson (Post 977721)
Are you saying that you can control solenoids without communication working between the Driver Station and the robot? That shouldn't be possible. What exactly isn't working? When you describe the symptoms, don't just say "not...able to communicate." Please indicate the state of the red and green status indicators on the Driver Station display, and tell us the actual words that the Driver Station displays.

Just so I have a handle on what the person-to-person communication problem might be, is English your first language? Do you have vision problems? I'd be willing to cut you some slack if it's something more than just inattention on your part.

versedaaron 20-10-2010 16:07

Re: yes comunication, yes code but no response by robot
 
Have you changed the code since it was last working? And have you tried basic vanilla code on it.

DaBossToss 22-10-2010 12:25

Re: yes comunication, yes code but no response by robot
 
Quote:

Originally Posted by Alan Anderson (Post 977838)
I'm not seeing answers to many of the questions addressed to you. Here's a repeat of the most recent thing I asked:



Just so I have a handle on what the person-to-person communication problem might be, is English your first language? Do you have vision problems? I'd be willing to cut you some slack if it's something more than just inattention on your part.

We have had communication and we can control solenoids but we sent in our cRIO because another team said port 1 was fried so we sent it in to get it fixed.

kamocat 22-10-2010 20:59

Re: yes comunication, yes code but no response by robot
 
Do you mean slot 1 of the cRIO chassis? The one that holds your first analog input module?

At any rate, this means you currently do not have a cRIO, and you will tell us the result when you get it back. Am I correct?

DaBossToss 25-10-2010 11:30

Re: yes comunication, yes code but no response by robot
 
Quote:

Originally Posted by kamocat (Post 978099)
Do you mean slot 1 of the cRIO chassis? The one that holds your first analog input module?

At any rate, this means you currently do not have a cRIO, and you will tell us the result when you get it back. Am I correct?

you are correct and i will let you know when we get it back

DaBossToss 15-11-2010 12:01

Re: yes comunication, yes code but no response by robot
 
I got the CRIO back and it still does not work but this time new problem we can not deploy code in java using netbeans or in C++ using windriver
--on windriver we get the error message

-failed to connect to target server possibly caused by back end not connected.

--on Netbeans

-we get a socket exception error

i dont know what these errors mean i dont care which one you could help me with but either would work.

Alan Anderson 15-11-2010 12:57

Re: yes comunication, yes code but no response by robot
 
Quote:

Originally Posted by DaBossToss (Post 980874)
I got the CRIO back and it still does not work...

Did whoever you got it back from tell you what they did to it? Was there actually a problem that they fixed, or did they just test it and find that it already worked as expected?

Quote:

but this time new problem we can not deploy code...
The errors suggest that the cRIO's IP address is not compatible with the computer you're trying to connect to it with. Your first step should be to reformat the cRIO using the latest (v20?) image.

The zeroth step should be to browse http://www.usfirst.org/frccontrolsystem and familiarize yourself with what it offers. At the very least, get a printed copy of Chapter 2 (the Getting Started document). You'll want to start with step 2.6, setting up the cRIO.

DaBossToss 16-11-2010 12:06

Re: yes comunication, yes code but no response by robot
 
Quote:

Originally Posted by Alan Anderson (Post 980882)
Did whoever you got it back from tell you what they did to it? Was there actually a problem that they fixed, or did they just test it and find that it already worked as expected?



The errors suggest that the cRIO's IP address is not compatible with the computer you're trying to connect to it with. Your first step should be to reformat the cRIO using the latest (v20?) image.

The zeroth step should be to browse http://www.usfirst.org/frccontrolsystem and familiarize yourself with what it offers. At the very least, get a printed copy of Chapter 2 (the Getting Started document). You'll want to start with step 2.6, setting up the cRIO.

They said that they fixed a problem with the power supply of the components. thats what the message on the paper they sent back said.

The Crio does have v20 and i have reformatted it and i still get the same error message. for both when i try to deploy and i looked at the guide an i am familiar with the system and it has been set up like that but for my purpose i just have a motor attached to a jaguar in slot 1 on the sidecar. any other suggestions??

acctually now i cant ping it either but i could before

Greg McKaskle 16-11-2010 19:53

Re: yes comunication, yes code but no response by robot
 
As pointed out earlier, pwm is generated by the digital modules, not the analog. The motor controller should be connected to a digital breakout, and that to a digital module in slot four.

Greg McKaskle

DaBossToss 17-11-2010 13:32

Re: yes comunication, yes code but no response by robot
 
i know i under stand the set up and do have the sidecar connected to the Crio in module in slot 2 to PWM to the Crio but do you understand what soket exception:Connection reset in netbeans and failed to connect to target server in c++.


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

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