Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Open-Source FIRST (http://www.chiefdelphi.com/forums/showthread.php?t=52633)

Shinigami2057 23-01-2007 23:59

Open-Source FIRST
 
I know this is a very long post, but please take the time to read or skim over it and contribute your thoughts if you're interested.

Lately I've been thinking quite a bit about Dean Kamen's message about the mission of FIRST and gracious professionalism, and I really admire what FIRST as both an organization and a community of students have achieved so far. After the introduction to FIRST at kickoff, I was disappointed when they started to talk about the software available for use with the FRC: (paraphrased) "For those of you Macintosh users out there, there is a great piece of software you can use... it's called Parallels. Run Windows in your Mac!" I believe this is really out of line with the goal of FIRST to give these opportunities to every student; to force everyone to use a rather costly operating system with a very limited set of tools, especially when there are probably many teams that would much prefer to utilize a different operating system (namely, Mac OS X, Linux, and BSD) but cannot because they are not supported. I don't want to be forced to run a bloated operating system as a guest in an OS of another architecture, nor do I want to run everything in wine, which is only a workaround, not a solution.

I don't expect FIRST to have to write software for every possible platform to work on anyone's machine, but I would like to see more options available to FIRST competitors. Free software (as in speech, not as in beer), in my opinion, is the key to this. Allowing the FIRST community to aid in writing open-source applications for the competition can greatly help spread the idea of collaboration and gracious professionalism, as we will be all working together towards improving our very own tools. Not only will students benefit from having alternative tools, but they can also learn from their implementation and eventually contribute and improve upon what was given.

Now, I know that there are many open-source tools available, written by members of the Chief Delphi community - they are exactly what I'm talking about. The problem is the decentralized nature of all these projects; I would like to get an official okay from FIRST, and have open-source technology created by FIRST participants be recognized by the organization, maybe with something like opensource.usfirst.org, with a public svn repository with all the major projects or whatever.

I'm planning on writing a letter to Dean Kamen and other prominent members of FIRST about this, and I absolutely need your help. What we need are people who are willing to help develop, maintain, and just basically contribute whatever possible to making this happen - if there is enough interest. I want to make possible in the near-future several things:
- An open-source compiler toolchain for the PIC18. This is likely the most difficult, but it is definitely possible with all the active developers on this site :)
- An _active_, centralized repository for all major FIRST open-source projects.
- Quality free software replacements for all FIRST-supplied proprietary software.

If you are interested in this project, please reply and stir up some ideas so I know if it's actually going to be worth the effort. Thanks for putting up with my verbosity! ;)

robind 24-01-2007 00:29

Re: Open-Source FIRST
 
Sounds good. Write it using kde or gtk bindings, then it will be portable to *nix, *bsd, and os x.

Just a suggestion, of course.

Goldeye 24-01-2007 02:43

Re: Open-Source FIRST
 
Gtk/kde bindings are unnecessary -- only command line tools are needed.

However, it should be noted that there are several utilities available for unix already (PICloader, although its source might not be available) and in combination with WINE, it is possible to develop solely on unix. While it would be kinda cool to not bother with wine, there probably isn't any point. After all, considerable changes would be necessary if FIRST changed the processor or compiler.

However, FIRST should support the maintenance of the unix tools.

chris31 24-01-2007 07:01

Re: Open-Source FIRST
 
I dont think you will be able to get Microchip to make a Unix port of there compiler. However having FIRST run a public SVN server sounds like a good idea.

jtdowney 24-01-2007 07:13

Re: Open-Source FIRST
 
I am a huge open source advocate however what you are asking is that FIRST essentially stop using the Microchip PIC18, since as chris31 said it would be hard to get them to port it to Unix. That would require a lot more work then I think they are willing to put in for operating systems that only appear in 10% of the desktop market. On the bright side however I have yet to hear of a University level Engineering program that doesn't require even a little Unix work. So that might be a motivator.

EHaskins 24-01-2007 09:08

Re: Open-Source FIRST
 
I haven't heard anyone suggest Linux robots in this thread. Look at this thread<http://www.chiefdelphi.com/forums/sh...ad.php?t=52563>. If you want to work towards Liunx/mac support you could write "dummy" code for the pic that would just forward the data from a Gumstix(or similar linux based device) to the I/O, and the thread above has already done this.

I think it would be better use of your time, and more adaptable to new technology to use a coprocessor. Not to mention the other advantages of a coprocessor.

shawger 24-01-2007 13:36

Re: Open-Source FIRST
 
First of all, I agree with you completely, and I'm glad somebody is finally bringing this type of thing out into the open.

Quote:

Originally Posted by Shinigami2057 (Post 563944)
- An open-source compiler toolchain for the PIC18. This is likely the most difficult, but it is definitely possible with all the active developers on this site :)

This is definitely the biggest issue barring the use of Linux and other UNIX's. We don't need to port the whole MPlab IDE. Once the compiler is taken care of, people will come up with their own makefiles and text editors.

