Go to Post IRI seeks to invite the very best robots to play the FIRST game, achieving the highest level of play, while keeping in place the FIRST atmosphere. - Nathan Streeter [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-02-2013, 04:51
anthonyR anthonyR is offline
Registered User
FRC #1661
 
Join Date: Feb 2013
Location: Los Angeles
Posts: 3
anthonyR is an unknown quantity at this point
LabVIEW coding error: Unable to run the robot.

I am the programmer for Team 1661. We am having an issue with either the code or the electronics: whenever we try to run just the simple code that FRC gives us we get a 44002 and a 44003 error saying that the driver station cant run the robot code and saying that the ping results are bad. We are using 4 motor talon drive and I have changed the code accordingly. Also I know for sure that the PWM's are all connected to the correct location. Whenever we run the code the talons receive voltage and the PWM's are sending out 5 volts but no motors move. Yes I understand the the ping warning is just saying that we aren't connecting with ethernet and are connecting to the radio with wifi but it still confuses me. So basically is the problem just the Talons' fault or is something actually wrong with the code?
Reply With Quote
  #2   Spotlight this post!  
Unread 10-02-2013, 07:01
fovea1959's Avatar
fovea1959 fovea1959 is offline
Herder of programmers
AKA: Doug Wegscheid
FRC #3620 (The Average Joes)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: St Joseph
Posts: 332
fovea1959 will become famous soon enough
Re: LabVIEW coding error: Unable to run the robot.

can you run any of the other examples on this cRIO?

did you fix the 10.xx.yy.2 address in the LabVIEW project you are running?
Reply With Quote
  #3   Spotlight this post!  
Unread 10-02-2013, 08:20
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: LabVIEW coding error: Unable to run the robot.

Before you do anything with the code, turn the robot on and open the driver station.

What are the driver station diagnostic lights telling you? Does the lower left say "no code", "teleoperated disabled" or something else?

Have you put in your team number in the setup tab?
Reply With Quote
  #4   Spotlight this post!  
Unread 10-02-2013, 14:57
anthonyR anthonyR is offline
Registered User
FRC #1661
 
Join Date: Feb 2013
Location: Los Angeles
Posts: 3
anthonyR is an unknown quantity at this point
Re: LabVIEW coding error: Unable to run the robot.

Quote:
Originally Posted by Tom Line View Post
Before you do anything with the code, turn the robot on and open the driver station.

What are the driver station diagnostic lights telling you? Does the lower left say "no code", "teleoperated disabled" or something else?

Have you put in your team number in the setup tab?
It says no code as I have re-imaged the cRIO and erased all previous code. It also says teleoperated disabled unless I run it. Also the basics for the code are correct. It says 10.16.61.2 for the cRIO and all the communications are in check it just will not run.
Reply With Quote
  #5   Spotlight this post!  
Unread 10-02-2013, 19:08
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: LabVIEW coding error: Unable to run the robot.

Quote:
Originally Posted by anthonyR View Post
...we get a 44002 and a 44003 error saying that the driver station cant run the robot code and saying that the ping results are bad.
Read that 44002 message again. It's a "warning", not an "error". It also contains many individual bits of information, telling you basically what devices the Driver Station is able to detect on the network. The only ones you should care about are the "Robot Radio(.1)" and "cRIO(.2)". If those are GOOD, you're fine. Don't worry about any of the others. You'll always see FMS as bad until you're actually connected to a competition field, for example.
Reply With Quote
  #6   Spotlight this post!  
Unread 11-02-2013, 00:20
anthonyR anthonyR is offline
Registered User
FRC #1661
 
Join Date: Feb 2013
Location: Los Angeles
Posts: 3
anthonyR is an unknown quantity at this point
Re: LabVIEW coding error: Unable to run the robot.

So does that mean there is something wrong with the program then. I am using the code supplied to us by FIRST so I would expect not but what else could it be?
Reply With Quote
  #7   Spotlight this post!  
Unread 11-02-2013, 00:41
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: LabVIEW coding error: Unable to run the robot.

It could be any of a hundred things.

Tell us what your robot and Driver Station are telling you. They have a lot of blinky lights of various colors that give a lot of information about what is going on. For now, focus on the Driver Station "Communication" and "Robot Code" indicators, the big orange Robot Signal Light, and the LEDs on the Talon speed controllers. What are they all showing 1) when the robot is disabled, 2) when it is enabled, and 3) when you try to move the motors?
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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