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 / 23879 (-20)
  Re: sensor defined variable
 
Ensure you have the correct build target as well as the firmware setup when you compile. Orion -- (URL) - Build Robots (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  sensor defined variable
 
well, i have the rcx 1.0 but the firmware is 2.0 or it should be :) i installed it some time ago why am i getting that then? r (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  Re: sensor-defined variable
 
(...) # Error: argument must be a constant File "C:\DOCUME~1\jhansen...\temp.nqc" ; line 5 # PlayTone(SENSOR_1*10, 5); # ^^ #---...--- # 1 error during compilation If you use RCX as the target for compiling (or Cybermaster) then the PlayTone (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  sensor-defined variable
 
hi again i tested your example, just to try, and i get compiler errors:; PlayTone(SENSOR_1*10,5); ^^ what's wrong with 10? what am i missing? thanks r (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  Re: sensor-defined variable
 
(...) Hey, how do you think the rest of us learned? Perfectly all right (...) Yes. The SENSOR_n (where n = 1, 2, or 3) is just the numerical reading from the configured sensor. It's not a variable (you can not assign a value to it), but you can use (...) (22 years ago, 13-Apr-05, to lugnet.robotics)
 
  sensor-defined variable
 
hi [pls excuse the newbieness of the question...] in NQC, can i have a variable defined by a sensor to control parameters of, say, turn time of a motor, or the note of a PlayTone(x,x)? thanks (22 years ago, 12-Apr-05, to lugnet.robotics)
 
  Re: Alternate connectors
 
While the 9V connector is cheap - I am quite happy to go with simple In-Line 2 pin connectors (IDC) - they are small, and cheap and have a fairly neat finish. The PP3 battery connectors would be somewhat bulky and look a little clumsy. Plus this (...) (22 years ago, 12-Apr-05, to lugnet.robotics)
 
  Re: My First MOC
 
As promised, here is a link for Brickshelf. There is a movie there too, but the lighting wasn't great (it was raining, and I was in my basement) so apologies. The robot tips in the movie because the floor it was on was slanted due to the drain in (...) (22 years ago, 12-Apr-05, to lugnet.robotics, lugnet.technic, FTX)
 
  Re: GPS Reality?
 
But using a GPS's simple bearing and distance would work almost flawlessly. The accuracy number only reflects that the unit knows that the user is in a circle of that radius. However, the unit knows exactly how far you've gone, if not where you are. (...) (22 years ago, 12-Apr-05, to lugnet.robotics)
 
  Re: Gearbox
 
Thanks. (22 years ago, 12-Apr-05, to lugnet.robotics)
 
  Re: Gearbox
 
(...) Here ya go: (URL) (Doubt this will work, but if it does, yay) Iain (22 years ago, 12-Apr-05, to lugnet.robotics)
 
  Re: Alternate connectors
 
(...) I've done some more digging and asking around... Seems what I was looking for is referred to as a hermaphroditic connector. One big maker is Anderson, who make an extremely overrated (voltage and current) connector called the Powerpole (URL) (...) (22 years ago, 12-Apr-05, to lugnet.robotics)
 
  Re: Problems comunicating with RCX
 
I'm talking of the book named "Programming LEGO Mindstorms with Java" in any case i have solved that problem now i'm trying to run the vision example that is given with lejos that is exactly the thing tha i need, i mean a robot with cam (that i have (...) (22 years ago, 12-Apr-05, to lugnet.robotics)
 
  Re: light sensor, 3 secs
 
You could base the program on a loop. The RCX has a built in timer - and you can read this in NQC - (URL) loop checks the state of the sensors, and how long they have been pressed. if the sensor is no longer active - go to a "loser" routine, and if (...) (22 years ago, 12-Apr-05, to lugnet.robotics)
 
  Re: Announcing MINDSTORMS Robotic Sumo contest hosted by Competitive MINDSTORMS and TexLUG!
 
(...) There's been a slight revision of the rule set for this upcoming event; a few details and the updated rule set can be found at my web site at the following address: (URL) - David J. Perdue (22 years ago, 12-Apr-05, to lugnet.robotics)
 
  light sensor, 3 secs
 
i am working on this silly game where you have to "shoot" a simple pivoting mechanism (it moves like a metronome) with a light sensor on top of it, using a laser pointer. you win if you manage to keep the laser pointer in the light sensor for more (...) (22 years ago, 11-Apr-05, to lugnet.robotics)
 
  Re: GPS Reality?
 
(...) I'll have to look, I think someone developed one way back then.. however.. there is always the $15-$30 P5 USB Glove which is pretty nice... (URL) guys might be able to help with that Seiral interface (URL) a Google or other search.. the data (...) (22 years ago, 11-Apr-05, to lugnet.robotics)
 
  Re: GPS Reality?
 
(...) With a cheap digital camera (say 800x600 resolution) with a 2.5meter ceiling (around 8') looking straight down through a typical 60 degree field of view lens, you're limited to an area about 2m wide by 1.5m wide...less if you are working on a (...) (22 years ago, 12-Apr-05, to lugnet.robotics)
 
  Re: RCX and R/C combined
 
(...) That sounds really great. I think I'll try that, I even have all the parts!! I wanted to be able to sense all seven states, and I didn't really want to use a non-purist solution, so this system is perfect. Now if someone could design a (...) (22 years ago, 11-Apr-05, to lugnet.robotics)
 
  Re[2]: GPS Reality?
 
Apologies for my rather inconsistent memory, it was Evolution Robotics rather than iRobot. Still a good idea though in my opinion. (URL) ever ordered a dev. kit? Allen. Monday, April 11, 2005, 3:31:01 PM, you wrote: AF> I'm a lurker, so apologies (...) (22 years ago, 11-Apr-05, to lugnet.robotics)

Next Page:  5 more | 10 more | 20 more
Redisplay Messages:  All | Compact

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