To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / *124 (-20)
  PS
 
As an addendum to my light message, I checked direct-sensor.h, and the numbers there seem to work out just fine. Could this be a compiler problem on my part? Just another thought- Luis ###...### "They call the faithful to their knees to hear the (...) (25 years ago, 12-Apr-99, to lugnet.robotics.rcx.legos)
 
  light values?
 
Another question before I call it a night- under LegOS 0.1.6, light-sensor values were restricted to the range 0-100. Under 0.1.7, I'm now getting a max value (pointed straight at a light bulb) of about 263, or once even 272. 255 would make sense to (...) (25 years ago, 12-Apr-99, to lugnet.robotics.rcx.legos)
 
  Updated Win32 toolchain
 
I've put an updated Windows 95/98/NT H8/300 cross-compiler, based on EGCS 1.1.2 (basically, the EGCS 1.1.2 release plus Mumit Kahn's Win32 patches, plus a couple of source hacks), on (URL) - this time, I've bundled in enough to compile without (...) (25 years ago, 12-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: floats
 
Thanks, Kekoa. (...) Well, as it appears I don't have much of an option, I'll stick to ints then :-) -Luis ###...### "They call the faithful to their knees to hear the softly spoken magic spell:" "There's no place like home... There's no place like (...) (25 years ago, 12-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: floats
 
(...) The errors you see are due to the fact that there is no hardware support for floating point. The compiler substitutes calls to the software equivalents, which do not exist; hence the linker errors you see. The math routines that do exist are (...) (25 years ago, 12-Apr-99, to lugnet.robotics.rcx.legos)
 
  floats
 
When I try to use a float in my code, I get a compiler message somewhere along these lines: <begin error message> ../code/light-brait....t-brait.c: undefined reference to `__floatsisf' ../code/light-brait....t-brait.c: undefined reference to (...) (25 years ago, 12-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: loading s/w
 
(...) legOS has a software solution built-in - when you are ready to quit, hold down the on/off button and press the 'prog' button. Hope this helps! Cheers, Richard (25 years ago, 9-Apr-99, to lugnet.robotics.rcx.legos)
 
  Web based LegOs compiler for the underprivileged?
 
I recently downloaded a program for the palm pilot that displays up to date movie times and locations based from perl parsed data from movies@yahoo.com It is a great program, but getting and setting up Perl on my system was a real pain. Luckily (...) (25 years ago, 8-Apr-99, to lugnet.robotics.rcx.legos, lugnet.robotics)
 
  Re: loading s/w
 
(...) I skipped something here. The assumption I made is that you want to load new custom firmware. If you want to load the Lego firmware, find the Firm0309.lgo file in your Mindstorms directory, and load that into the RCX exactly as you would (...) (25 years ago, 8-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: loading s/w
 
(...) I belive LegOS breaks firmware deletion, in the sense that the "delete firmware" opcode is not supported by the IR routines, but I could be wrong about that. If you are using an AC adapter and no batteries, the easiest thing to do is to turn (...) (25 years ago, 8-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: gcc build instructions for linux
 
(...) I observed the same phenomenon, only I was using gcc-2.8.1. I never did find out what was wrong, but I assumed it might have something to do with the new libgcc stuff which appeared in 0.1.7. I eventually got working by installing egcs-1.1.1. (...) (25 years ago, 8-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: loading s/w
 
(...) Have you tried the firmdl program in the utils directory? You might need to recompile the executable manually, as on my system it gets compiled for the h8 :) And there's an environment variable that you can set RCXTTY or something - if you (...) (25 years ago, 8-Apr-99, to lugnet.robotics.rcx.legos)
 
  xanim plays mod files
 
The new version of Xanim (xanim2801.tar.gz) will play the mod files on the Lego MindStorms CD. (URL) hosted LegOS embedded - cool! (25 years ago, 8-Apr-99, to lugnet.robotics.rcx.legos)
 
  loading s/w
 
After successfully downloading and running tm-and-ir.srec (Linux host), I cannot download to it any longer. Upon power up, the LCD displays LEGO!5 and I can select any other program slots. I could just re-load firmware in '95 but I don't want to (...) (25 years ago, 8-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: gcc build instructions for linux
 
OK, I have some more information now. When I build 0.1.6 in my new environment it works fine. 0.1.7 and the snap exhibit the problem. The problem is that when using tm-and-ir, the 'view' button (which is supposed to send the message "Hello World") (...) (25 years ago, 8-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: gcc build instructions for linux
 
(...) The helpful folks on the crossgcc mailing list told me that this error indicates that no libstdc was found, so no binary could be generated for the target (not host) platform. Since legOS provides a replacement library, there is no problem (...) (25 years ago, 7-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: gcc build instructions for linux
 
This site is quite useful: (URL) found it via ftp.cygnus.com/pub/crossgcc. I hope it helps you out. Cheers, Vic (...) LANGUAGES="c (...) that (...) (25 years ago, 7-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: gcc build instructions for linux
 
I got everything to build using egcs 1.1.2, but I am having problems with the tm-and-ir demo (after modifying it for the new execi syntax) which make me think maybe egcs is not generating correct code. I used the build instructions at (URL) did use (...) (25 years ago, 7-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: gcc build instructions for linux
 
(...) I did not have this problem. Sounds like Fortran. Did you 'make LANGUAGES="c c++"' or just 'make'? The latter makes the Fortran stuff, too. Remember that if you specify LANGUAGES when building, you should specify the same value when (...) (25 years ago, 6-Apr-99, to lugnet.robotics.rcx.legos)
 
  Re: gcc build instructions for linux
 
(...) I got the same message, and your reasoning about the content of the message sounds AOK by me. But then I did a make install, and that crudded out on me, with the message In file included from ../../../egcs-1.1.2/...com.c:198: (...) (25 years ago, 6-Apr-99, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR