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 / *1784 (-20)
  Re: pass by refrence or value?
 
Some basic facts about C semantics: As already stated, globals MUST be volatile if they are accessed by more than one thread, otherwise reads and writes can be out of sync. What are the types of the variables involved? Scalar values like integers (...) (24 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Obstacle detection : infrared sensor ??
 
(...) We have done this in C using LegOS (it is much easier to get it off the ground in nqc). The principle is simple: * Attach the light sensor in front of the brick, close to the IR tranceiver. preferably in a low position, since you want to (...) (24 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
 
  .lx format
 
Hi! I am presently helping some PhD students here at my university prepare the labs for a real-time course using LegOS. As part of the course, we want our students to experience a modern development environment for embedded systems, and have (...) (24 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Obstacle detection : infrared sensor ??
 
(...) Yeah, I built a robot and programed it whith a nqc program that someone else wrote. I dont't remember who and I don't have any links, but I do remember how it worked The rcx would send out a infarad message every cauple of mlseconds and a (...) (24 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
 
  Obstacle detection : infrared sensor ??
 
Hey.. I don't know if this is a LegOS question, but here it goes... Is it possible to detect obstacles via the infrared sensor, before you bump into them ?? Like measuring reflection of infrared light or something... If it is... how ?? can anybody (...) (24 years ago, 24-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: video game type thing...
 
(...) Are you doing the if() in some kind of loop, or an event function? If the button isn't pressed at the exact time you happen to execute the statement, it won't work. It's difficult to help debug your code without seeing your code 8?) ROSCO (24 years ago, 22-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: video game type thing...
 
(...) havent followed the whole conversation here, but if ur doing an "if "test and it doesnt hit when it should, you might consider displaying the TOUCH_2 variable on the display just before the "if" test, it might not be what you think it is! (...) (24 years ago, 22-Mar-01, to lugnet.robotics.rcx.legos)
 
  video game type thing...
 
Well, it still doesn't work even with the if(TOUCH_2){} instead of if(TOUCH_2 == 1){} . Any ideas? Nick H. (24 years ago, 22-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: More than one Source C file
 
Please ignore this message, Dyanimc objects :) - Ciaran (24 years ago, 20-Mar-01, to lugnet.robotics.rcx.legos)
 
  More than one Source C file
 
Hi, I'm trying to compile together several C++ objects, each of which is contained in a seperate .c file, with a seperate header file, in GCC, I'd just use gcc foo.c fooa.c foob.c -o out.exe ... or whatever, how do I adjust the legos Makefile to (...) (24 years ago, 20-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Code
 
Chris, there's a CVS repository at SourceForge. Go to the legos page at legos.sourceforge.net. You'll need update access if you want to check anything in, but anyone can check out the latest, greatest source (or any previous version). HTH BTW, I (...) (24 years ago, 19-Mar-01, to lugnet.robotics.rcx.legos)
 
  Code
 
Is there a legOS code repository where LegOS users share code? (24 years ago, 19-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: ROM Firmware size limit? Firmdl bug?
 
(...) does the (...) them (...) web (...) when (...) rcx_comms (...) have (...) I've not done latest merge (few lines in firmdl.c), but I've modified the rcx_comms to make it win32-working (100%) inside legOS. I will send ASAP modified firmdl source (...) (24 years ago, 17-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: ROM Firmware size limit? Firmdl bug?
 
(...) I remember when I added support for larger firmware files, there was a merge that took place to get my changes into the LegOS version of firmdl. Probably Cygwin support got lost during this merge. This should be put back into LegOS for sure, (...) (24 years ago, 17-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: ROM Firmware size limit? Firmdl bug?
 
(...) Hmm. Quad speed downloading in Version 3.1 doesn't seem to work under Cygwin on W2K (though single speed does). It always returns either a 'write: permission denied' of 'bad ir link' error (which one it is seems to be random!) , even if the (...) (24 years ago, 17-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: ROM Firmware size limit? Firmdl bug?
 
(...) Get the latest version of firmdl and/or the latest version of LegOS. (URL) (24 years ago, 15-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: video game type thing...
 
I'll try that. I thought it was something or other like this. I'll post when I'm at least partially successful. (24 years ago, 15-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: video game type thing...
 
Nick, The TOUCH_x macros are boolean - they return true or false. You should be testing if (TOUCH_2) {....} HTH ROSCO (...) (24 years ago, 15-Mar-01, to lugnet.robotics.rcx.legos)
 
  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)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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