Go to Post I guess Team 999 was like "Chute first, ask questions later". - KPSch [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 15-09-2004, 22:45
jdong jdong is offline
Linux Nerd
AKA: John D
#0245 (Adam-Bots)
Team Role: Programmer
 
Join Date: Apr 2004
Location: Rochester, MI
Posts: 98
jdong will become famous soon enoughjdong will become famous soon enough
New Sourceforge Project, rtos port, LiveCD, etc

Hey, during our local OCCRA robotics season (which switched to the new controllers) I'm planning on spending a deal of my programming efforts writing platforms and tools for FIRST. I intend on having a production version available by FIRST kickoff....

The project is Adambots-Live just freshly approved, still in setup phase...


Anyway, the project will consist of Makefiles, WINE wrappers for MCC, a LiveCD with programming tools / loaders, and also an array of example code and algorithms.


Scripts:

Cygwin and native *nix (WINE) makefiles
Wine wrapper launchers for mcc18 and cpp18 (takes care of essential symlinking)
Shell-script for wget'ing a trial compiler, copying over an already-installed mcc, or installing mcc from the CD under Linux (both permanent and Knoppix live-install)

.deb packages for everything (perhaps alien'ed to RPM and tgz)

LiveCD distros:

Will include all the mentioned scripts.
Knoppix and DamnSmallLinux based -- a big CD and a little CD.
Will include the mcc18 - aquiring script. AFAIK mcc's license restricts me from packaging it onto the LiveCD -- if this is untrue, please let me know.
Linux IFI Loader
SDCC, gputils, and other open-source mcc alternatives (experimental -- not ready for production use. For pic hackers only!)


Algorithms Planned are:

PI(D?) closed-loop velocity control drive
PID sensorless DC motor velocity control
RTOS (real-time operating system) for PIC18, port of IFI libraries to run under the RTOS.


The hardest part will be the RTOS port . I intend on making it with freertos.org's system, since it's open-source and all...

Obviously, this is a fairly large project. If you have any suggestions or are willing to help out, please let me know.

Thanks
__________________
John Dong
Co-Captain, Webmaster / Programmer
Team 245 -- Rochester Adams Robotics

Last edited by jdong : 16-09-2004 at 12:32.
  #2   Spotlight this post!  
Unread 16-09-2004, 08:35
Raven_Writer's Avatar
Raven_Writer Raven_Writer is offline
2004 Detroit & Pittsburgh Winners
AKA: Eric Hansen
FRC #0005 (RoboCards)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Melvindale
Posts: 1,549
Raven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really nice
Send a message via ICQ to Raven_Writer Send a message via AIM to Raven_Writer Send a message via MSN to Raven_Writer Send a message via Yahoo to Raven_Writer
Re: New Sourceforge Project, rtos port, LiveCD, etc

This is a really nice idea.

I can tell you though that a Linux IFI Loader has already been made by team 188 (I believe), but if you want to make your own also, that'd be really cool.

I don't run Linux right now, so I won't be of much help. As for the license for MCC, I'd suggest contacting MPLAB on if you can do anything with their product (since they might allow it).
__________________
AIM: wisprmylastbreth
EMail: nightskywriter@gmail.com
Y!: synsoflife

"ai yoru ga" -- "Love the nights"
  #3   Spotlight this post!  
Unread 16-09-2004, 12:31
jdong jdong is offline
Linux Nerd
AKA: John D
#0245 (Adam-Bots)
Team Role: Programmer
 
Join Date: Apr 2004
Location: Rochester, MI
Posts: 98
jdong will become famous soon enoughjdong will become famous soon enough
Re: New Sourceforge Project, rtos port, LiveCD, etc

yeah, I'm re-using the already-made linux IFI loader-- although I'll have to debian-package it.


I'm considering forking it to add more features, but with the RTOS and all, it seems like I'd be busy enough without worrying about that!
__________________
John Dong
Co-Captain, Webmaster / Programmer
Team 245 -- Rochester Adams Robotics
  #4   Spotlight this post!  
Unread 08-11-2004, 15:39
rwaliany's Avatar
rwaliany rwaliany is offline
R
None #0691 (HartBurn)
Team Role: Programmer
 
Join Date: Jan 2003
Rookie Year: 2000
Location: http://www.hartrobot.com
Posts: 137
rwaliany will become famous soon enough
Re: New Sourceforge Project, rtos port, LiveCD, etc

Quote:
Originally Posted by Raven_Writer
This is a really nice idea.

I can tell you though that a Linux IFI Loader has already been made by team 188 (I believe), but if you want to make your own also, that'd be really cool.

I don't run Linux right now, so I won't be of much help. As for the license for MCC, I'd suggest contacting MPLAB on if you can do anything with their product (since they might allow it).
pssssh 691 :-P
__________________
R
  #5   Spotlight this post!  
Unread 15-11-2004, 16:44
jdong jdong is offline
Linux Nerd
AKA: John D
#0245 (Adam-Bots)
Team Role: Programmer
 
Join Date: Apr 2004
Location: Rochester, MI
Posts: 98
jdong will become famous soon enoughjdong will become famous soon enough
Re: New Sourceforge Project, rtos port, LiveCD, etc

I'm getting a Wiki started: http://adambots-live.sourceforge.net/


Currently in infant stages, hope eventually to fill a web of howto's and such.

P.S. SF is being slow! Not my fault.
__________________
John Dong
Co-Captain, Webmaster / Programmer
Team 245 -- Rochester Adams Robotics
  #6   Spotlight this post!  
Unread 16-01-2005, 21:08
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: New Sourceforge Project, rtos port, LiveCD, etc

Just compiled on a slackware 10.x box.. the picloader at least..
Code:
root@server:/ftproot/ifi-picloader-0.4.2.orig# make
[G++] Compiling PICloader...
[G++] Compiling PICreader...
Please run `make install` as root to continue with installation process.
root@server:/ftproot/ifi-picloader-0.4.2.orig# make install
[G++] Compiling PICloader...
[G++] Compiling PICreader...
Please run `make install` as root to continue with installation process.
[CP] Copying binaries...
Its a bit weird, as it looks as if it compiled twice. The readme file could use a bit of work also

Edit: Noticed a small bug.. you can download things to a non-connected serial port, and it appears to work correctly, but doesn't actually download

Last edited by devicenull : 17-01-2005 at 17:52.
  #7   Spotlight this post!  
Unread 06-10-2004, 19:25
LBK Rules's Avatar
LBK Rules LBK Rules is offline
1467 '06 Alumni
AKA: Anthony Rinaldi
no team (HSRO)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Henrico, VA
Posts: 438
LBK Rules will become famous soon enoughLBK Rules will become famous soon enough
Re: New Sourceforge Project, rtos port, LiveCD, etc

I was wondering how this project is coming along. I belive this would be much easier to use than Windows.
__________________
Anthony Rinaldi
Team 1132: 2003
Team 1467: 2004 - 2006
  #8   Spotlight this post!  
Unread 09-10-2004, 22:49
jdong jdong is offline
Linux Nerd
AKA: John D
#0245 (Adam-Bots)
Team Role: Programmer
 
Join Date: Apr 2004
Location: Rochester, MI
Posts: 98
jdong will become famous soon enoughjdong will become famous soon enough
Re: New Sourceforge Project, rtos port, LiveCD, etc

The school just allocated us two experimental computers. I've loaded Gentoo on both, and I'm planning to make the LiveCD's out of Gentoo (Catalyst), because Gentoo's fast and I love gentoo!


I've written ebuilds for the ifi-loader, and I have ebuilds for mcc, but I'm unsure of what I'm gonna do with them (i.e. make user wine-install C-Bot first, then install ebuild, or tarball up mcc against potential license issues).


Speaking of the Linux ifi-picloader, I did find a quite critical bug in functions.cpp that caused infinite loops on my machine... The author used looping construct


for (blah;blah;i=i++)

GCC would not accept i=i++, and i stayed at 0. I've alerted the author of the issue, but included it in my ebuilds, too.




Right now, I'm cleaning up default code, ready to release a makefile-packaged version. I'm also researching/learning how automake works, because automake scripts would make adding new .c files easier (automated Makefile entries).


By the end of the month or so, I'll have an initial Gentoo Console-only LiveCD out, for proof-of-concept.




Before I can do so, I want to know what kind of systems you intend on running the livecd on. Do we have anyone using something below i586?
__________________
John Dong
Co-Captain, Webmaster / Programmer
Team 245 -- Rochester Adams Robotics
  #9   Spotlight this post!  
Unread 28-10-2004, 12:27
doyler doyler is offline
Rookie / Programmer
#0900 (Infinity)
Team Role: Programmer
 
Join Date: Oct 2004
Rookie Year: 2005
Location: Durham
Posts: 87
doyler is an unknown quantity at this point
Re: New Sourceforge Project, rtos port, LiveCD, etc

That sounds awesome.

Are you going to integrate the FIRST compiler into it as well?
__________________
  #10   Spotlight this post!  
Unread 28-10-2004, 16:13
wun's Avatar
wun wun is offline
Registered User
AKA: David Wolever
#0865 (Warp7)
Team Role: Programmer
 
Join Date: Dec 2003
Rookie Year: 2001
Location: Toronto
Posts: 84
wun will become famous soon enough
Send a message via AIM to wun Send a message via MSN to wun
Re: New Sourceforge Project, rtos port, LiveCD, etc

Quote:
Originally Posted by jdong
Will include the mcc18 - aquiring script. AFAIK mcc's license restricts me from packaging it onto the LiveCD -- if this is untrue, please let me know.
Linux IFI Loader
Why not do something like GeeXBox (I think thats it, at least) does - allow people to download the source of the ISO with mkisofs binarys and scripts, so people can include their own compiler (and what ever else they want) then generate their own ISO image.
__________________
Help Microsoft stop piracy. Use Linux!

I have three gmail invitations, message me if you want one
  #11   Spotlight this post!  
Unread 28-10-2004, 20:09
Max Lobovsky's Avatar
Max Lobovsky Max Lobovsky is offline
Fold em oval!
FRC #1257 (Parallel Universe)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Scotch Plains, NJ
Posts: 1,026
Max Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant future
Send a message via AIM to Max Lobovsky
Re: New Sourceforge Project, rtos port, LiveCD, etc

Quote:
Originally Posted by jdong
PID sensorless DC motor velocity control
What is that? A PID loop uses the error between the set point and the measured value. How can you have an error without a sensor?
__________________
Learn, edit, inspire: The FIRSTwiki.
Team 1257


2005 NYC Regional - 2nd seed, Xerox Creativity Award, Autodesk Visualization Award
2005 Chesapeake Regional - Engineering Inspiration Award
2004 Chesapeake Regional - Rookie Inspiration award
2004 NJ Regional - Team Spirit Award
  #12   Spotlight this post!  
Unread 28-10-2004, 22:05
doyler doyler is offline
Rookie / Programmer
#0900 (Infinity)
Team Role: Programmer
 
Join Date: Oct 2004
Rookie Year: 2005
Location: Durham
Posts: 87
doyler is an unknown quantity at this point
Re: New Sourceforge Project, rtos port, LiveCD, etc

You should include some of the better tutorials and whitepapers

Also good code and official code
__________________
  #13   Spotlight this post!  
Unread 01-11-2004, 19:47
jdong jdong is offline
Linux Nerd
AKA: John D
#0245 (Adam-Bots)
Team Role: Programmer
 
Join Date: Apr 2004
Location: Rochester, MI
Posts: 98
jdong will become famous soon enoughjdong will become famous soon enough
Re: New Sourceforge Project, rtos port, LiveCD, etc

Quote:
Originally Posted by Max Lobovsky
What is that? A PID loop uses the error between the set point and the measured value. How can you have an error without a sensor?
It uses an analog input to sense current ripples, as a method of estimating velocities. Cheating your way out of encoders, basically!
__________________
John Dong
Co-Captain, Webmaster / Programmer
Team 245 -- Rochester Adams Robotics
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
Sourceforge for Code Repository and other stuff SilverStar Programming 9 15-01-2005 21:16


All times are GMT -5. The time now is 05:11.

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