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 29-09-2010 13:29

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

Originally Posted by Alan Anderson (Post 975371)
...or the DIO module is faulty, or not plugged in, or plugged in to the wrong slot...or the DB15 connector in Slot 4 of the cRIO is broken, or shorted by debris, or not making contact properly because of a foreign object...or the cRIO is broken...

At this point, it would probably be easiest to start swapping out components until you find one that makes things work.

We have swapped out the modules already and tested different cables and sidecars and tested the voltage on each sidecar and it is getting power but not a signal.

Bot190 29-09-2010 15:08

Re: yes comunication, yes code but no response by robot
 
When you say module you are referring to the Digital Sidecar correct?
If so, then the problem seems to be with your Crio. If you have a different digital module you should try swapping that in.

Radical Pi 29-09-2010 16:24

Re: yes comunication, yes code but no response by robot
 
Is the analog module properly installed with the jumper? If so, is the battery voltage showing on the classmate?

What happens if the Digital module is moved to the other slot (slot 6 I think) and your code is updated to output to that slot?

Alan Anderson 29-09-2010 16:35

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

Originally Posted by DaBossToss (Post 975522)
We have swapped out the modules already and tested different cables and sidecars and tested the voltage on each sidecar and it is getting power but not a signal.

Did you try a different cRIO?

Look closely at the DB15 connector for Slot 4. Make sure none of the pins are broken or bent. Use a good strong light to check for debris between the pins.



You're still being a bit vague in your descriptions of what you did. How have you "tested the voltage on each sidecar"? Which points did you measure? What do you see that indicates to you that it's not getting a signal?

DaBossToss 01-10-2010 11:32

Re: yes comunication, yes code but no response by robot
 
We do not have a different CRIO but i re imaged it and now when i try to upload code to the CRIO i get the error from windriver saying that It failed to launch to target server and that it could possilbly be caused by back end not connected and idk how to read this or what it means.

Bot190 01-10-2010 19:01

Re: yes comunication, yes code but no response by robot
 
As Alan Anderson has said multiple times, if you could provide more information on WHAT you have done, we would be able to help you more.

The error you received is because Wind River was unable to connect to the robot. This could be because the I.P. address of your computer is incorrect or you weren't connected to the robot properly elsewhere.

Did you input your team number correctly in the imaging tool?
Did you select the correct language?

DaBossToss 04-10-2010 11:34

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

Originally Posted by Bot190 (Post 975838)
As Alan Anderson has said multiple times, if you could provide more information on WHAT you have done, we would be able to help you more.

The error you received is because Wind River was unable to connect to the robot. This could be because the I.P. address of your computer is incorrect or you weren't connected to the robot properly elsewhere.

Did you input your team number correctly in the imaging tool?
Did you select the correct language?

I did both of those things correctly and i was able to reimage it into java and download code to the robot like that through netbeans but not through windriver. The laptops ip was dynamic so it should not have been that. any other suggestions?

Alan Anderson 04-10-2010 15:15

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

Originally Posted by DaBossToss (Post 976077)
The laptops ip was dynamic so it should not have been that.

It could definitely have been that!

What is assigning the IP address? How is the IP range determined? What address is the laptop actually ending up with?




Please, PLEASE try to understand that direct answers to some of the questions we're asking will be very useful to us. We're asking the questions in order to find out information that can help us help you. In many cases, you have answered a simple request not with the actual information or observation requested, but with your interpretation of what you think you observed. In others, you have simply failed to respond to the request. It's hard enough to troubleshoot something remotely when there is perfect communication between the remote "experts" and the person actually able to touch the system.

DaBossToss 05-10-2010 11:34

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

Originally Posted by Alan Anderson (Post 976098)
It could definitely have been that!

What is assigning the IP address? How is the IP range determined? What address is the laptop actually ending up with?




Please, PLEASE try to understand that direct answers to some of the questions we're asking will be very useful to us. We're asking the questions in order to find out information that can help us help you. In many cases, you have answered a simple request not with the actual information or observation requested, but with your interpretation of what you think you observed. In others, you have simply failed to respond to the request. It's hard enough to troubleshoot something remotely when there is perfect communication between the remote "experts" and the person actually able to touch the system.