But FIRST will need to get their support behind all of this if anything is going to happen. Right now, there are a couple projects going on (not in the way of compilers though), but they are very fragmented. An example would be Eclipse. It seems that every year, somebody is coming up with a new plugin for Eclipse to allow it to work with C18. Newbies like myself would like to use Eclipse or some other IDE, but don't know where to start after digging through the multitude of threads and whitepapers on this site.

With open source tools, one has the advantage of being able to use them in any combination on any system. FIRST needs to start heading in this direction.

Shinigami2057 24-01-2007 13:41

Re: Open-Source FIRST
 
Some of you are missing what I'm getting at. I'm not asking FIRST to port all of their software to UNIX, or to get Microchip to port the C18 to UNIX. I want them to recognize community efforts to bring the "standard" FIRST software (and new, innovative tools) to other platforms, and improve upon them. What I'm looking for are developers who are willing to work together on this.

I don't want first to stop using MCC18; I want US to write a free-software C compiler for the PIC18F. I want US to consolidate efforts on creating useful tools for FIRST competitors, preferably as free software. We don't need FIRST to do it for us, they have enough on their hands. Chief Delphi has a number of outstanding programmers, and what I hope is that they would be willing to collaborate on a number of projects instead of creating a handful of fragmented projects, that, although useful, aren't well-known or are undermaintained.

All I'm asking of FIRST is official support for community projects, and if they end up being good enough, considering adding them to the official collection of tools. At this moment I'm looking for people who are willing to contribute actively to this.

EDIT: shawger beat me to it :) That's exactly what I'm talking about.

bombadier337 24-01-2007 15:39

Re: Open-Source FIRST
 
I'm not sure if this is relavant, but I know Microchip's C30 compiler for their 16-bit PICS is based off of gcc. I'm not sure about c18, however.

TennBikeBerk 24-01-2007 16:00

Re: Open-Source FIRST
 
With 80-90% of users using PC's, is it really not in the spirit of FIRST to write software geared towards those 80-90% of people?

chris31 24-01-2007 16:29

Re: Open-Source FIRST
 
Quote:

Originally Posted by TennBikeBerk (Post 564293)
With 80-90% of users using PC's, is it really not in the spirit of FIRST to write software geared towards those 80-90% of people?

FIRST isnt the one writing it. They use donated software. I find it hard to beilive a team only has access to Macs and there is no Windows computer around. If that is the case go build a P2 machine for a couple hundred dollars.

Shinigami2057 24-01-2007 19:50

Re: Open-Source FIRST
 
Sigh. The point is about options, really. It's not disputed that most teams are perfectly happy with using MPLab and the C18 along with IFI_Loader on Windows. The rules don't state that you MUST use microchip's software to program the robot; the rules only state that you must use the PIC18F as the main processor. There are no restrictions on the software you can use, but there are no other options.

There may not be any teams that have all Macs, but there might be a team that can't afford to build a machine for a couple hundred dollars and buy a license for Windows XP for $100. They might want to take an old machine and use Linux or FreeBSD or Solaris.

Not only would this give more choice to teams, but team members can learn quite a bit through contributing to projects. To help with a compiler, they'd learn a lot about compiler design and the architecture of 8-bit PICs, and having a lot of centralized code will let them learn about all aspects of software development, not just embedded design (even though that is the primary goal of FIRST).

If you're not interested, that's fine. I just want to know if I can get developers that would be willing to help, that's all.

JBotAlan 24-01-2007 20:05

Re: Open-Source FIRST
 
I would love to contribute, however, I don't know the slightest thing about compiler design. I think it is a nice idea to have open-sourced software--I was thinking about duplicating easyC so that teams are not limited by the number of seats they are allowed--but the reality is I just don't have the time anymore. Not to mention I'm on WinXP, so MPLAB and C18 are doing just fine here (except I've noticed some really strange bugs in MPLAB sometimes--boxes and hieroglyphics appearing after the cursor as I type...it's a little scary. And don't hit compile again until after the current compile is entirely done...:ahh: ).

I want to help, but I really can't.

I want to see this project get off the ground, but I don't see it happening.

Sorry.
JBot

chris31 24-01-2007 20:10

Re: Open-Source FIRST
 
Quote:

Originally Posted by Shinigami2057 (Post 564474)
There may not be any teams that have all Macs, but there might be a team that can't afford to build a machine for a couple hundred dollars and buy a license for Windows XP for $100. They might want to take an old machine and use Linux or FreeBSD or Solaris.

Every team can afford it. And if they claim they cant I will show them how to get one donated or just extra junk out of there budget to purchase one.

My point was just that while it would be great idea. Im not sure if FIRST will support it as it could very easily lead to just confusing more teams.

shawger 24-01-2007 22:54

Re: Open-Source FIRST
 
Quote:

Originally Posted by TennBikeBerk (Post 564293)
With 80-90% of users using PC's, is it really not in the spirit of FIRST to write software geared towards those 80-90% of people?

It is not in the spirit of FIRST to lock people into certain platforms to limit their choices. Yes, most people have access to Windows computers. But many people prefer not to use them, are more comfortable working with other platforms, or find another platform more functional.

Why would this be confusing? It's just another set of tools. Providing that they work well and are polished, they should not be any harder to work with, and could potentially be easier to work with.


All times are GMT -5. The time now is 04:15.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi