Go to Post I don't need sleep, just more Mountain Dew. Oh, and a muffin. - hallk [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
  #16   Spotlight this post!  
Unread 20-01-2004, 16:27
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,603
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Linux: steps to program fullsize RC robot

install winesetuptk and that will help you get your config file working.

Why don't you want to use the dlls in their existing location?
  #17   Spotlight this post!  
Unread 20-01-2004, 16:27
mikew mikew is offline
crazy coder
#0613 (Franklin RoboWarriors)
Team Role: Programmer
 
Join Date: Apr 2003
Location: Somerset, NJ
Posts: 39
mikew is an unknown quantity at this point
Send a message via AIM to mikew
Re: Linux: steps to program fullsize RC robot

The ifi loader distribution comes with a copy of the dll. I think I extracted my copy from a win98 system.
  #18   Spotlight this post!  
Unread 20-01-2004, 16:52
Jeff McCune's Avatar
Jeff McCune Jeff McCune is offline
Alpha Geek
#0677 (The Wirestrippers)
Team Role: Mentor
 
Join Date: Jan 2003
Location: The Ohio State University
Posts: 67
Jeff McCune is on a distinguished road
Send a message via ICQ to Jeff McCune Send a message via AIM to Jeff McCune
Re: Linux: steps to program fullsize RC robot

Quote:
Originally Posted by mikew
The ifi loader distribution comes with a copy of the dll. I think I extracted my copy from a win98 system.
Good to know... Was this documented somewhere, and I just missed the boat? Please don't take this the wrong way or anything, but would you mind if I help you out with the documentation? Either I'm missing threads on here with regard to getting this thing to work, or documentation is just lacking at the moment. Either way, I think everyone will benefit if we can get some good docs regarding Linux as a development environment.

If all goes well, I might even be able to set up a CVS server with a repository for any team that might want one. Might be useful. Would be nice we we can reduce the code to cvs update && make && ifi_loader_clone foo.hex /dev/ttyS0 or something of that nature.

Also, again not to step on your toes regarding the great work you're doing, but are we legally allowed to distribute the two dll files you have? It might be worth it just to be "clean" to instruct people to copy them from a Windows98 install, or obtain them by some other means. Not sure what the status is, but they're probably copyrighted Microsoft property.

OK, so I copied the crt.dll and msvcrt.dll from the ifiloader tarball into my fake_windows/Windows/System (Not System32, as I did last time) and then changed the win version line in the config to:
Code:
[Version]
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win2k3,win20,win30,win31)                                       
"Windows" = "winxp"
; DOS version to imitate
; "DOS" = "6.22"
and the mcc18.exe compiler is giving me some complaints about not being able to find a header file. Looking good.

Trying to compile user_routines.c by hand, from the command line, I get this:
Code:
silas@frink:code$ wine -- mcc18.exe -p=18F8520 -fo user_routines.o user_routines.c /i"C:\mcc18\h" -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Wine exited with a successful status
SWEET! OK, so would anyone like to comment on what content I should include in any documentation type things I'm planning on preparing? I personally run Debian GNU/Linux, so my instructions and examples will probably be from this perspective. Thoughts?
__________________
Team 677 - The Wirestrippers - Columbus School for Girls and The Ohio State University
EMAIL: mccune@ling.ohio-state.edu

...And all you touch and all you see
Is all your life will ever be...

Last edited by Jeff McCune : 20-01-2004 at 18:52.
  #19   Spotlight this post!  
Unread 20-01-2004, 19:23
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: Linux: steps to program fullsize RC robot

Aye, it should work step by step. I believe the only problem was setting winever to winxp. I'm working on it. I think I could maybe release 0.4 today with the serial reader etc...Thanks for all your support.

Just to keep everyone posted, why I'm updating so slow: I have 10 H/Ap/College classes, Robotics, community service projects im co-leading, and some other contests I'm leading with two part-time jobs of programming at eSCV and AMDI, teaching AP Compsci AB starting in a couple weeks, etc...

