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 / *4310 (-20)
  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)
 
  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? Thanks Nick Howell (...) (24 years ago, 12-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: video game type thing...
 
(...) I think you mean if (enemy == 1). Also, the identifier "fight" resolves to the address of the fight function. Doing "fight;" is equivalent to doing "1;". It's legal, but it doesn't accomplish anything. You want to do "fight();" and (...) (24 years ago, 12-Mar-01, to lugnet.robotics.rcx.legos)
 
  video game type thing...
 
I'm building a video game type thing. It has three touch sensors, for left, right, and fire. The LCD controls where the enemy is. I'm having some problems with my code, so here it is(I'm using kernel 0.2.4): #include "conio.h" #include "dmotor.h" (...) (24 years ago, 12-Mar-01, to lugnet.robotics.rcx.legos)
 
  New version of NQCEdit
 
The new version is downloadable from (URL) (later this week also from (URL) ) Thanks to all beta testers, especially Mario Ferrari for his load of input to us. What's New?? Improvements in version 1.1 ---...--- * The user can select if the source (...) (24 years ago, 11-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: Robot navigation - barcode stations?
 
(...) Actually, if you are trying this, be aware that LEDs are typically mounted on a panel that faces the user (more or less) and as such the rounded housing of most LEDs acts as a lens which projects most of the light out toward the user rather (...) (24 years ago, 11-Mar-01, to lugnet.robotics.rcx)
 
  Re: Guide to Control Lab
 
hello, Yes, you can program using Lego LOGO, which is the official software that is packaged with the Lego Dacta Control Lab set. Or you can use the more powerful (IMHO) Lego Engineer, a program developed at Tufts which is based on National (...) (24 years ago, 11-Mar-01, to lugnet.dacta, lugnet.technic, lugnet.robotics.rcx.robolab)
 
  Robot navigation - barcode stations?
 
Hi, Some time ago, on this or another robotics list, someone was talking about navigation and location sensing techniques for RCX based robots. After some thinking, reading through the literature and messing with some homebrew sensors I have one (...) (24 years ago, 10-Mar-01, to lugnet.robotics.rcx)
 
  RE: ROM Firmware size limit? Firmdl bug?
 
(...) The limit is in the checksum routine built into the RCX - it only does a sum up to 0xCC00! So you may need to fiddle with firmdl to allow a larger SREC image, but only checksum up to 0xcc00. Hope this helps. Ralph Hempel (24 years ago, 9-Mar-01, to lugnet.robotics.rcx.legos)
 
  ROM Firmware size limit? Firmdl bug?
 
Hi! I'm using legOS 0.2.4 on Cygwin, and since memory is tight, I thought I'd try statically compiling my program to an .srec file, and using firmdl3 to download it, since I can do without the keys,conio,task, and memory managment stuff. This works (...) (24 years ago, 9-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Guide to Control Lab
 
Hello, No, the Control Lab is "just" 8 input/output connectors connected direct to a computer via RS232. Lars Gertsen - Denmark (...) (24 years ago, 9-Mar-01, to lugnet.dacta, lugnet.technic, lugnet.robotics.rcx.robolab)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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