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 / *1824 (-20)
  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)
 
  What difference between 0.2.4 and 0.2.5?
 
I am using 0.2.4 now, I want to know what difference between 0.2.4 and 0.2.5 to decide if I need to upgrade it. Br Zhengrong (23 years ago, 3-Apr-01, to lugnet.robotics.rcx.legos)
 
  Combo sensors (rotation AND light, same input)
 
Hi, I've got a way to use a Rotation sensor and a light sensor on the same input, and get reliable, useful values from both. This is for real. See : (URL) was interested if anyone else has done this. Enjoy everyone. Mike Amy (23 years ago, 2-Apr-01, to lugnet.robotics.rcx.legos)
 
  Re: Neural network for legOS... ??
 
(...) (23 years ago, 29-Mar-01, to lugnet.robotics.rcx.legos)
 
  Ser. Col. Only!! I'll cover shipping!!
 
(23 years ago, 29-Mar-01, to lugnet.robotics.rcx.legos)
 
  Serious Collectors Only!
 
I'm selling my entire collection for $4,500. There are over 300 sets MISB, and over 200 sets opened but still in mint condition. Over 90% of the opened sets were put together once; and then sealed in zip-lock bags. The boxes of the MISB sets are in (...) (23 years ago, 29-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Assembly in my C-program
 
(...) If you want to drive directly the motors you should first disable motor handling in legOS (remove CONF_DMOTOR definition in config.h). Then you can create a high priority task that switches motors on and off writing in the motor output port. (...) (23 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Assembly in my C-program
 
(...) pulses (...) at (...) would (...) Hmmmm. This should be possible, but it's a bit more tricky with stepper motors - you have to allow for the speed-up and slow-down. Thus just calling motor_speed(50) would have to initiate a task that starts (...) (23 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Assembly in my C-program
 
Actually I am trying to control a stepper motor. So when i need to send 50 pulses fast, motor on and off takes same time because there same other tasks running at the same time. So it would be much quicker if I could just call motor speed (50), and (...) (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Assembly in my C-program
 
(...) to (...) This should be performed by mapping a variable on top of the memory location, and NOT by inline assembly. (...) What is wrong with speed=0 for off and speed=255 for on? /jakob (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Assembly in my C-program
 
HI, I was wondering if I could write assembly code in my c-program. I would like to access the motor output port as a digital port and control when it is on and when off (possibly writting something like "mov.b r6l,@0xf000:16"). Or can I change the (...) (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: .lx format
 
(...) We are going to use this solution. Seems simpler. /jakob (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Running IR in the background
 
(...) Congratulations! Could you post your source code here, to compare with the solution that we previously submitted to an almost identical question? We use an active light sensor reading in one taks, with a different task bangin zeroes using (...) (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: .lx format
 
(...) We arrived at that solution independently here... it makes more sense. Also, since only the parts of the kernel we actually use need to be linked in, the result should be much smaller than a full kernel. Furthermore, the compiler we are using (...) (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: .lx format
 
(...) We arrived at that solution independently here... it makes more sense. Also, since only the parts of the kernel we actually use need to be linked in, the result should be much smaller than a full kernel. Furthermore, the compiler we are using (...) (24 years ago, 28-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Library use in LegOS
 
(...) of (...) For the IAR compiler, this should not a problem. The libraries are optimized for minimal size, so we can probably use the standard libraires. And give our students the benefit of a full C lib. /jakob (24 years ago, 28-Mar-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