Go to Post I hate that every year people turn this competition into whining rather than winning. - Akash Rastogi [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 03-02-2016, 19:37
johnny_Bet johnny_Bet is offline
Dark Lord of Code
AKA: Johnny Bettencourt
FRC #4643 (Thunderbird Robotics)
Team Role: Programmer
 
Join Date: Feb 2015
Rookie Year: 2015
Location: United States
Posts: 11
johnny_Bet is infamous around these parts
Robot is not receiving code!

Hey Chief Delphi! I am in desperate need of your help! On our Roborio, the comm light is red but the driver stations says that the robot is connected. When I attempt to deploy code, the consul says the code is getting to the Roborio but when i go back to the driver station the robot code light is red. I have tried reimaging the Roborio and that doesn't seem to help anything. I don't know what else to try. Any help is appreciated! Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2016, 19:43
epylko epylko is offline
Mentor!
AKA: Eric Pylko
FRC #3181 (Pittsford Panthers)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 1970
Location: Pittsford, NY
Posts: 45
epylko is an unknown quantity at this point
Re: Robot is not receiving code!

Have you tried statically setting the IP address of your RoboRIO?

While RoboRIO-3181-FRC.local would work for resolving its IP address, it seemed like the driver station really wanted the RoboRIO to be 10.31.81.2

Once we statically set the address to .2, everything was much happier.
Reply With Quote
  #3   Spotlight this post!  
Unread 03-02-2016, 20:36
dvanvoorst dvanvoorst is offline
Registered User
FRC #2771 (Code Red)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Grand Rapids, MI
Posts: 61
dvanvoorst is an unknown quantity at this point
Re: Robot is not receiving code!

Which language are you using?
When you say it shows that it deployed successfully, what message are you seeing exactly?
I'm not sure if this could cause this type of issue, but did you also update the firmware on the Roborio? There is both firmware and an image for it.
Reply With Quote
  #4   Spotlight this post!  
Unread 03-02-2016, 22:22
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 357
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: Robot is not receiving code!

Try turning off the windows firewall on the computer running the driver station.

If you are using C++ or java, open the RioLog to see if there are any error messages. You can also open a console window to the roborio from the driver's station app by clicking on the gear over the box on the right hand side and selecting "View Console". See if there is anything in the console about code starting up and then terminating.

On the driver's station diagnostic tab, is the robot light green? That is the same as typing ping roborio-TEAM-FRC.local from a command prompt, which you can also try for fun. (substitute your team number for TEAM)
__________________
Brian K
Team 1225 Robotics Mentor
Reply With Quote
  #5   Spotlight this post!  
Unread 04-02-2016, 22:18
Team4643FRC Team4643FRC is offline
Registered User
FRC #4643
 
Join Date: Feb 2015
Location: United States
Posts: 3
Team4643FRC is an unknown quantity at this point
Re: Robot is not receiving code!

Clearify for Johnny (I'm working with him right now)

We are working in C++. I was able to get an older version of the code uploaded, deployed and working, but the new version (which has quite a bit more in it) builds successfully, deploy's succussfully (With a message that says 'Build Successful total time: 11 seconds.' Both the COMM light and the driver station diagnostic lights are red.

Firmware is up to date with 3.0.0
We've tried re imaging the roborio with no avail.
We have not tried statically setting the ip address yet (I'll do that now)

Though we are still trying to figure it out, any help is greatly appreciated!
Do you think it may have something to deal with the actual code? I think this is doubtful, but older code we have seems to be working.
Reply With Quote
  #6   Spotlight this post!  
Unread 09-02-2016, 16:28
dlsmith dlsmith is offline
Registered User
FRC #5268
 
Join Date: Feb 2016
Location: BioMech Falcons
Posts: 15
dlsmith is an unknown quantity at this point
Re: Robot is not receiving code!

Have you tried deploying the code without having the driver station program running? We ran into a problem like that this year also, and it seemed that always closing the driver station before deploying the code helped. If that's not the problem you are having, I would suspect a problem with the robot code that you are building or possibly with the toolchain versions on the PC that built the code (I know you checked that already...)
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 04:30.

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