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 / *6225 (-20)
  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)
 
  Re: Co-operative Multi tasking in pbforth 2.1
 
In lugnet.robotics.rcx.pbforth, Ralph Hempel writes: [...snip...] (...) Ralph, your recent additions to pbForth and to its documentation are simply great. Can't wait to see the next article... I'm currently in a "pbForth phase". Not only I do (...) (22 years ago, 4-May-02, to lugnet.robotics.rcx.pbforth)
 
  RE: makefile?
 
You need "make" installed on your system. Run the cygwin setup.exe and install it. Good luck. -----Original Message----- From: news-gateway@lugnet.com [mailto:news-gateway...ugnet.com] On Behalf Of Fredrik Helin Sent: Saturday, May 04, 2002 6:48 AM (...) (22 years ago, 4-May-02, to lugnet.robotics.rcx.legos)
 
  makefile?
 
Hi! The "make" command in Cygwin returns a: "command not found" after installing legOS 0.2.6 on a Windows 98 machine. I'm currently in the legos-0.2.6 catalogue and the Makefile, Makefile.common, Makefile.user, Makefile.kernel files are all there. (...) (22 years ago, 4-May-02, to lugnet.robotics.rcx.legos)
 
  Re: linux USB driver.
 
(...) Are you sure you got the usbcore module? I'm also not quite sure it will work with 2.4.9 . Jürgen (22 years ago, 4-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Co-operative Multi tasking in pbforth 2.1
 
Hi Ralph Thanks for you reply. I have just started into the article on background monitoring, its great. I am looking forward to your articles on hooking into the one millisecond timer and use of using John Barnes' ultrasonic sensor. I was going to (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.pbforth)
 
  Re: linux USB driver.
 
I've just upgraded to the kernel 2.4.9-31 and tried to compile this driver. I get the following errors: [root@kelcsts38b usb_lego]# make install /sbin/modprobe -r usb_lego cp usb_lego.o /lib/modules/2.4.9-3...rivers/usb /sbin/modprobe usb_lego (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.legos)
 
  Re: sys_timer
 
(...) Yes. It is updated from an interrupt routine that fires every 1 ms (IIRC). However.... (...) wait_event is only accurate to 20ms or so, depending on what your other tasks do. So your timing is very accurate, but you're not timing what you (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Current Makefile logic fails for nonNT Windows OS
 
Taking a second look at this and noticing some past post about this issue with WinXP ((URL) a much cleaner code might look like the following # # WindowsNT/Cygnwin, test against several values: # ifneq (,$(findstring $(OSTYPE),cygwin32 cygwin (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.legos)
 
  RE: Co-operative Multi tasking in pbforth 2.1
 
Phil, I have some hooks in the current version of pbForth that you can use to implement cooperative multi-tasking. Have you read the article on implementing a background monitor to check for button presses? It's at: (URL) I was going to write (...) (22 years ago, 3-May-02, to lugnet.robotics.rcx.pbforth)
 
  Current Makefile logic fails for nonNT Windows OS
 
I am compiling under windows 98 using cygwin version 1.3.10. In Makefile.common (/legOS-0.2.6,/legOS....2.6/util) the logic to determine whether the OS is a windows system fails due to the fact that uname returns CYGWIN_98-4.10. I submitted a bug (...) (22 years ago, 3-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