|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#16
|
||||||
|
||||||
|
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
|
|||
|
|||
|
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
|
||||
|
||||
|
Re: Linux: steps to program fullsize RC robot
Quote:
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" 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 Last edited by Jeff McCune : 20-01-2004 at 18:52. |
|
#19
|
|||||
|
|||||
|
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 Last edited by rwaliany : 20-01-2004 at 19:27. |
|
#20
|
|||||
|
|||||
|
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.
|
|
#21
|
||||
|
||||
|
Re: Linux: steps to program fullsize RC robot
Quote:
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. |
|
#22
|
|||||
|
|||||
|
Re: Linux: steps to program fullsize RC robot
what if I made them download it automatically with wget :-)
|
|
#23
|
||||
|
||||
|
Re: Linux: steps to program fullsize RC robot
Quote:
|
|
#24
|
|||||
|
|||||
|
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 Last edited by rwaliany : 07-02-2004 at 17:31. |
|
#25
|
|||
|
|||
|
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
|
|||||
|
|||||
|
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 |
|
#27
|
|||
|
|||
|
Re: Linux: steps to program fullsize RC robot
Thanks a bunch
! I knew there was some kind of easy solution... |
|
#28
|
||||||
|
||||||
|
Re: Linux: steps to program fullsize RC robot
Quote:
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
|
|||
|
|||
|
Re: Linux: steps to program fullsize RC robot
Quote:
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
|
|||||
|
|||||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |