Go to Post Even then, the robotics competiton is only part of FIRST. - Billfred [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 06-01-2012, 05: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?
  #2   Spotlight this post!  
Unread 06-01-2012, 07:42 PM
Anupam Goli's Avatar
Anupam Goli Anupam Goli is offline
PCH Q&A co-founder
AKA: noops
FRC #1648 (G3 Robotics)
Team Role: Team Spirit / Cheering
 
Join Date: Dec 2010
Rookie Year: 2008
Location: Rochester, New York
Posts: 1,242
Anupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond reputeAnupam Goli has a reputation beyond repute
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.
__________________
Team 1002: 2008-2012
Team 1648: 2012-2016
Georgia Tech Class of 2016
RIT Graduate Student, CompE
  #3   Spotlight this post!  
Unread 06-01-2012, 10: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 10:20 PM.
  #4   Spotlight this post!  
Unread 06-02-2012, 04:14 AM
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
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.
  #5   Spotlight this post!  
Unread 06-02-2012, 07:19 AM
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
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
  #6   Spotlight this post!  
Unread 06-02-2012, 10:19 AM
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
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: 8,697
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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 06-02-2012 at 01:02 PM.
  #7   Spotlight this post!  
Unread 06-06-2012, 11:03 AM
TEAM1100soft506 TEAM1100soft506 is offline
The runaway renegade of 1100
AKA: Connor Moroney
FRC #1100 (The T-hawks)
 
Join Date: Mar 2011
Rookie Year: 2008
Location: Northborough MA
Posts: 32
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.
__________________
EX Team member and mentor of 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


Now the runaway renegade.
  #8   Spotlight this post!  
Unread 06-08-2012, 09:52 PM
ratdude747's Avatar
ratdude747 ratdude747 is offline
Official Scorekeeper
AKA: Larry Bolan
no team
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Madison, IN
Posts: 1,061
ratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond reputeratdude747 has a reputation beyond repute
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, Event Volunteer 2012-current

DISCLAIMER: Any opinions/comments posted are solely my personal opinion and does not reflect the views/opinions of FIRST, IndianaFIRST, or any other organization.
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 07:11 AM.

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