Go to Post I'm sure there are many people out there who check their rep screen every 20 minutes in hope of positive reinforcement in a unique community, where they may not get positive reinforcement for sharing information in their home, school, or robotics program. - Eugenia Gabrielov [more]
Home
Go Back   Chief Delphi > Technical > Programming
Team 51   CD-Events   CD-Media   CD-Swap   CD-Spy   FRC-Spy   Unsung FIRST Heroes   WFA
portal register members calendar search Today's Posts Mark Forums Read FAQ rules
Innovation First International, Inc.
The Chief Delphi Forums are sponsored by Innovation First International, Inc.
Modulox
ADVERTISEMENT

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-01-2012, 04:08 PM
pavanetti's Avatar
pavanetti pavanetti is offline
Registered User
FRC #1382
 
Join Date: Dec 2010
Location: Brazil
Posts: 12
pavanetti is an unknown quantity at this point
Driverstation in Linux

I use Linux and NetBeans to programming the robot in Java. I want to control the robot in my linux laptop using the driverstation. The driverstation is writing in Labview, but we can't access his code. Did anyone control the robot in Linux?
Reply With Quote
  #2   Spotlight this post!  
Unread 06-01-2012, 06:42 PM
Wing's Avatar
Wing Wing is offline
Should get more experience
AKA: Anupam Goli
FRC #1648 (G3 Robotics)
Team Role: Mentor
 
Join Date: Dec 2010
Rookie Year: 2008
Location: Atlanta, Georgia
Posts: 630
Wing has a reputation beyond reputeWing has a reputation beyond reputeWing has a reputation beyond reputeWing has a reputation beyond reputeWing has a reputation beyond reputeWing has a reputation beyond reputeWing has a reputation beyond reputeWing has a reputation beyond reputeWing has a reputation beyond reputeWing has a reputation beyond reputeWing has a reputation beyond repute
Send a message via Skype™ to Wing
Re: Driverstation in Linux

I've heard of a few fellow programmers attempting to create an application to do so, but I haven't seen any success so far. Also, i'm pretty sure FMS only sees windows computers with the driver station software, or atleast that's how it was in 2011. I'm not an expert in the communication between FMS and the dashboard, but in 11, you had to have a certain account name and info to be able to access your robot in competition.
__________________
2013 Season-Long Fantasy FIRST Elgin Clock Award Winner
Student on 1002:
2009,2010 Peachtree regional Engineering Inspiration award

Mentor on 1648:
17-7-0 in 2013

Facebook
Reply With Quote
  #3   Spotlight this post!  
Unread 06-01-2012, 09:17 PM
Slix Slix is offline
Registered User
AKA: Peter Kowalczyk
FRC #2115 (NightMares)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Mundelein, IL
Posts: 31
Slix is an unknown quantity at this point
Re: Driverstation in Linux

I think there was an experimental driver station here:

https://github.com/robotpy/robotpy/tree/2012/sim

I have no idea whether it works though.

EDIT: Or maybe it wasn't there. I think it was somewhere in RobotPy or one of its contributor's Github repos.

Last edited by Slix : 06-01-2012 at 09:20 PM.
Reply With Quote
  #4   Spotlight this post!  
Unread 06-02-2012, 03:14 AM
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780 (Robot Unicorn Attack)
Team Role: Programmer
 
Join Date: Nov 2010
Rookie Year: 2009
Location: RI, USA
Posts: 216
linuxboy is a splendid one to beholdlinuxboy is a splendid one to beholdlinuxboy is a splendid one to beholdlinuxboy is a splendid one to beholdlinuxboy is a splendid one to beholdlinuxboy is a splendid one to beholdlinuxboy is a splendid one to behold
Send a message via Skype™ to linuxboy
There may be one out there, if I have time this summer I might try to write one, but the only Driver Station prom that can be used in competition is the LabView one supplied by FIRST, even if someone manages to write a different Driver Station that is compatible with both the DS-Robot protocol and the FMS-DS protocol it shouldn't be used at a competition.
__________________
Mac Camera Configuration Tool
Boston Regional 2012 - FRC 3780 - Imagery Award - Dean's List!
Control System Advisor - Championship 2012 - Northeast Utilities Connecticut Regional 2012
2012 Java & Hardware Beta Test
FTAA - Where is Wolcott Offseason 2011 - Mayhem In Merrimack Offseason 2011
Scorekeeper - Bash at the Beach 2011 - River Rage 15
WPI Regional 2011 - FRC 3780 - Rookie All Star Winners - Safety Pins
Field Reset - CTR 2011 - Boston 2011
Reply With Quote
  #5   Spotlight this post!  
Unread 06-02-2012, 06:19 AM
Greg McKaskle Greg McKaskle is offline
Registered User
no team (Team NI)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 3,374
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Driverstation in Linux

Some of the DS protocols have been reverse engineered and unofficial ones have been used in off-season situations. If you look around, I'm sure that you can find some of the info. Or you can use wireshark and work your way through it.

But, remember that the DS is a key safety element. If it were to fail to disable or estop a robot, or were to slip into tele or auto at the wrong moment, the robot WILL respond. The cRIO implements a watchdog to shutdown if the DS disappears, but if the DS is there, it is trusted, and that means that the DS is largely responsible for the state of the robot.

For the record, the field doesn't know or care what OS or language the DS is running on. Both Windows and linux were considered. Windows was selected primarily to simplify the admin duties -- no flames please, I know it isn't that difficult with linux and isn't simple with Windows. I suppose ideally, the DS would be available for everyone's chosen OS. The DS was/is currently written in LV, and LV exists for all of the major laptop OSes, but the level of testing and integration for things like detecting joystick insertion/removal, and supporting the FirstTouch board make it pretty time consuming to add another OS. Even Windows 8 will obviously require lots of hand testing to validate the safety and networking requirements. Additionally, the FTAs and CSAs who try to efficiently resolve connectivity and versioning issues would now need to be aware of many additional OS factors. In the end, it is an arbitrary decision necessary to simplify the logistics.

Greg McKaskle
Reply With Quote
  #6   Spotlight this post!  
Unread 06-02-2012, 09:19 AM
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Itinerant Programmer
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 6,788
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Driverstation in Linux

The custom blue box Driver Station first used with the cRIO system in 2009 was a Linux implementation.
__________________
"Everyone you will ever meet knows something you don't" - Bill Nye

Last edited by Mark McLeod : 06-02-2012 at 12:02 PM.
Reply With Quote
  #7   Spotlight this post!  
Unread 06-06-2012, 10:03 AM
TEAM1100soft506 TEAM1100soft506 is offline
Overlord of the web
AKA: Connor Moroney
FRC #1100 (The T-hawks)
Team Role: Webmaster
 
Join Date: Mar 2011
Rookie Year: 2008
Location: Northborough MA
Posts: 26
TEAM1100soft506 is infamous around these partsTEAM1100soft506 is infamous around these partsTEAM1100soft506 is infamous around these parts
Re: Driverstation in Linux

My team has looked into this as well. we have a network in our lab set up so that we send code from our linux box to the windows box running the driver station that then runs the robot. as of right now this is the best solution that we have found.
__________________
TEAM 1100!!! The T-hawks!!!
Finalists WPI regional 2011 along with 177 2011
Winners of the engineering excellence award at Boston Regional 2011
WPI regional 2013 Chairmans award winners
Reply With Quote
  #8   Spotlight this post!  
Unread 06-08-2012, 08:52 PM
ratdude747's Avatar
ratdude747 ratdude747 is offline
Registered User
AKA: Larry Bolan
no team
Team Role: College Student
 
Join Date: Feb 2009
Rookie Year: 2008
Location: New Albany, IN
Posts: 718
ratdude747 has a brilliant futureratdude747 has a brilliant futureratdude747 has a brilliant futureratdude747 has a brilliant futureratdude747 has a brilliant futureratdude747 has a brilliant futureratdude747 has a brilliant futureratdude747 has a brilliant futureratdude747 has a brilliant futureratdude747 has a brilliant futureratdude747 has a brilliant future
Send a message via Skype™ to ratdude747
Re: Driverstation in Linux

Quote:
Originally Posted by Mark McLeod View Post
The custom blue box Driver Station first used with the cRIO system in 2009 was a Linux implementation.
...and that was the only thing that seemingly worked right... In the world of unreliable FIRST hardware, the only devices that were about as unreliable as the Blue boxes of doom are the 2008 IR boards of doom... only with the IR boards you usually knew when yours was fried (blue smoke); the Blue boxes were random. IIRC a poorly grounded field ruined half of the boxes at the 2009 FiM Champs. Even if you did ground the boxes right, they still liked to fail. The complete and udder failure of the boxes is why we have the laptop/netbook based driver stations we have today.
__________________

Dean's List Semi-finalist 2010
1747 Harrison Boiler Robotics 2008-2010
2783 Engineers of Tomorrow 2011
How to wire CAN bus on a budget
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 11:35 PM.

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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © Delphi and Pontiac Central High School