To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / *1839 (-10)
  Re: Declarations in header files
 
(...) "extern inline" means that we are defining an inline function, but if the inline function is not used, there is also an externally defined function with the same purpose. So, if you compile without optimization, it acts like "extern void (...) (23 years ago, 18-Apr-01, to lugnet.robotics.rcx.legos)
 
  error from makelx: address out of bounds
 
Hallo! My question again: I tried to declare sensors global, out of main(): Motor motor(Motor::B); LightSensor s(LightSensor::S3,false); int main(){ ... } make reports an error: /home/micha/legOS/util/makelx test.ds1 test.ds2 test.lx test.ds1: (...) (23 years ago, 17-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: Dynamic lists allowed?
 
(...) Thanks for your help. The program is running fine now. Would you happen to know if anyone has created this sort of high level functions? If not more people might be interested. jm (23 years ago, 13-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: Dynamic lists allowed?
 
(...) This should be "struct tNode *next;" (...) After this, any time you want to refer to a tNode, you need to say "struct tNode". Or you can put "typedef struct tNode tNode" and then use the "tNode" as a type like you're doing. (23 years ago, 12-Apr-01, to lugnet.robotics.rcx.legos)
 
  Dynamic lists allowed?
 
Since I just got started with legOs (thanks to 'Extreme Mindstorms'), I'm creating a set of high level utility functions. This one here is intended to display a DYNAMIC list of values, but there seems to be a problem with the use of 'struct' and (...) (23 years ago, 12-Apr-01, to lugnet.robotics.rcx.legos)
 
  c++, sensor declaration
 
Hallo! I tried to declare sensors global, out of main(): Motor motor(Motor::B); LightSensor s(LightSensor::S3,false); int main(){ ... } make reports an error: /home/micha/legOS/util/makelx test.ds1 test.ds2 test.lx test.ds1: address out of bounds on (...) (23 years ago, 10-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: c++, classes
 
Hallo Frank, yes, it helped, thanks. But I still don't understand the background. Normally, in c++ you can initialize your private components in the body of the constructor or with a initialization list, like in your suggestion. Reagards. Michael (...) (23 years ago, 10-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: dll problems
 
Nevermind, I figured it out. Apparently some of the programs weren't compiled correctly in the demo folder because some of them worked and some didn't. I was able to recompile some of them and then they would download. Wierd but at least I figured (...) (23 years ago, 8-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: dll problems
 
Hmmm.... After messing around with it some more, I'm getting a new error message: "error creating program" . quite similar to the last one but not quite the same. Thought that might help in figuring this out. Nate Ridderman (23 years ago, 7-Apr-01, to lugnet.robotics.rcx.legos)
 
  dll problems
 
Hi, I'm trying to install legOS 0.2.4 on my rcx from a windows system. I need to use it for a computer programming class I'm taking. I was able to download everything and successfully installed the firmware, however I'm unable to use the dll program (...) (23 years ago, 7-Apr-01, 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