Go to Post 2010 game piece--- participation medals - johnr [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 23-03-2010, 08:14
codedr codedr is offline
Registered User
FRC #0537
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Wisconsin
Posts: 70
codedr will become famous soon enoughcodedr will become famous soon enough
Re: Driver station coding and other

Quote:
Originally Posted by Thomas Clark View Post
The compiler doesn't support anything besides Windows, and some of us prefer Linux. The IDE I don't care about (I never use IDEs, just makefiles), but FIRST is limiting users' experiences by limiting who can program and on what operating system. IMHO, they should provide a build of the WPI library and compiler for Linux.
The WPI library would be the same if built on linux because the target is still the robot.

Building a cross environment on Linux would require
- build a ppc cross compiler for x86 linux
- integrate and test compiler in eclipse
- test the method for downloading the code to robot
- support all of the above for all the users

versus
- taking the existing wind river environment and deploy

When you consider that supporting the environment on windows is taking
all of the current volunteer time, you can see why adding another platform of
limited utility to a small number of users is not a priority.

If you can convince a small group of robo linux enthusiasts to build the
environment, you could grow support for this endeavor.
  #2   Spotlight this post!  
Unread 23-03-2010, 15:29
Thomas Clark Thomas Clark is offline
Hacker
FRC #0237
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Watertown, CT
Posts: 10
Thomas Clark is infamous around these parts
Re: Driver station coding and other

Quote:
Originally Posted by codedr View Post
Building a cross environment on Linux would require
- build a ppc cross compiler for x86 linux
GCC was ported to Linux almost twenty years ago. It can be easily targeted to vxWorks PPC.
Quote:
Originally Posted by codedr View Post
- integrate and test compiler in eclipse
Not really. Eclipse already runs on Linux as well.
Quote:
Originally Posted by codedr View Post
- test the method for downloading the code to robot
FTP on a normal non-VPN connection. (or non-VLAN or whatever)
Quote:
Originally Posted by codedr View Post
versus
- taking the existing wind river environment and deploy
Which required Windows. As I said, not everyone uses Windows.
Quote:
Originally Posted by codedr View Post
If you can convince a small group of robo linux enthusiasts to build the
environment, you could grow support for this endeavor.
Good idea. This would be easier, of course, if there were some sort of open specifications on how the virtual terminal monitor thing works. Is it SSH? Telnet? RSH?

In the meantime, I'll try getting GCC and WPIlib to work together on Linux and maybe write a small IDE in PyGTK.
  #3   Spotlight this post!  
Unread 23-03-2010, 17:54
Robototes2412's Avatar
Robototes2412 Robototes2412 is offline
1 * 4 != 14
FRC #2412 (Robototes)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: Bellevue
Posts: 312
Robototes2412 is on a distinguished road
Re: Driver station coding and other

Yes! Pygtk FTW!

I have made some mockups in the past of a tabbed toolbar IDE, would you like me to post them here?
  #4   Spotlight this post!  
Unread 23-03-2010, 18:18
Thomas Clark Thomas Clark is offline
Hacker
FRC #0237
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Watertown, CT
Posts: 10
Thomas Clark is infamous around these parts
Re: Driver station coding and other

Quote:
Originally Posted by Robototes2412 View Post
Yes! Pygtk FTW!

I have made some mockups in the past of a tabbed toolbar IDE, would you like me to post them here?
Sure.

Although not my preferred language/toolkit combo, PyGTK would be portable to both Linux, Mac, and almost anything else with Python and GTK.

And now GCC is slowly downloading, configuring, compiling, etc...

Last edited by Thomas Clark : 23-03-2010 at 18:20.
  #5   Spotlight this post!  
Unread 25-03-2010, 17:11
Ken Streeter's Avatar
Ken Streeter Ken Streeter is offline
Let the MAYHEM begin!
FRC #1519 (Mechanical Mayhem)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 2005
Location: Team: Milford, NH; Me: Bedford, NH
Posts: 470
Ken Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond reputeKen Streeter has a reputation beyond repute
Re: Driver station coding and other

Quote:
Originally Posted by codedr View Post
The WPI library would be the same if built on linux because the target is still the robot.
This is absolutely true -- the limiting factor is the development environments in use, not the WPI library.

Quote:
Originally Posted by codedr View Post
Building a cross environment on Linux would require...

If you can convince a small group of robo linux enthusiasts to build the
environment, you could grow support for this endeavor.
With respect to Java development using NetBeans, I believe that after the initial imaging of the cRIO, you would be able to use NetBeans on a Linux machine to write your robot code without any troubles.

With respect to C++ development using Wind River Workbench, I believe that after the initial cRIO imaging, you could use Wind River Workbench for Linux (see http://www.windriver.com/products/pr...PO_WB_0109.pdf ) without any troubles. The only issue here is that you would need your own license for Wind River Workbench, as the one that is provided for FIRST is only for Windows development systems.

I confess to not knowing what options exist for running LabView on Linux hosts.
__________________
Ken Streeter - Team 1519 - Mechanical Mayhem (Milford Area Youth Homeschoolers Enriching Minds)
2015 NE District Winners with 195 & 2067, 125 & 1786, 230 & 4908, and 95 & 1307
2013 World Finalists & Archimedes Division Winners with 33 & 469
2013 & 2012 North Carolina Regional Winners with teams 435 & 4828 and 1311 & 2642
2011, 2010, 2006 Granite State Regional Winners with teams 175 & 176, 1073 & 1058, and 1276 & 133
Team 1519 Video Gallery - including Chairman's Video, and the infamous "Speed Racer!"
  #6   Spotlight this post!  
Unread 25-03-2010, 17:57
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,751
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: Driver station coding and other

LabVIEW for linux and Mac target local execution. For FRC, they will work for editing VIs, but the RT cross-targetting was dropped several releases back.

A quick comment on makefiles and IDEs -- don't be afraid of either one. Good IDEs are great at organizing workflow and integrating different tools into a somewhat cohesive experience. Bad or mediocre IDEs are a waste of launch time.

Make and other script oriented build environments are still with us, and in fact at least a few of the NI internal VxWorks developers choose to work from command line and text editor. If you poke around a bit, I suspect you can do FRC without the IDE.

Internally, LV development has been multi-platform for over twenty years. One of the cool things about that is exposure to many different development tools. We've always had at least one IDE and at least one non-IDE platform. It ebbs and flows.

Greg McKaskle
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
2010 Driver Station Netbook Driver Account and Java joshholat FRC Control System 2 10-01-2010 15:04
Spare router and/or driver station? TD912 FRC Control System 4 28-09-2009 18:04
paper: Set and display your Auto-Mode using LabVIEW and the Driver Station PhilBot Extra Discussion 0 11-02-2009 12:32
Camera and driver station viperred396 General Forum 8 05-02-2009 10:12


All times are GMT -5. The time now is 03:34.

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