Thanks,
Ryan Waliany
__________________
R

Last edited by rwaliany : 20-01-2004 at 19:27.
  #20   Spotlight this post!  
Unread 20-01-2004, 19:43
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: Linux: steps to program fullsize RC robot

Also for msvcrt.dll, I believe it would be fine if I added a disclaimer next version stating that the user should have a copy of the Windows operating system and it belongs to Microsoft. If someone could check in on how dll download places distribute msvcrt.dll please let me know. I believe a disclaimer is all.
__________________
R
  #21   Spotlight this post!  
Unread 20-01-2004, 20:39
Jeff McCune's Avatar
Jeff McCune Jeff McCune is offline
Alpha Geek
#0677 (The Wirestrippers)
Team Role: Mentor
 
Join Date: Jan 2003
Location: The Ohio State University
Posts: 67
Jeff McCune is on a distinguished road
Send a message via ICQ to Jeff McCune Send a message via AIM to Jeff McCune
Re: Linux: steps to program fullsize RC robot

Quote:
Originally Posted by rwaliany
Also for msvcrt.dll, I believe it would be fine if I added a disclaimer next version stating that the user should have a copy of the Windows operating system and it belongs to Microsoft. If someone could check in on how dll download places distribute msvcrt.dll please let me know. I believe a disclaimer is all.
A disclaimer alone isn't enough to CYA if you're distributing copyrighted works. Countless examples of this exist from the rom sites to mp3.com. msvcrt.dll is ridiculously common, so I'd just google for it and link to some places that already distribute the library (They might even have MS's permission to do so). If the Microsoft legal army gets bored and decides to harass you, it would be nice to be able to claim you're not distributing anything Microsoft has rights over. Sounds like you're already busy enough and wouldn't welcome another distraction.

The chances of this ever actually being a problem for you if you decide to keep distributing the libraries are slim to none, I realize, but I'd just hate to see you hastled over something so trivial.
__________________
Team 677 - The Wirestrippers - Columbus School for Girls and The Ohio State University
EMAIL: mccune@ling.ohio-state.edu

...And all you touch and all you see
Is all your life will ever be...
  #22   Spotlight this post!  
Unread 20-01-2004, 20:46
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: Linux: steps to program fullsize RC robot

what if I made them download it automatically with wget :-)
__________________
R
  #23   Spotlight this post!  
Unread 20-01-2004, 21:04
Jeff McCune's Avatar
Jeff McCune Jeff McCune is offline
Alpha Geek
#0677 (The Wirestrippers)
Team Role: Mentor
 
Join Date: Jan 2003
Location: The Ohio State University
Posts: 67
Jeff McCune is on a distinguished road
Send a message via ICQ to Jeff McCune Send a message via AIM to Jeff McCune
Re: Linux: steps to program fullsize RC robot

Quote:
Originally Posted by rwaliany
what if I made them download it automatically with wget :-)
Perfectly legal. Debian packages do this all the time with stuff they can't distribute. When you install the package, it just asks "Can I download and install Macromedia FlashPlayer for you?" "Uh, sure!" "Downloading..." =)
__________________
Team 677 - The Wirestrippers - Columbus School for Girls and The Ohio State University
EMAIL: mccune@ling.ohio-state.edu

...And all you touch and all you see
Is all your life will ever be...
  #24   Spotlight this post!  
Unread 07-02-2004, 17:01
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: Linux: steps to program fullsize RC robot

New release 0.4.

Fixed memory, up to ~30kbytes around, tested with Kevin and Watsons infra-red, beacon, and navigation code along with FRC default code and my own code. Ansi color support makefiles, etc... dependencies...

http://www.hartrobot.com/ifi.php
http://www.hartrobot.com/downloads/i...der.0.4.tar.gz

I will post a file upload soon, but it appears that the file upload system doesn't support .tar.gz, or im not sure why else it gave me a string error on upload.

