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 (-20)
  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)
 
  Re: RCX Comm via input-output connection?
 
(...) There's a couple of other ways to do it (besides the off / float mentioned by others): 1. Have the motor off RCX1 drive a rotation sensor on RCX2. Requires more space & parts. 2. Use LNP (infra-red communication). But requires that RCXs are in (...) (23 years ago, 6-Apr-01, to lugnet.robotics.rcx.legos)
 
  OT: Exploration Mars Balloon Tires Part#
 
Hello Does anyone know the LEGO-Shop-At-Home part# for the balloon tires that come with the Exploration Mars Expansion Set ? Thanks Tim Goodwin (23 years ago, 6-Apr-01, to lugnet.robotics.rcx.legos)
 
  RE: RCX Comm via input-output connection?
 
Hi Jakob, Search for "Electrical Data Link between 2 RCXs" thread on lugnet.robotics.rcx.ncq and various threads on lugnet.robotics ((URL) such as "CM-RCX" and more. I'm finishing up a *NQC* input/output VLL lib that supports direct electrical (...) (23 years ago, 6-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: RCX Comm via input-output connection?
 
Hi, Jakob, It is possible and discussed here several times. Have a look at this : (URL) ;-) Why not use the search button ? ;-) (...) (23 years ago, 6-Apr-01, to lugnet.robotics.rcx.legos)
 
  RCX Comm via input-output connection?
 
Hi! Does anyone know if it is possible to have to RCXs communicate by connecting the motor outputs of one to the sensor inputs to the other? I have a slight feeling this could burn things due to the high-voltage (relatively) output of the RCX motor (...) (23 years ago, 6-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: c++, classes
 
Hi Michael, if you want to use a declarator list in the constructor you have to use the following syntax: /******* Implementation of the constructor ***...***/ LightSensorHead::Lig...ensorHead( const Motor::Port motorport, const Sensor::Port (...) (23 years ago, 5-Apr-01, to lugnet.robotics.rcx.legos)
 
  c++, classes
 
Hallo! I try to write a class for legOS in c++. The constructor should get parameters for the used ports for a motor and two sensors, which are private components of the class. Then the contructor should assign these given ports to the private motor (...) (23 years ago, 4-Apr-01, to lugnet.robotics.rcx.legos)
 
  Can you test it for me?
 
I made a lx file, but I can't test it, could you help me? (URL) (23 years ago, 4-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: max size of .lx
 
(...) I don't know what the max is, but I have routinely worked with .lx files up to about 12,000 bytes, so you should be fine. (23 years ago, 3-Apr-01, to lugnet.robotics.rcx.legos)
 
  max size of .lx
 
I got a .lx file that size is 9660 bytes, I am not sure if it can be downloaded to RCX, what is the max size of .lx? Zhengrong (23 years ago, 3-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