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 / *7990 (-20)
  Re: disable LNP
 
(...) Have the changes from the above thread been implemented in a release of BrickOS, yet? (reduced sensor sample rate) I need to D/L a new release, but I don't want to rush, because I know I'll have to make changes to some of my existing code. (...) (21 years ago, 10-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: disable LNP
 
(...) Steve, If no IR traffic (of any kind) is occurring, then there is very little overhead associated with LNP being active. In any event, this trivial amount of overhead (in systime.c) can't be disabled. What you really need to be concerned about (...) (21 years ago, 10-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: Linked Lists in BrickOS
 
(...) Michael, This will save you a few keystrokes: pNext = 0; :-) Mark (21 years ago, 10-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: Linked Lists in BrickOS
 
(...) Actually, it turned out that there was some leftover obj or mak files that were messing up the compiler. I purged the directory, and all was well. Thanks for the tip on tabbing. Just wanted to confirm that a BrickOS pointer is only 2 bytes... (...) (21 years ago, 10-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: RCX Communications problems
 
(...) the LNP class also uses LLC, it just doesn't implement receiveAck(). (...) You could work ACKs into LNP (e.g. create a LNPReliableHandler), or you could add multi-byte support into and put an addressing layer over LLCReliableHandler. The (...) (21 years ago, 9-Oct-03, to lugnet.robotics.rcx.java)
 
  disable LNP
 
I need to write a program that can send and receive messages, but there are times when the program is running, that I don't want to waste processor time watching for messages. Is it possible to switch LNP on and off, while a program is running? I (...) (21 years ago, 9-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: Linked Lists in BrickOS
 
(...) If you install cygwin and the cross compilers using my pre-packaged installer ((URL) and my pre-packaged and pre-built brickOS/leJOS installer ((URL) then you should be able to write your brickOS programs using GNU Pascal. (see below) (...) I (...) (21 years ago, 9-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: leJOS auto power-off
 
(...) your programs, lest you forget to turn off the RCX while a program is running and waste a set of batteries ... Like while(System.current...meMillis() < 600000) { // 10 minutes timeout ... } as a main loop instead of while(true){...} Jürgen (21 years ago, 9-Oct-03, to lugnet.robotics.rcx.java)
 
  Re: Linked Lists in BrickOS
 
(...) Yeah, this was the problem. It hadn't occurred to me that BricxCC wasn't saving the file before making. Whoops. (...) Yes, tremendously (...) It looks like this was the problem line. I didn't know the syntax for a pointer to nothing. (in (...) (21 years ago, 9-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: Linked Lists in BrickOS
 
(...) BricxCC can't know for sure what compiler to use unless it can tell what type of file you are editing. It figures this out using the file extension. In order to compile C++ and C code, BricxCC needs the file to have a .cpp or .c extension. (...) (21 years ago, 8-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: INT_MAX in BrickOS
 
(...) Yes, very much, thank you. That explains why I was getting odd results when I set an int to 65535. Now, I know what to do. Thanks Steve (21 years ago, 8-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: INT_MAX in BrickOS
 
(...) Hi Steve, Here's a handy table: TYPE BITS MIN MAX ===...=== char 8 0 255 unsigned char 8 0 255 signed char 8 -128 127 int 16 -32768 32767 unsigned int 16 0 65535 unsigned 16 0 65535 long 32 -2147483648 2147483647 unsigned long 32 0 4294967295 (...) (21 years ago, 8-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: leJOS auto power-off
 
Works for me! Thanks for the pointer (I think I searched everywhere *but* lugNET :O). (...) (21 years ago, 8-Oct-03, to lugnet.robotics.rcx.java)
 
  Re: RCX Communications problems
 
Hi everyone, I did take a look at LNP, but I need to be sure that the RCX received the packet. As far as I Know, LNP is an UDP kind of communication. LLC is more reliable way to communicate as it uses ACK. I’m thinking know in recompile the RCXPort (...) (21 years ago, 7-Oct-03, to lugnet.robotics.rcx.java)
 
  INT_MAX in BrickOS
 
What's the max value for an INT in BrickOS? Is it +/- 2,147,483,647? (21 years ago, 8-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: leJOS auto power-off
 
(...) It can't be done. (URL) Hansen (URL) (21 years ago, 8-Oct-03, to lugnet.robotics.rcx.java)
 
  leJOS auto power-off
 
How does one disable the auto power-off feature in leJOS? I've scanned the API and can't find it. Thanks. -Brian (21 years ago, 8-Oct-03, to lugnet.robotics.rcx.java)
 
  Re: Linked Lists in BrickOS
 
(...) Also, add some semicolons to the above like so: class list { private: Node *p_head; }; Mark (21 years ago, 7-Oct-03, to lugnet.robotics.rcx.legos)
 
  Re: Linked Lists in BrickOS
 
In lugnet.robotics.rcx.legos, Michael Purvis wrote: <snipped some, added some filler> (...) In order for the above to work.... (...) wouldn't the above need to be uncommented ??? I am not seeing where else you declared pData... but I could be wrong. (...) (21 years ago, 7-Oct-03, to lugnet.robotics.rcx.legos)
 
  Linked Lists in BrickOS
 
Thanks to all that assisted me in getting set up. It turned out to be missing Cygwin packages. My bad. Two problems. Firstly, BrixCC needs to be restarted to compile 'new' code. Is there a way to correct this problem? Also, I'm having trouble (...) (21 years ago, 7-Oct-03, 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