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 / *6330 (-20)
  Re: Code-examples, books and papers in C/C++ for legOS?
 
(...) The best I've seen (and I've not seen all material available) is still Luis Villa's work: his HOWTO at our site ((URL) and that which is published in the book "Extreme Mindstorms" ISBN: 1-893115-84-4 Another good source is the customized HOWTO (...) (22 years ago, 23-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Code-examples, books and papers in C/C++ for legOS?
 
(...) There are, of course, many mindstorms books out there. I see in them (I have purchased at least six of them) that the majority of code examples is in NQC. As you might know we are working on the next major release and in that context let me (...) (22 years ago, 23-May-02, to lugnet.robotics.rcx.legos)
 
  Re: Setting LNP host address
 
(...) Joe Woolley prototyped the firmdl3 mods, I think, and has now a user program which can change the Id. This now makes 4 approaches we have to consider ;-) My thinking on firmdl3 use was that it is a direct replacement for compile time set that (...) (22 years ago, 23-May-02, to lugnet.robotics.rcx.legos)
 
  Re: What is exception "StackOverflowError" in method "<clinit>"
 
(...) The first time a method is called the class gets initialized, and the stack overflow happened in the initialization method <clinit>, so nothing mysterious there. (...) If your program uses a lot of memory (less than 3K free) this is a side (...) (22 years ago, 23-May-02, to lugnet.robotics.rcx.java)
 
  RE: Code-examples, books and papers in C/C++ for legOS?
 
Hi, please post any programs to the group, or e-mail me as well. I am always interested in looking through example code, to see how others are doing things and to get new ideas. Thanks -----Original Message----- From: news-gateway@lugnet.com (...) (22 years ago, 22-May-02, to lugnet.robotics.rcx.legos)
 
  Re: What is exception "StackOverflowError" in method "<clinit>"
 
(...) Yes, you are both right (Thanks anyway) 1. TextLCD.print() works perfectly when called from simple programs 2. My code is most probably using too deep calls (Why is this not covered in the 10/10 'Core' book of Bagnall) BUT, QUESTION FOR YOU (...) (22 years ago, 22-May-02, to lugnet.robotics.rcx.java)
 
  Code-examples, books and papers in C/C++ for legOS?
 
I am a swedish student that togheter with my colleague are working with legOS on a project: (URL) would welcome some suggestions about literature in C/C++ with legOS. Anything could be of interest. (22 years ago, 22-May-02, to lugnet.robotics.rcx.legos)
 
  Announcing a pbForth emulator
 
I started this project because I like pbForth, but having no previous experience about coding in Forth I felt the need of a comfortable environment where to test and debug my programs. I know that a good factored Forth code needs little if any (...) (22 years ago, 21-May-02, to lugnet.robotics.rcx.pbforth, lugnet.robotics.rcx)
 
  Re: main() not defined?
 
"Brian Smither" <bsmitherINVALID@INV...tlink.net> : (...) Sorry for that. I have typed all the code used in the book into BricxCC, and every program or code snippet has been compiled and checked before being pasted into the book. However, seems (...) (22 years ago, 21-May-02, to lugnet.robotics.rcx.nqc)
 
  Re: main() not defined?
 
Thank you, kind sir, for that small but important lesson in C programming. That was the problem. (And, for everyone's information - FEI - Ferrari's book also has Main() capitalized.) Trevyn Watson <4tee2@rogers.com> wrote in (...) (22 years ago, 21-May-02, to lugnet.robotics.rcx.nqc)
 
  Re: main() not defined?
 
(...) The code on page 107 has "main()" capitalized (i.e., "Main()") and it shouldn't. The error I get is "task 'main' not defined". I'm relatively certain it is a capitalization problem. John Hansen (URL) (22 years ago, 21-May-02, to lugnet.robotics.rcx.nqc)
 
  Re: main() not defined?
 
Did you capitalise "Main"? It doesnt seem to work if you do. NQC is case sensitive, just like C. Trevyn. (...) (22 years ago, 21-May-02, to lugnet.robotics.rcx.nqc)
 
  LegOS, lnpd, and networking
 
It seems to me that a lot of the discussion lately has been on networking multiple IR (infrared) clients using legOS. Is the IR tower using an ID? This would identify messages from the IR vs an RCX. Also could the addressing be extended to allow IP (...) (22 years ago, 21-May-02, to lugnet.robotics.rcx.legos)
 
  Setting LNP host address
 
I've experimented with a couple of choices which were relatively easy to implement. Let me know if we should keep any these: 1. You can choose to set the host address at build time with a command-line option to make. Example: make LNP_HOSTADDR=2 (...) (22 years ago, 20-May-02, to lugnet.robotics.rcx.legos)
 
  main() not defined?
 
I get this error - "main() not defined" - when compiling. The code is copied straight from the Ferrari book. While C is the language of my choice, the line of code isn't so obtuse as to hide errors from me. So probably there is some other requisite (...) (22 years ago, 20-May-02, to lugnet.robotics.rcx.nqc)
 
  lets drop exec
 
I'd like to make a suggestion and see what everyone thinks. I'd like us to drop our current thread interface (exec/kill) in favor of a pthead interface. Since theading entered legOS I've wondered why the exec style was adopted, the functionality of (...) (22 years ago, 20-May-02, to lugnet.robotics.rcx.legos)
 
  lnpd and mandrake 8.2
 
Hi, I have install the last legOS and have install lnpd to. But i have a problem when i run an applcation lnptest for example : it don't work.... Here is the problem "lnp_init: Network is unreachable". I run lnpd with the command "lnpd --nolock (...) (22 years ago, 20-May-02, to lugnet.robotics, lugnet.robotics.rcx.legos)
 
  new patch to modify LNP ID with util/dll
 
I've posted a patch at sourceforge which allows you to modify the RCX's LNP id using the util/dll program. This should make life easier for those of us using multiple RCXs and LNP. This patch applies to the current CVS head, post 0.2.6, though it (...) (22 years ago, 20-May-02, to lugnet.robotics.rcx.legos)
 
  Re: What happened to Spirit.ocx?
 
(...) Hum...so then how do I get Visual NQC to work? I installed RIS 2.0 on my computer, and try to use Visual NQC and it errors out with a "Component 'SPIRIT.OCX' or one of its dependencies not correctly registered: a file is missing or invalid" Is (...) (22 years ago, 19-May-02, to lugnet.robotics.rcx)
 
  Re: What is exception "StackOverflowError" in method "<clinit>"
 
(...) I have tried TextLCD.print() and it really does work. Roger (22 years ago, 17-May-02, to lugnet.robotics.rcx.java)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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