BY the CRIO it is determined
we messed around with it but it was 10.13.18.6
i dont know what the IP range is

Alan Anderson 05-10-2010 13:33

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

What is assigning the IP address? How is the IP range determined? What address is the laptop actually ending up with?
Quote:

Originally Posted by DaBossToss (Post 976180)
BY the CRIO it is determined

The cRIO doesn't assign IP addresses.

You said that the laptop was using a dynamic IP address, which means there has to be a DHCP server somewhere on the network, most likely the router. Who configured it?

Quote:

we messed around with it but it was 10.13.18.6
i dont know what the IP range is
The phrase "messed around" gives no information on what you actually did.

Assuming your cRIO is at 10.13.18.2, the 10.13.18.6 address was correct for the computer you intend to use as a dashboard, and should not have been changed. Set the laptop to have a static IP address of 10.13.18.6 with a subnet mask of 255.255.255.0 and a default gateway address of 10.13.18.4 as specified in the control system manual.

Bot190 05-10-2010 17:14

Re: yes comunication, yes code but no response by robot
 
If you want to use the laptop as a replacement for the Classmate, and use it as the Driver Station, you need to set the IP to 10.13.18.5. Again only use 10.13.18.5 if this computer is going to be the DS.

If you could explain your entire setup it would be very useful to us in helping you.

DaBossToss 06-10-2010 13:29

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

Originally Posted by Bot190 (Post 976212)
If you want to use the laptop as a replacement for the Classmate, and use it as the Driver Station, you need to set the IP to 10.13.18.5. Again only use 10.13.18.5 if this computer is going to be the DS.

If you could explain your entire setup it would be very useful to us in helping you.

I dont want to do that but to download code to the robot we use a direct connection with an ethernet cable.

DaBossToss 06-10-2010 13:30

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

Originally Posted by Alan Anderson (Post 976196)
The cRIO doesn't assign IP addresses.

You said that the laptop was using a dynamic IP address, which means there has to be a DHCP server somewhere on the network, most likely the router. Who configured it?



The phrase "messed around" gives no information on what you actually did.

Assuming your cRIO is at 10.13.18.2, the 10.13.18.6 address was correct for the computer you intend to use as a dashboard, and should not have been changed. Set the laptop to have a static IP address of 10.13.18.6 with a subnet mask of 255.255.255.0 and a default gateway address of 10.13.18.4 as specified in the control system manual.

i configured it just as you said above.
This however is not the problem anymore because we can download code to the CRIO now. We set one solenoid to true and set a motor to .5 and we know that the solenoid worked but the motor did not turn on. any suggestions?

Alan Anderson 06-10-2010 14:22

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

Originally Posted by Bot190 (Post 976212)
If you could explain your entire setup it would be very useful to us in helping you.

Quote:

Originally Posted by DaBossToss (Post 976290)
I dont want to do that...

Then it's not going to be very easy for us to help.

Quote:

Originally Posted by DaBossToss (Post 976291)
any suggestions?

Just the same suggestion I've been trying to give all along: give some more detail about what you're doing. For example, are you using a Victor or a Jaguar to control the motor? What does your code look like? What is the status LED on the speed controller doing? What is the speed controller wired to? What kind of motor are you trying to control? Is the Dashboard showing anything for the PWM output you are using?

DaBossToss 07-10-2010 11:36

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

Originally Posted by Alan Anderson (Post 976299)
Then it's not going to be very easy for us to help.



Just the same suggestion I've been trying to give all along: give some more detail about what you're doing. For example, are you using a Victor or a Jaguar to control the motor? What does your code look like? What is the status LED on the speed controller doing? What is the speed controller wired to? What kind of motor are you trying to control? Is the Dashboard showing anything for the PWM output you are using?

you misunderstood i meant i dont want to use it as the driver station.
The code is just s.set(true); with declarations.
and roller.set(.5); with declarations.
the led on the jaguar is flashing an orange light.
trying to control a cim motor.
I dont know how to check the driver station for the PWM output. how would i do that?


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