To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / *27309 (-20)
  RE: Lego R/C etc
 
erm... for LEGO purists, there's LEGO #8483 Technic CyberMaster ;) (a pBrick with RF PC control that provides a perfect Lego roverbot chassis) Check (URL) -----Original Message----- (...) (26 years ago, 13-Mar-01, to lugnet.robotics)
 
  Re: video game type thing...
 
Or pid_t pid1 = execi... Philippe (...) (26 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 (26 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? (26 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 (...) (26 years ago, 13-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: More juice out of the standard motors.
 
(...) In general terms, worm gears are less efficient than standard gears as they have more inherent friction - essentially, driving a worm gear is like pushing something up an inclined slope. How much this translates into a lego system I have no (...) (26 years ago, 13-Mar-01, to lugnet.robotics)
 
  Re: More juice out of the standard motors.
 
(...) This would cause the weight to go down for acceleration, but then when you turned off the motors, you would coast a shorter distance due to your less inertia. It would depend if you were building a robot for pure acceleration, or not. It would (...) (26 years ago, 13-Mar-01, to lugnet.robotics)
 
  Re: video game type thing...
 
(...) <-- Cut -- > (...) Shouldn't thist say kill(pid1); ? - ciaran (26 years ago, 13-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: sending variables betwen rcx's?
 
Hey, wow. did'nt know some of that. (...) (26 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"); (...) (26 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 (...) (26 years ago, 13-Mar-01, to lugnet.robotics.rcx.nqc)
 
  Re: More juice out of the standard motors.
 
(...) Assuming the robot is being used self-powered (versus with AC adapter), would there be benefit in modifying the RCX to run off a single 9 volt versus all those AA's? That would save quite a bit of weight. :) Doing this wouldn't be "Lego pure" (...) (26 years ago, 13-Mar-01, to lugnet.robotics)
 
  Re: Lego R/C etc
 
WOW ! Sounds like someone answered my prayers. #3 appeals to me. It sounds like just the thing to run the AI on a PC and remotely control the LEGO(R) Chassis. Would it be too much to ask for pics of the prototypes ? -Xanthra47 "John Barnes" (...) (26 years ago, 13-Mar-01, to lugnet.robotics)
 
  Re: Solenoid Pnuematic Valve
 
hey Jeff: Those pictures you sent me a while ago are still on my web site. they are @: (URL) I went and bought 2 of these valves just so I can try to "make" a 4 way valve. I have a crude proto type, and it sort-a fits in a 4x4 lego brick. sorry no (...) (26 years ago, 13-Mar-01, to lugnet.robotics)
 
  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. (...) (26 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 (...) (26 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. (26 years ago, 12-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: More juice out of the standard motors.
 
Tricky , Tricky, here's the dilly, 8 to 24 tooth makes the fastest, but low output power, try to find the proper combo so your motors don't work to hard, add a worm gear to hold off the back spin, then try some more gears to get the speed you need, (...) (26 years ago, 12-Mar-01, to lugnet.robotics)
 
  More juice out of the standard motors.
 
Hello I'm trying to make a robot go as fast as possible, but it seems that the power of the engines are stopping me. I own one RIS kit and nothing more. Can i add some more batteries or something? -- Magnus Fasting E-mail: pleboy@online.no Icq: (...) (26 years ago, 12-Mar-01, to lugnet.robotics)
 
  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 (...) (26 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