To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *6245 (-20)
  semaphores
 
Does anyone have any code that implements semaphores and shows where they might be useful? That is one place that the documentation seems a little weak. Thanks, Sam (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Apparent 'time-out'
 
The GUI version is 2.1.0. The pbForth version (COLD) is 2.1.2. I am using the USB tower with RIS 2.0. Once the RCX stops responding, if I pull out a battery and re-upload the firmware, the RCX will respond again to the same GUI session. In other (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.pbforth)
 
  Re: ___cmpsi2
 
(...) Had to look myself to belive it. But you are right, cmpsi2 is in the 0.2.6 system, but not in the 0.2.5 system. (...) No, that are the wrong ones. You need the lib functions for the cross compiled code. libgcc.a is code that gcc needs on your (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  RE: Apparent 'time-out'
 
(...) One more bit of useful information would be the version of pbForth (which you get by typing COLD) and which version of the GUI (top left of window) Also, are you using the serial or USB tower? What messages were you sending to the RCX before (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.pbforth)
 
  Apparent 'time-out'
 
I am using the TCL GUI provided by Ralph Hempel on a Windows 2000 machine to program the RCX 2.0 in pbForth. The upload of the firmware appears to be working just fine. I get responses back from the RCX and am able to create new functions without (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.pbforth)
 
  Re: ___cmpsi2
 
(...) I don't find cmpsi2 in the sources of LegOS 0.2.5 (in lib/mint)! I found a _cmpsi2.o in libgcc.a (from egcs 1.1.2), but I really don't know how gcc (and ld) uses that library. The makefiles come from the LegOS tarball. According to the output, (...) (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  Re: ___cmpsi2
 
(...) cmpsi2 is part of the libmint.a library. Would you please post (or send me) your source code and your Makefile? Regards, Mike (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  ___cmpsi2
 
Using a multiplication between an int (in my case time_t) and a double number results in the following error: main.o(.text+0x72):main.c: undefined reference to `___cmpsi2' Can someone help me? I'm running egcs 1.1.2 and binutils 2.12. Eric (22 years ago, 9-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Powered Sensors
 
Ok, I have gotten myself confused again. 0-0.32mA represents a voltage dropbetween 0 - 3.2 volts. Therefore the voltage that the RCX "reads" on theA2D is between 5 - 1.8 volts (1023 - 368 RAW)? To get a reading of 0 (RAW)it seems as though you would (...) (22 years ago, 8-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Converting a float to an integer
 
(...) float f = 1.4; int i = (int)((i >= 0) ? i + 0.5 : i - 0.5); OR if (f >= 0) i = (int)(i + 0.5); else i = (int)(i - 0.5); This is assuming you want to round to the nearest integer. Just curious, where are you getting the ascii strings that you (...) (22 years ago, 8-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Program() always returns 0
 
I believe any data source (not just timers/sensors/variables) can be used in SetUserDisplay. The big limitation is that local variables cannot be used since the display is updated in a global context independent of the tasks. If you know of data (...) (22 years ago, 8-May-02, to lugnet.robotics.rcx.nqc)
 
  Re: Program() always returns 0
 
Oops. Looks like a bug in the NQC API file. I just fixed the bug in the NQC source, but it's not major enough to warrant a new release yet. In the meantime, you can add the following lines to the top of of your source file as a work-around: #undef (...) (22 years ago, 8-May-02, to lugnet.robotics.rcx.nqc)
 
  Converting a float to an integer
 
Hopefully this isnt a silly question. Does anyone know how to covert a float to an integer? It doesn't appear that the function atoi exists. Michael. (22 years ago, 7-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Powered Sensors
 
----- Original Message ----- From: "John Barnes" <barnes@sensors.com> Newsgroups: lugnet.robotics.rcx.legos Sent: Tuesday, May 07, 2002 2:23 PM Subject: Re: Powered Sensors (...) the (...) across (...) Ok... lets see if I understand this.... For (...) (22 years ago, 7-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Powered Sensors
 
No, the RCX knows nothing about the diodes. That is why devices like the light sensor only send a current signal in the range 0 - 0.32mA back to the RCX. This current then creates a voltage drop across the 10k reference resistor with respect to the (...) (22 years ago, 7-May-02, to lugnet.robotics.rcx.legos)
 
  Powered Sensors
 
Hello all, I recently purchased "Extreme Mindstorms - An Advanced Guide to LEGO Mindstorms" and I must say it is one of the best books out there for the power user. I have a number of questions regarding powered sensors. First of all, when the RCX (...) (22 years ago, 7-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Next test version avail. 0.2.6.05 - have time?
 
(...) I'm not sure if that's a good idea. Of course, they can always be a compiler switch to turn them off if you don't want them. The thing is, though, that there are lots of tradeoffs between speed, memory use, and accuracy in this kind of (...) (22 years ago, 6-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Next test version avail. 0.2.6.05 - have time?
 
Ok, this brings up an interesting question... What is the best way to use LNP with windows? the version of WinLNP that I see is _ancient_ and requires VC++ to work.... so I see that there is a linux version, I was wondering it would be possible to (...) (22 years ago, 6-May-02, to lugnet.robotics.rcx.legos)
 
  Re: cygwin messed up?
 
Jason, There is a problem within the Makefile logic atleast with some windows OS. What OS are you trying it on? I submitted a bug to the legOS project on sourceforge ((URL) and submitted a suggestion for a fix here ((URL) is happening (atleast on my (...) (22 years ago, 6-May-02, to lugnet.robotics.rcx.legos)
 
  Next test version avail. 0.2.6.05 - have time?
 
We are looking for help testing our next very-early integration. We have revised the LNP support and have reworked the support for the LEGO Infrared Remote Control to create this 2nd test version. This version mimicks the stock firmware behavior. (...) (22 years ago, 6-May-02, 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