Go to Post Dang! The 2008 game piece was supposed to be a secret. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Programming > Python
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 13-01-2017, 12:59
Dave Hurt Dave Hurt is offline
Mostly Harmless
FRC #6413 (Degrees of Freedom)
Team Role: Mentor
 
Join Date: Aug 2001
Rookie Year: 1999
Location: Chandler, AZ
Posts: 92
Dave Hurt is on a distinguished road
No robot code, but can start it manually

I've setup robotpy 2017.0.2 on my rio and pushed a very simple project to it. Deploy goes ok, but the dashboard says no robot code. So I ssh'd into the rio and started the code manually and then everything started working. Dug around a little bit and I can't find a cause for it, anyone have any thoughts? Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 13-01-2017, 15:48
onenerdyguy onenerdyguy is offline
Registered User
FRC #5929
 
Join Date: Jan 2016
Location: Lake Park, MN
Posts: 48
onenerdyguy is on a distinguished road
Re: No robot code, but can start it manually

I just took some code and pushed it to the roborio via usb, worked fine. Driver's station reports it perfectly. Don't know what to say bud.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-01-2017, 16:28
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,086
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: No robot code, but can start it manually

The best way to check this would be to try using the --nc flag to the deploy command to see if there's any error messages that show up. You can also look at the console in the driver station to see if messages show up there (it'll show the same thing).
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote
  #4   Spotlight this post!  
Unread 14-01-2017, 14:29
applesauce2011 applesauce2011 is offline
Registered User
FRC #6413 (Degrees of Freedom)
Team Role: Mentor
 
Join Date: Jan 2017
Rookie Year: 2016
Location: Arizona
Posts: 1
applesauce2011 is an unknown quantity at this point
Re: No robot code, but can start it manually

I'm working with Dave, these are the messages we see in in the Driver Station

env: can't execute '/usr/local/frc/bin/netconsole-host': No such file or directory


Warning 44002 Ping Results: link-bad, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-bad, FMS-bad FRC: Driver Station ping status has changed. Driver Station
Reply With Quote
  #5   Spotlight this post!  
Unread 14-01-2017, 14:40
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,086
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: No robot code, but can start it manually

Quote:
Originally Posted by applesauce2011 View Post
I'm working with Dave, these are the messages we see in in the Driver Station

env: can't execute '/usr/local/frc/bin/netconsole-host': No such file or directory


Warning 44002 Ping Results: link-bad, DS radio(.4)-bad, robot radio(.1)-bad, cRIO(.2)-bad, FMS-bad FRC: Driver Station ping status has changed. Driver Station
Did you install using the manual instructions, or by using the installer?

In the RobotPy installation package, there's a directory called 'opkg_cache', and it should have two packages... Python and netconsole-host. If you don't install netconsole-host, you'll get that error. If you use the 'install-robotpy' installer command, it should already do that for you.

Feel free to get on the RobotPy gitter channel and I can assist in realtime.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
Reply With Quote
  #6   Spotlight this post!  
Unread 14-01-2017, 15:05
virtuald's Avatar
virtuald virtuald is offline
RobotPy Guy
AKA: Dustin Spicuzza
FRC #1418 (), FRC #1973, FRC #4796, FRC #6367 ()
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2003
Location: Boston, MA
Posts: 1,086
virtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant futurevirtuald has a brilliant future
Re: No robot code, but can start it manually

To follow up with others, they were installing last year's release of RobotPy, which is why netconsole-host wasn't being installed.
__________________
Maintainer of RobotPy - Python for FRC
Creator of pyfrc (Robot Simulator + utilities for Python) and pynetworktables/pynetworktables2js (NetworkTables for Python & Javascript)

2017 Season: Teams #1973, #4796, #6369
Team #1418 (remote mentor): Newton Quarterfinalists, 2016 Chesapeake District Champion, 2x Innovation in Control award, 2x district event winner
Team #1418: 2015 DC Regional Innovation In Control Award, #2 seed; 2014 VA Industrial Design Award; 2014 Finalists in DC & VA
Team #2423: 2012 & 2013 Boston Regional Innovation in Control Award


Resources: FIRSTWiki (relaunched!) | My Software Stuff
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 23:52.

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