I'm in the process of switching servers to a new connection, so if hartrobot.com doesn't work replace www.hartrobot.com with 216.112.86.9/~hartrobot/

Thanks,
Ryan Waliany
__________________
R

Last edited by rwaliany : 07-02-2004 at 17:31.
  #25   Spotlight this post!  
Unread 11-02-2004, 16:38
kc8tbe kc8tbe is offline
Registered User
#0695
 
Join Date: Feb 2004
Location: Beachwood, Ohio
Posts: 3
kc8tbe is an unknown quantity at this point
Re: Linux: steps to program fullsize RC robot

Silly question, but is it possible to get feedback from the RC (i.e. via printf() calls in the program) via the picloader?
  #26   Spotlight this post!  
Unread 11-02-2004, 17:06
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: Linux: steps to program fullsize RC robot

Yes, using the picreader program that is included, you can type picreader <device> it pipes the output to the terminal and reads the output from the serial port from "printf". This is a new feature that was added I believe in 0.3 or 0.4. This allows you to even add ANSI color standards to your debug output and make it all pretty even.

Example:
[Debug: All systems running.]
[Debug: Fatal Error bla bla bla]

If anyone is interested in ANSI color I can probably write up a quick description of how it works.

Thanks,
Ryan Waliany
__________________
R
  #27   Spotlight this post!  
Unread 12-02-2004, 15:26
kc8tbe kc8tbe is offline
Registered User
#0695
 
Join Date: Feb 2004
Location: Beachwood, Ohio
Posts: 3
kc8tbe is an unknown quantity at this point
Re: Linux: steps to program fullsize RC robot

Thanks a bunch ! I knew there was some kind of easy solution...
  #28   Spotlight this post!  
Unread 12-02-2004, 15:42
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,603
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Linux: steps to program fullsize RC robot

Quote:
Originally Posted by Jeff McCune
Perfectly legal. Debian packages do this all the time with stuff they can't distribute. When you install the package, it just asks "Can I download and install Macromedia FlashPlayer for you?" "Uh, sure!" "Downloading..." =)
Note that the Debian packages that do this are still in non-free.

BTW, Jeff, while doing some research on sending SMS, I found your name in some of the files of one of the packages I was looking at. What other things have you done?
  #29   Spotlight this post!  
Unread 12-02-2004, 16:43
kc8tbe kc8tbe is offline
Registered User
#0695
 
Join Date: Feb 2004
Location: Beachwood, Ohio
Posts: 3
kc8tbe is an unknown quantity at this point
Re: Linux: steps to program fullsize RC robot

Quote:
Originally Posted by rwaliany
This is a new feature that was added I believe in 0.3 or 0.4.
Once again with my stupid questions...
I've looked in the tarball for 0.4 and 0.2 without success. This picreader doesn't seem to be in any of the Makefiles. I cannot find a tarball for 0.3 at http://ryan.scv.net/x2545/picloader. Where can I find this picreader application? Please post a link!
  #30   Spotlight this post!  
Unread 13-02-2004, 17:35
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: Linux: steps to program fullsize RC robot

I'm sorry those are old links, please refer to http://www.hartrobot.com/ifi.php Also, I'm sorry for responding slow, my e-mail was down and I didn't know anyone responded to here. That was a beta version of 0.4.
__________________
R
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
How much planning goes into your robot? Jnadke General Forum 41 29-01-2006 21:29
Anyone looking for more program space? archiver 2001 13 24-06-2002 02:20
WASH Palm scouting at the Championship Mike Soukup Scouting 2 19-04-2002 15:14
robot control emulator for default or other program CharlieWilken Programming 26 24-02-2002 02:36
about how Drive Train push the robot... shouldn't the force accelerate the robot? Ken Leung Technical Discussion 12 26-11-2001 09:39


All times are GMT -5. The time now is 13:50.

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