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 / *4320 (-20)
  Re: Event monitoring
 
(...) You can generate a message internally with InternalMessage(X); but X must be a constant (can't be a variable). I'm not sure if this will trigger the message event - I haven't tried it myself. If it does trigger an event, you could use the (...) (24 years ago, 15-Mar-01, to lugnet.robotics.rcx.nqc)
 
  cannot download RCX Code
 
I just got my RIS last week and I've had a problem getting the IR unit to download RCX code to the RCX unit. I can download Firmware all I want and I downloaded RCX Command Center and tried downloading code from it and had no problems there either. (...) (24 years ago, 14-Mar-01, to lugnet.robotics.rcx)
 
  Re: The Voltage of RCX's output
 
(...) The actual voltage does not change. The perception of different levels of power is achieved by a pulse. At full power there is no pulse, at lower powers, the time between pulses increases. Luis (24 years ago, 14-Mar-01, to lugnet.robotics.rcx)
 
  Event monitoring
 
Hi all, I have just switched to NQC 2.3 b1 (from 2.2) to implement the new features of the RCX 2.0. I have used event monitoring to clean up my if/else statements that control outputs. This works fine with all legal event sources, but I use allot of (...) (24 years ago, 14-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: Help me - Vision command with windows millenium. & another question
 
"Alan Carmack" <amenpage@earthlink.net> wrote in message news:004e01c0a5d6$76...jgb6b01... (...) videos (...) us (...) I use the Windows Movie Maker utility that came with ME, it seems to work OK although there are no format options. I'm looking for (...) (24 years ago, 14-Mar-01, to lugnet.robotics.vc, lugnet.robotics.rcx)
 
  The Voltage of RCX's output
 
Did anyone measure the voltage of RCX/Scout's output for every power level (0-7)? Assume the battery is new in 9v. Zhengrong (24 years ago, 14-Mar-01, to lugnet.robotics.rcx)
 
  Re: Help me - Vision command with windows millenium.
 
Ok thank you That was a bad CDRom and Lego has exchange it. Everything is working fine Bye Damien Duquennoy <dduquenn@club-internet.fr> a écrit dans le message : G9qv6q.2vn@lugnet.com... (...) (24 years ago, 13-Mar-01, to lugnet.robotics.vc, lugnet.robotics.rcx)
 
  Re: video game type thing...
 
I just got new batteries for my RCX, so I just did an actual test. I didn't get very far. I don't believe that it is registering the touch sensors. Here's how I had it: if(TOUCH_2 == 1) { do this and that and that; } What's wrong with it? I should (...) (24 years ago, 13-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: video game type thing...
 
Or pid_t pid1 = execi... Philippe (...) (24 years ago, 13-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: video game type thing...
 
(...) Shouldn't (...) No, the returned process id is an integer (int) I believe, you just replace it with int pid1 = execi .... for example :) - Ciaran (24 years ago, 13-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: video game type thing...
 
It probably should. But why does it say that "pid1" is undeclared? Shouldn't that be taken care of in tm.h or unistd.h? (24 years ago, 13-Mar-01, to lugnet.robotics.rcx.legos)
 
  Kernel proposal - message passing and signals
 
Hi, I have been poking around in the legOS kernel and it appears that there is no formal way to pass messages between tasks - only shared protected resources through semaphores. I intend to modify the kernel to add the features descried below. Note (...) (24 years ago, 13-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: video game type thing...
 
(...) <-- Cut -- > (...) Shouldn't thist say kill(pid1); ? - ciaran (24 years ago, 13-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: sending variables betwen rcx's?
 
Hey, wow. did'nt know some of that. (...) (24 years ago, 13-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: video game type thing...
 
I worked on that. I'm having trouble with "execi()" and some stuff related to it. Here's the offending area, but not the entire program: int main(int argc, char **argv) { pid1=execi(&startup, 0, NULL, 1, DEFAULT_STACK_SIZE); MYexit = -1; cputs("x"); (...) (24 years ago, 13-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: sending variables betwen rcx's?
 
My advice would be to try and solve the problem using the regular message facilities (SendMessage(), ClearMessage(), Message()). If you have more than 255 values to convey between the RCX's, then you can try chaining multiple messages together (with (...) (24 years ago, 13-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: sending variables betwen rcx's?
 
Mechanical responce to light stimuli, involving motor ports from the RCX to controll levers ,switches or other motion components. A series of Send and Recive, & Wait times, allow Comand stacks from the sensor watchers to to activate these devices. (...) (24 years ago, 13-Mar-01, to lugnet.robotics.rcx.nqc)
 
  sending variables betwen rcx's?
 
to all i am currently working on a robot with 2 rcx due to the number of sensors i have on the robot. my current problem is that i have 2 light sensor which is conected to seperate rcx. one of the rcx with light sensor is calibrated using some (...) (24 years ago, 12-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: video game type thing...
 
(...) No, it will not. Functions don't work like that, in general. If you want to call a function and have it run independently of the calling function, you must use execi() to start it. (24 years ago, 12-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: video game type thing...
 
Thanks for the response! Now I'm almost ready to test it. I just need to know if, when you have a call void function, and you then use the int main() to close the program with return 0;, will the void keep running? Here's my current copy, without (...) (24 years ago, 12-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