Go to Post This is real. This is hard. This, is FIRST. - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-12-2015, 22:33
Hsifeulbhsifder Hsifeulbhsifder is offline
Programmer
AKA: Zaeem Mohamed
FRC #5428 (Breaking Bots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Markham, ON, Canada
Posts: 41
Hsifeulbhsifder is on a distinguished road
What is the roboRIO's OS?

I want to know exactly what is running on the roboRIO. I know it is Linux with real time extensions, however, I would like to know exactly what what distro of linux, and what extensions. Also, is there a way to get the source code to this, as it would benefit a small side project my team is doing, where we are trying to use a Rasberry Pi 2 B as the CPU for our robot. Thanks.
__________________
Hsifeulbhsifder
___________________
"Any given computer program is obsolete, any set of written rules is incomplete"
  #2   Spotlight this post!  
Unread 03-12-2015, 00:08
Peter Johnson Peter Johnson is offline
WPILib Developer
FRC #0294 (Beach Cities Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Redondo Beach, CA
Posts: 268
Peter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud ofPeter Johnson has much to be proud of
Re: What is the roboRIO's OS?

Quote:
Originally Posted by Hsifeulbhsifder View Post
I want to know exactly what is running on the roboRIO. I know it is Linux with real time extensions, however, I would like to know exactly what what distro of linux, and what extensions. Also, is there a way to get the source code to this, as it would benefit a small side project my team is doing, where we are trying to use a Rasberry Pi 2 B as the CPU for our robot. Thanks.
It runs a custom distro called "NI Linux Real-Time", which uses the PREEMPT_RT (aka -rt) real time patch set. Relevant links:
http://www.ni.com/white-paper/14627/en/
https://decibel.ni.com/content/group...inux-real-time
https://github.com/ni

In particular, I would read their FAQ: https://decibel.ni.com/content/docs/DOC-35053
__________________
Author of cscore - WPILib CameraServer for 2017+
Author of ntcore - WPILib NetworkTables for 2016+
Creator of RobotPy - Python for FRC

2010 FRC World Champions (294, 67, 177)
2007 FTC World Champions (30, 74, 23)
2001 FRC National Champions (71, 294, 125, 365, 279)
  #3   Spotlight this post!  
Unread 03-12-2015, 00:08
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,102
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: What is the roboRIO's OS?

You'll find anything open source that you need here: https://github.com/ni
__________________
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
  #4   Spotlight this post!  
Unread 03-12-2015, 19:24
jds2001 jds2001 is offline
Registered User
AKA: Jon Stanley
FRC #4263 (CyberDrgaon)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2013
Location: United States
Posts: 161
jds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud ofjds2001 has much to be proud of
Re: What is the roboRIO's OS?

If you're thinking of using the Pi for competition - remember that anything that controls motors must come from the RoboRio only. Of course, off board processing is allowed (or at least it was last year - interesting to note that this year in FTC offboard processing is illegal - I just went through the FTC inspector training - probably has something to do with the new Android-based control system), but it can't be wired to the CAN bus, PWM cables, or anything else that could be seen to control a motor.
__________________
- Official Scorer


Disclaimer: I volunteer for FIRST as a referee. All opinions are my own, and do not reflect those of FIRST.
  #5   Spotlight this post!  
Unread 03-12-2015, 19:35
Hsifeulbhsifder Hsifeulbhsifder is offline
Programmer
AKA: Zaeem Mohamed
FRC #5428 (Breaking Bots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Markham, ON, Canada
Posts: 41
Hsifeulbhsifder is on a distinguished road
Re: What is the roboRIO's OS?

Quote:
Originally Posted by jds2001 View Post
If you're thinking of using the Pi for competition - remember that anything that controls motors must come from the RoboRio only. Of course, off board processing is allowed (or at least it was last year - interesting to note that this year in FTC offboard processing is illegal - I just went through the FTC inspector training - probably has something to do with the new Android-based control system), but it can't be wired to the CAN bus, PWM cables, or anything else that could be seen to control a motor.
I am aware, this is strictly for off-season testing.
__________________
Hsifeulbhsifder
___________________
"Any given computer program is obsolete, any set of written rules is incomplete"
  #6   Spotlight this post!  
Unread 04-12-2015, 21:19
defied defied is offline
Registered User
FRC #2557
 
Join Date: Jan 2014
Location: Tacoma, WA
Posts: 23
defied is an unknown quantity at this point
Re: What is the roboRIO's OS?

'uname -a' at the shell will tell you the kernel version.
  #7   Spotlight this post!  
Unread 04-12-2015, 23:58
GreyingJay GreyingJay is offline
Robonut
AKA: Mr. Lam
FRC #2706 (Merge Robotics)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2015
Location: Ottawa, Canada
Posts: 785
GreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond reputeGreyingJay has a reputation beyond repute
Re: What is the roboRIO's OS?

Quote:
Originally Posted by Hsifeulbhsifder View Post
I am aware, this is strictly for off-season testing.
There are a number of similar projects underway, have you looked at (or are you advancing) any of them?

For example team 1425 seems to have made some progress, though I haven't yet looked at it personally:

https://code.google.com/p/fourteentw...e/wiki/porting

I would be very interested in hearing about your progress, as my team is hoping to build up competency on Raspberry Pis for various things as well.
  #8   Spotlight this post!  
Unread 05-12-2015, 15:24
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,600
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: What is the roboRIO's OS?

Much more important then matching the exact OS version is implementing the functions that the roboRIO FPGA does.
  #9   Spotlight this post!  
Unread 06-12-2015, 13:13
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: What is the roboRIO's OS?

Quote:
Originally Posted by GreyingJay View Post
For example team 1425 seems to have made some progress, though I haven't yet looked at it personally:

https://code.google.com/p/fourteentw...e/wiki/porting
It looks like that was for the cRIO.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Closed Thread


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 03:14.

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