To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / *1722 (-20)
  questions on events
 
Are events stackable? Or it works more like "signal()", e.g. in C? e.g. I have 2 different light sensor events set to watch for value higher than 42, yellow & blue. Let say both sensors read 45 at the same time, RCX returns only one event being (...) (20 years ago, 2-Jan-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.nqc)
 
  Re: using MacNQC with Spybotics via USB Tower
 
(...) It is a capability of NQC but I was mistaken about the Mac version of NQC. It currently does not support the Spybotics target when the USB tower is used. One of the first changes I made when I took over NQC was to add the ability for NQC to (...) (20 years ago, 29-Dec-04, to lugnet.robotics.spybotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  Errors while installing brickOS 0.2.6.10
 
Hi, I am a newbie. I have encountered some errors while installing brickOS 0.2.6.10. (URL) anyone encounter the same problems before? 1. When I just start cygwin, it gives me an error message like this: This application program can not be executed (...) (20 years ago, 2-Dec-04, to lugnet.robotics, lugnet.robotics.cybermaster, lugnet.robotics.edu, lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc)
 
  Re: Motor Speed Control
 
(...) That's the case too for Swan firmware with standard parameters. (...) And yes, power consumption is much higher using on break. I measured variation of RCX current with one motor, power level 3 (50% duty cycle). Idle RCX current (35mA) is (...) (20 years ago, 1-Dec-04, to lugnet.robotics.rcx.nqc)
 
  RE: Motor Speed Control
 
(...) :) (...) I'm not sure how the Swan firmware does it, but I have mine set so it cycles every 8 ms. It's on for 0 to 8 ms, then off (brake) for the rest, depending on the speed. That's fast enough to produce a very smooth result. There is no (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
 
  RE: Motor Speed Control
 
(...) Actually, it's more like standing on the brakes, letting go and then gunning the gas, stepping off the gas and standing on the brakes :-) And yes, that WILL use more gas, and more batteries. Now, if the resolutiion of timing for the brake (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
 
  RE: Motor Speed Control
 
(...) Yes, but I think the "power" portion of the cycle will draw more, because it's always trying to go from stop to full speed. Like driving a car with the brakes on. Start with the brake totally pressed, and the more you push on the gas, the less (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
 
  RE: Motor Speed Control
 
(...) The brake function (as far as I know) should not use more battery power as the short circuit is in the driver chip itself. The drivers are MOSFETs, so setting the H bridge to brake does not actually apply any battery power to the motor (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Re: Motor Speed Control
 
(...) If you are not concerned with remaining pure, this interface (URL) should provide better feedback than the rotation sensor. -Rob A> (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Re: Motor Speed Control
 
(...) I've been using a power/brake method (instead of power/float) for quite some time in BrickOS. That was one of the first big steps in getting my Legway to work. ( (URL) ) It allows you to program a robot to make smooth turns (slow, instead of (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Re: Motor Speed Control
 
(...) I'm doing somthing similair at the moment. My robot runs along a track and needs to be controlled so it doesn't go too fast. I've successfully written some code which limits the top speed, you may be able to modify it or just incorparate ideas (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Re: Motor Speed Control
 
Hello Iain, (...) You should definitely try Dick Swan's 10x firmware ((URL) Among other goodies (interpretation speed for example ;o), it features more power levels (128 instead of 8), and a flag to modify behavior of PWM motor control. Standard (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Motor Speed Control
 
Hi, I'm trying to do a basic test setup to code a compact speed control module for the 9V gearmotor. I've mounted an encoder (rotation sensor) directly to the gearmotor shaft. In my code, I'd like to set a variable (speedDesired) and have the motor (...) (20 years ago, 30-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Light seeker
 
Hi, I was wondering if anyone has any experience programming (NQC) a stationary |light seeking head? I have one made using a rotation sensor for reference, and 2 light sensors but can't seem to get the programming down. |Thanks |John Jordan (20 years ago, 25-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Re: RCX Replacement Firmware
 
(...) BricxCC and NQC with support for Dick Swan's enhanced firmware. If you know where it is go get it. If you don't, you can email me and I'll send you the link. This version has preliminary support for 256 global variables. BricxCC has some cool (...) (20 years ago, 23-Nov-04, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  Re: Forward or backward?
 
(...) Warning: I've never actually used it but... x = OutputStatus(n), where n = 0, 1, or 2 (not OUT_A, OUT_B, etc.... at least accoding to the NQC manual) and x is the result. The result contains a boatload of information (see (URL) but essentially (...) (20 years ago, 15-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Forward or backward?
 
I've just got back into Mindstorms and I'm updating an old program. I'm writing a task that needs to know in which direction one of the motors is set. Now I could have sworn their was an easy way to do this, but my memory has gone blank and the help (...) (20 years ago, 15-Nov-04, to lugnet.robotics.rcx.nqc)
 
  Re: BricxCC & downloading NQC programs failing
 
(...) [snip, adjust timeouts] (...) I'm getting the same error with my Scout and Bricxcc/NQC for downloading programs, the direct control works fine. I found that having fresh batteries helped in getting programs to download successfully. I'll try (...) (20 years ago, 9-Nov-04, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  Re: NQC contolling motors
 
(...) Not exactly. What NQC allows you to do is set one of 8 patterns of pulse width modulation (PWM) for an output. So for instance the highest power level is "always on" (9V for 100% of a cycle), while a lower power setting is a mixture of "on" & (...) (20 years ago, 7-Nov-04, to lugnet.robotics.rcx.nqc)
 
  NQC contolling motors
 
Hi all, I have some questions about controling RCX motors using NQC. I am using Lego 43362 motors. As I understand it has maximum RPM 219 at 9V In NQC I see that I can st the speed of the motors at 8 different stages. I can not find though how the (...) (20 years ago, 7-Nov-04, to lugnet.robotics.rcx.nqc)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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