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 / *6235 (-20)
  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)
 
  Re: Program() always returns 0
 
SetUserDisplay does not work like that. You need to specify either a sensor, timer, or global variable. Once you have done that it will continuously update the display as the value changes. In your case you should write your program something like: (...) (22 years ago, 6-May-02, to lugnet.robotics.rcx.nqc)
 
  Program() always returns 0
 
The following code always displays 0 regardless of the program slot in which it is run. Is this a bug, or do I not understand the purpose of Program()? I'm using the 2.0 firmware and NQC 2.4 r2. task main() { SetUserDisplay(Program(),0); (...) (22 years ago, 6-May-02, to lugnet.robotics.rcx.nqc)
 
  Re: cygwin messed up?
 
You can try a few things with the makefile.common in the util directory and change the tool prefix from cc to gcc. Later u might have another error related to ld at that point u'll have to put the extension .exe in front of ld in one of the (...) (22 years ago, 6-May-02, to lugnet.robotics.rcx.legos)
 
  cygwin messed up?
 
i'm running the lates version of cygwin and i'm trying to follow the instructions at (URL) but, when i try to make depend i get some errors: $ make depend for i in util lib boot demo ; do c:/djgpp/bin/make.exe NODEPS=yes -C $i depend || exit 2 ; (...) (22 years ago, 5-May-02, to lugnet.robotics.rcx.legos)
 
  Re: NQC and BricxCC problem
 
John, The crash is because NQC is trying to print out an error message but doesn't have legitimate information about the lexical location (file, line number, etc) of where the error occurred. The error itself is from the "#pragma init" line - (...) (22 years ago, 5-May-02, to lugnet.robotics.rcx.nqc)
 
  RE: Co-operative Multi tasking in pbforth 2.1
 
(...) Mario, Thanks for the feedback. As you all know, writin this stuff is hard. I figure 10 minutes of reading time is probably 2 or 3 hours of writing... (...) Ha! The dark side has won you over! Can you give us a tiny hint on the subject? I'll (...) (22 years ago, 5-May-02, to lugnet.robotics.rcx.pbforth)
 
  Re: tty problem
 
(...) try this: ../util/firmdl3 --tty=usb legOS.srec (22 years ago, 5-May-02, to lugnet.robotics.rcx.legos)
 
  NQC and BricxCC problem
 
Dave (or anyone else who might have an idea), I'm trying to figure out a problem that a user reported regarding BricxCC and its interaction with NQC. (I've only tested it against the latest release of both BricxCC and NQC.) When attempting to (...) (22 years ago, 5-May-02, to lugnet.robotics.rcx.nqc)
 
  tty problem
 
Hello, I have recently downloaded the legos-0.2.6 version and have built it under windows Cygwin. when I give the command being in the boot directory where legOS.srec is export RCXTTY=USB ../util/firmdl3 legOS.srec it says USB: No such file or (...) (22 years ago, 5-May-02, to lugnet.robotics.rcx.legos)
 
  Re: makefile?
 
Fredrik, You can check to see what Cygwin packages have been installed on your system by using the cygcheck command. Try cygcheck -c If the output is too large for your dos window you can export it to a file by using the following command cygcheck (...) (22 years ago, 4-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