Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Program deployed, no response from robot (http://www.chiefdelphi.com/forums/showthread.php?t=99771)

RahatAhmed 10-01-2012 21:05

Program deployed, no response from robot
 
Hi, I'm a rookie this year, and I'm having trouble with the confusing documentation that we get. So far we've got the basic build done and the radio hooked up to the cRIO. We've had some networking problems as far as wireless goes, so we just use a long ethernet connection(we'll deal with one problem at a time).

I have been able to deploy the default RobotMain.vi program as-is to the robot. We're programming on the classmate so in order to get to the Driver Station we have to disconnect from the cRIO and switch user to Driver. After a lot of troubleshooting we have been able to get the DS to recognize the cRIO and that it has robot code. It also recognizes one of our joysticks. However, enabling the program doesn't do anything (in any mode). In the error box it mentions something about a while loop taking too long(I can't remember exactly right now, i'll edit this tomorrow when I'm back at school). The jaguars also keep flashing yellow no matter what we do.

1. Does anyone know how to get the program working?
2. Should I image our cRIO? We had it imaged on the kickoff so I don't know if it's the latest or not.
3. Should I install a newer Driver Station?
4. Should I install drivers for the Logitech Attack 3 joystick?
5. Slightly unrelated: Is there a good place to learn how to program the cRIO using LabVIEW? Not just the language itself but to control the robot.

Cancel 10-01-2012 22:38

Re: Program deployed, no response from robot
 
Check your ribbon cable going from your cRIO and your sidecar. This year some of the cables have been messed up. Follow this guide to fix it.

http://www.usfirst.org/sites/default...structions.pdf

Alan Anderson 10-01-2012 23:05

Re: Program deployed, no response from robot
 
Quote:

Originally Posted by RahatAhmed (Post 1102043)
We're programming on the classmate so in order to get to the Driver Station we have to disconnect from the cRIO and switch user to Driver.

You don't have to switch users. You can run the Driver Station as a Developer.

Quote:

The jaguars also keep flashing yellow no matter what we do.
This means they're not getting a PWM signal (I assume you aren't using CAN). It could be a wiring problem in several places, and troubleshooting that will require looking in detail at a number of things.

First, is the big amber Robot Signal Light plugged into the Digital Sidecar? If not, you can still look at the little green LED next to the RSL connector. What is the light doing when the robot is disabled? What is it doing when you enable the robot?

Second, is the Digital Sidecar properly powered? Are the BATT, +5v, and +6v green LEDs all brightly lit?

Third, is the cable from the cRIO's digital module to the Digital Sidecar assembled correctly? Some of the ones supplied in the Kit of Parts have one of the connectors backwards. See here for details.

Quote:

5. Slightly unrelated: Is there a good place to learn how to program the cRIO using LabVIEW? Not just the language itself but to control the robot.
I've heard good things about the http://www.frcmastery.com/ videos.

RahatAhmed 11-01-2012 09:24

Re: Program deployed, no response from robot
 
Quote:

Originally Posted by Alan Anderson (Post 1102163)
You don't have to switch users. You can run the Driver Station as a Developer.

Do I just follow the instructions on installing the Driver Station again on the Developer account?



Quote:

Originally Posted by Alan Anderson (Post 1102163)
First, is the big amber Robot Signal Light plugged into the Digital Sidecar? If not, you can still look at the little green LED next to the RSL connector. What is the light doing when the robot is disabled? What is it doing when you enable the robot?.

I am not sure which green LED this is, do you have a picture of it? Also we have not installed the Robot Signal Light yet.

Quote:

Originally Posted by Alan Anderson (Post 1102163)
Second, is the Digital Sidecar properly powered? Are the BATT, +5v, and +6v green LEDs all brightly lit?

They are brightly lit, all the time while the robot is powered.
Quote:

Originally Posted by Alan Anderson (Post 1102163)

Third, is the cable from the cRIO's digital module to the Digital Sidecar assembled correctly? Some of the ones supplied in the Kit of Parts have one of the connectors backwards. See here for details.

Our cable seems to be fine(no twist).
We also get an error message on the Driver Station. Something about error -44061 "left and right motor" loop is taking too long.


I've heard good things about the http://www.frcmastery.com/ videos.[/quote]

notmattlythgoe 11-01-2012 09:31

Re: Program deployed, no response from robot
 
I would also suggest that you try to get your hands on another computer to program on, it will make your life 100x easier. Even an old laptop donated from someone that isn't using it anymore will work.

RahatAhmed 11-01-2012 09:33

Re: Program deployed, no response from robot
 
Quote:

Originally Posted by notmattlythgoe (Post 1102480)
I would also suggest that you try to get your hands on another computer to program on, it will make your life 100x easier. Even an old laptop donated from someone that isn't using it anymore will work.

Would a desktop work? I'm guessing we would need a wireless NIC, though.

notmattlythgoe 11-01-2012 09:39

Re: Program deployed, no response from robot
 
Yes a desktop would work, and if you have a wireless router you could just plug into that and not have to worry about wireless card.

RahatAhmed 11-01-2012 09:40

Re: Program deployed, no response from robot
 
Quote:

Originally Posted by notmattlythgoe (Post 1102484)
Yes a desktop would work, and if you have a wireless router you could just plug into that and not have to worry about wireless card.

How would a desktop connected to a wireless router be able to communicate to the radio on the robot?

notmattlythgoe 11-01-2012 09:45

Re: Program deployed, no response from robot
 
Same way it would with a wireless router, you set the IP address of the computer the same way you do for wireless. The router is basically just giving it wireless access. I will try to find the instructions for past years to set up a router configuration.

RahatAhmed 11-01-2012 09:56

Re: Program deployed, no response from robot
 
Quote:

Originally Posted by notmattlythgoe (Post 1102488)
Same way it would with a wireless router, you set the IP address of the computer the same way you do for wireless. The router is basically just giving it wireless access. I will try to find the instructions for past years to set up a router configuration.

I thought that wireless routers created their own private network, separate from the radio's? The only way I could imagine that it would work is if you configured a router(maybe one with custom firmware like DDWRT) to become a wireless bridge that connects to the radio and connects the desktop to it. Then again, I don't really have a formal education in networking so what do I know.

notmattlythgoe 11-01-2012 10:13

Re: Program deployed, no response from robot
 
Here are some instructions on how to set up a router to go in between a computer and the radio.
http://www.usfirst.org/uploadedFiles...ed-Rev-0.7.pdf

RahatAhmed 11-01-2012 10:58

Re: Program deployed, no response from robot
 
Quote:

Originally Posted by notmattlythgoe (Post 1102504)
Here are some instructions on how to set up a router to go in between a computer and the radio.
http://www.usfirst.org/uploadedFiles...ed-Rev-0.7.pdf

Wouldn't it be cheaper to just use the radio in AP mode and buy a wireless adapter for a desktop? We don't have any routers to use.

notmattlythgoe 11-01-2012 11:02

Re: Program deployed, no response from robot
 
Yeah, that would be fine. We had the router from previous years.

RufflesRidge 11-01-2012 11:11

Re: Program deployed, no response from robot
 
Quote:

Originally Posted by RahatAhmed (Post 1102476)
Do I just follow the instructions on installing the Driver Station again on the Developer account?

The installation shouldn't be account specific. You should be able to find the Driver Station in the Start menu on the Developer account or in C:\Program Files\FRC Driver Station

RahatAhmed 11-01-2012 11:32

Re: Program deployed, no response from robot
 
Quote:

Originally Posted by RufflesRidge (Post 1102553)
The installation shouldn't be account specific. You should be able to find the Driver Station in the Start menu on the Developer account or in C:\Program Files\FRC Driver Station

Oh thank you very much!now we just gotta get those drivers working


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

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