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 / *9555 (-100)
  Re: NQC and NXT
 
(...) and found NQC. I never looked back. It is great that you volunteered to take over NQC, when Dave retired. The community is much better off because of your efforts on NQC and BricxCC). Thanks, Kev (19 years ago, 9-Jan-06, to lugnet.robotics.rcx.nqc)
 
  Re: NQC and NXT
 
(...) Sounds great! So far, I was missing any positive statement concerning the compatibility of NXT and RCX. Now, with NQC, we will have certain compatibility with respect to the software. Compared to this the different hardware will be of (...) (19 years ago, 9-Jan-06, to lugnet.robotics.rcx.nqc)
 
  Re: NQC and NXT
 
(...) Excellent! NQC has been my language of choice, largely because of such community support. Thank you John (and, originally, Dave, and others for providing me with aMac GUI, and... well, this is why I said "community") for this support. (19 years ago, 9-Jan-06, to lugnet.robotics.rcx.nqc)
 
  communication between NXT and RCX!?
 
Since the NXT does not have IR capability, it will not be communicate with the RCX brick. If there is no such plan from LEGO to build in the new NXT such capability, I am afraid they are going to put RCX brick in an obsolete track!? O, no! ---...--- (...) (19 years ago, 9-Jan-06, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.legos)
 
  Re: NQC and NXT
 
(...) created. This with NQC (thx Dave B) have enabled me to expand the possibilities of my bots. I look forward to hearing more about it! Dave (19 years ago, 9-Jan-06, to lugnet.robotics.rcx.nqc)
 
  Re: NQC and NXT
 
(...) That's excellent John, if I had any knowledge in that area I'd offer you some help, but alas... Thanks for your great tools! (and Dave B for originally creating NQC). ROSCO (19 years ago, 9-Jan-06, to lugnet.robotics.rcx.nqc)
 
  NQC and NXT
 
In case anyone is interested, I have been keeping up as best as I can with the news about the new LEGO brick. As soon as I get my hands on one (or sooner, if possible) I will begin the process of adding support for this new brick to NQC. The same (...) (19 years ago, 9-Jan-06, to lugnet.robotics.rcx.nqc)
 
  Re: HOWTO: Building and installing brickOS tools on Mac OS X with USB IR tower
 
(...) Thank you! It will be. Intallation is one reason I've never moved into BrickOS (despite some people urging me to) on the Mac. (19 years ago, 8-Jan-06, to lugnet.robotics.rcx.legos)
 
  HOWTO: Building and installing brickOS tools on Mac OS X with USB IR tower
 
Hi all, I just finished compiling and installing a cross-compiler and brickOS to my RCX from my PowerBook with Mac OS X Tiger 10.4.3 and a USB IR tower. Here's a blog posting about my experience: (URL) that I was able to install brickOS to my RCX (...) (19 years ago, 8-Jan-06, to lugnet.robotics.rcx.legos)
 
  Controlling RoboSapien & family from RCX
 
Hi, It appears to be straight-forward to control the WowWee robots from RCX and generate their IR commands by controlling the TxD output pin of the RCX's processor. More info, small webcam video, and simple example source: (URL) opens up for a lot (...) (19 years ago, 7-Jan-06, to lugnet.robotics.rcx.legos)
 
  The NXT generation version
 
from the lego press release... ...The heart of the new system is the NXT brick, an autonomous 32-bit LEGO microprocessor that can be programmed using a PC, or for the first time in the retail offering, a Mac. After building their robots, users (...) (19 years ago, 5-Jan-06, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.legos)
 
  The NXT generation version
 
Approved: emabrey@storming-robots.com from the lego press release... ...The heart of the new system is the NXT brick, an autonomous 32-bit LEGO microprocessor that can be programmed using a PC, or for the first time in the retail offering, a Mac. (...) (19 years ago, 5-Jan-06, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.legos)
 
  the new MINDSTORMS NXT
 
Hi everyone, Wonder if anyone knows much about the NXT. Exciting addition, but I am concerned with the software compatibility with the future Robolab 3.0. From what I understand, beta Robolab 3.0 only is underway for Mac platform. How about the (...) (19 years ago, 5-Jan-06, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.robolab)
 
  Re: earlier version of binutils?
 
(...) Hi again, I've got it working now, thanks to help from Jochen Hoenicke and Peter Gammie. I've posted my notes on the process here, if anyone is interested: (URL) now I've got a new problem... Everything was working great for about a day, but (...) (19 years ago, 31-Dec-05, to lugnet.robotics.rcx.legos)
 
  Re: train precision
 
(...) Yes, I used the same code for controlling Legway as the Great Ball Contraption train. That's what I posted here: (URL) (19 years ago, 29-Dec-05, to lugnet.robotics.rcx.legos)
 
  Re: train precision
 
(...) didn't find the c code in the url you mentioned. You used the same technique in the train, as in the legway? daniel (19 years ago, 29-Dec-05, to lugnet.robotics.rcx.legos)
 
  Re: train precision
 
(...) thanks for the suggestion, Brian I want to make some experimences with LDCC some day. But not in this project. daniel (19 years ago, 29-Dec-05, to lugnet.robotics.rcx.legos)
 
  Re: train precision
 
(...) ... (...) ... (...) ... (...) As Brian said, it's not the motors, it's the RCX. You can run Technic motors off a train controller, and you can vary the speed. But you need to do a bit more if you're using the RCX. We used that scheme when we (...) (19 years ago, 29-Dec-05, to lugnet.robotics.rcx.legos)
 
  Re: train precision
 
I do think Steve is on the right track here. The train regulator varies the voltage, but the RCX output can't. So you are left with managing (nominally) 9v pulses. But there is another solution. You could add a DCC decoder to your train motor, and (...) (19 years ago, 29-Dec-05, to lugnet.robotics.rcx.legos)
 
  Re: train precision
 
(...) hi Steve, I think the problem is not exactly the same. The lego technic motors run always at the same speed so you need to use that kind of schema for speed control in robots. The train motors are different, they have a speed proportional to (...) (19 years ago, 29-Dec-05, to lugnet.robotics.rcx.legos)
 
  Re: train precision
 
(...) Daniel, One problem you'll run into with most software is that it switches between power and float to adjust the motor levels. It works much better to switch between power and brake. Using most software, the train will continue to speed up, (...) (19 years ago, 27-Dec-05, to lugnet.robotics.rcx.legos)
 
  train precision
 
A couple of years ago, i used brickOS. Then, i changed to Lejos... I have a moc where i use the RCX to control a train with a lego train motor. It is difficult to control the train with LejOS, because it only has 8 output levels. Two solve the (...) (19 years ago, 27-Dec-05, to lugnet.robotics.rcx.legos)
 
  Re: color sensor
 
(...) Happy Christmas to you too! ... and yes, I have a bench prototype running using that TAOS chip. As per my previous attempts at a color sensor however, it is proving very difficult to make the sensor range and orientation independent. JB (19 years ago, 25-Dec-05, to lugnet.robotics.rcx)
 
  color sensor
 
hi all, first for all a happy christmas to everybody. I just ran into this nice looking color sensor TCS230, which might be useful for detecting Lego colors. (URL) Mientki (19 years ago, 25-Dec-05, to lugnet.robotics.rcx)
 
  earlier version of binutils?
 
Hi, I have been trying to get brickos to compile on my linux machine. I followed the instructions here: (URL) used binutils version 2.16.1, and gcc version 4.0.2. The cross compile seemed to work. However, when I try to compile brickos, I get the (...) (19 years ago, 22-Dec-05, to lugnet.robotics.rcx.legos)
 
  Re: Memory question
 
(...) So what your saying is I should split my program into more functions not less, so that the local ints are destroyed and available for re-use. That's a great idea, it's the complete opposite of my question but fulfills my goal perfectly :-). (...) (19 years ago, 13-Dec-05, to lugnet.robotics.rcx.nqc)
 
  Re: Memory question
 
(...) Most functions in NQC are in-line functions, so in a sense they probably *are* in main(). One thing I do is place all my initalization code (as much as possible) into inline functions. That way, when the compilier runs through, it can allocate (...) (19 years ago, 13-Dec-05, to lugnet.robotics.rcx.nqc)
 
  Memory question
 
Say I had a program that has a very large block of start-up/calibration code that is run once at the top of the program. Does it make any difference if I keep it in the "Main()" task, or put it in a function? I mean from the point of stack space (...) (19 years ago, 13-Dec-05, to lugnet.robotics.rcx.nqc)
 
  Re: avoid messaging
 
(...) I'd agree that a physical block is the easiest, although there is a software solution. The RCX can not recieve a command while it's transmitting - so if you saturate the transmitter with things to do, it will not be able to "look" for any (...) (19 years ago, 5-Dec-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.legos)
 
  RE: avoid messaging
 
Yes, I indeed have an attachment which will act like blockage, but not a full one though. Sounds like this is the fastest and easiest to do. I fully understand the opcodes concept, as I myself wrote compile code before. However, these kids age only (...) (19 years ago, 5-Dec-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.legos)
 
  Re: avoid messaging
 
(...) If you have an event waiting for a message, I doubt it will have much impact on the speed of the rest of the program. However, this will not catch the messages you're looking for. You can't use the "mail" function to receive op-code, such as (...) (19 years ago, 5-Dec-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.legos)
 
  avoid messaging
 
Hi In order to avoid unwanted interruption, such as remote shutdown, from other RCX during execution time, I wonder if the only thing can be done to safe-guard my RCX will be having an independent task dedicated to receive message (mail). This, of (...) (19 years ago, 5-Dec-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.legos)
 
  Re: Bluetooth
 
Beware of the fact that the outputs on the RCX output PWM. You will probably want rectification, and need smoothing to get a nice constant voltage (some regulator in the LM series) to power the board. Anyway - it sounds like a really good idea - I (...) (19 years ago, 2-Dec-05, to lugnet.robotics.rcx)
 
  Re: Bluetooth
 
(...) Have a look at (URL) Here you reach much higher baud rates Cheers (19 years ago, 2-Dec-05, to lugnet.robotics.rcx)
 
  Re: Bluetooth
 
(...) Great! I'll look forward to its development....any ideas on what you will use it on first? Chris (19 years ago, 2-Dec-05, to lugnet.robotics.rcx)
 
  Bluetooth
 
I’ve just started a little project of building an interface between a RCX and a Bluetooth. For power supply I’m thinking of using one of the outputs on the RCX and for communication I’ll use the IR port(2400-baud), similar to Mindsensors´s RCX to (...) (19 years ago, 1-Dec-05, to lugnet.robotics.rcx)
 
  Re: Help me convert this train program to use events (NQC)
 
(...) (URL) (...) I bought some alligator clips to use with some 24-guage wire. I'll become impure just this once, but I won't resort to willful LEGO destruction. :) (19 years ago, 1-Dec-05, to lugnet.robotics.rcx.nqc, FTX)
 
  Re: Help me convert this train program to use events (NQC)
 
(...) If it were me, I'd destroy one small LEGO 9v wire. Cut the wire in half, and splice in a long segment of speaker wire. That would look better than a short layout, or the battery-powered train. Steve (19 years ago, 30-Nov-05, to lugnet.robotics.rcx.nqc)
 
  Re: Help me convert this train program to use events (NQC)
 
(...) We called LEGO and the Educational division has been shut down since the day after Thanksgiving for inventory. They won't be able to ship the cables to me in time for the Christmas party I was building this for. Grrrr. Bricklink shows some (...) (19 years ago, 30-Nov-05, to lugnet.robotics.rcx.nqc, FTX)
 
  using rotation sensor
 
Most of you are aware of the speed of the robot often causes parity in distance via the feedback of rotation sensors because of inertia. In our experiment, even with a robot with moderate speed. The parity seems to often occur right at the beginning (...) (19 years ago, 30-Nov-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx.legos)
 
  Re: Help me convert this train program to use events (NQC)
 
(...) Not to my knowledge. (...) Yes. The internal hardware between the 1.0, 1.5, and 2.0 bricks is identical with regards to the firmware, so any firmware will work on any RCX. (19 years ago, 29-Nov-05, to lugnet.robotics.rcx.nqc, FTX)
 
  Re: Help me convert this train program to use events (NQC)
 
(...) I got to try my program tonight. It wouldn't compile, claiming EVENTTYPEHIGH and EVENTTYPEPRESSED were undefined. Eventually I figured out that I had to set the target flag -TRCX2. My compilation command is getting more and more complicated: (...) (19 years ago, 29-Nov-05, to lugnet.robotics.rcx.nqc, FTX)
 
  Re: Help me convert this train program to use events (NQC)
 
(...) That would solve my current umbilical problems. At that length I'd actually be encouraged to shell out some spondulics. Steve (19 years ago, 28-Nov-05, to lugnet.robotics.rcx.nqc)
 
  Re: Help me convert this train program to use events (NQC)
 
(...) And I've never had a problem with low battery firmware corruption... EXCEPT at BF while running the GBC trains. How often does the firmware check the battery level (it seems to be less often than the 3ms the other sensors are polled, based on (...) (19 years ago, 28-Nov-05, to lugnet.robotics.rcx.nqc)
 
  Re: Help me convert this train program to use events (NQC)
 
(...) Wow! That's quite a long cable. Is this the right product? I only found it using Pitsco's search box; it's not listed in any LEGO section as far as I could tell. (URL) (...) My original setup's RCX is a 1.0 with the AC adapter. The rails are (...) (19 years ago, 28-Nov-05, to lugnet.robotics.rcx.nqc, FTX)
 
  RE: Help me convert this train program to use events (NQC)
 
Brian Davis wrote..... ...... Worse yet, when the power runs low the RCX is likely to corrupt the firmware unless you put in code to monitor the battery level (something I'd suggest if you go this route). Standard Lego firmware is designed to detect (...) (19 years ago, 28-Nov-05, to lugnet.robotics.rcx.nqc)
 
  Re: Help me convert this train program to use events (NQC)
 
(...) For future, LEGO's educational division does sell 3m LEGO wires. (...) A 1.0 RCX that allows you to power the setup from an outlet is ideal for this. If it ends up being battery-based, you will have to adjust the power level as the batteries (...) (19 years ago, 28-Nov-05, to lugnet.robotics.rcx.nqc)
 
  Re: Help me convert this train program to use events (NQC)
 
(...) I wanted the layout to be pure LEGO, but if I run out of time building this I'll break down and use non-LEGO wire and my original setup. (...) I wasn't worried about hiding the RCX, but I have seen the batteries run down very quickly. In the (...) (19 years ago, 28-Nov-05, to lugnet.robotics.rcx.nqc, FTX)
 
  Re: Help me convert this train program to use events (NQC)
 
(...) That was basically my plan if I couldn't get the light sensors to work reliably. Based on Brian's post I might go back to my original design, though. (19 years ago, 28-Nov-05, to lugnet.robotics.rcx.nqc, FTX)
 
  Re: Help me convert this train program to use events (NQC)
 
(...) Speaker wire and small alligator clips will make a dandy solution for extending the basic wires - after all, you really only need one very long wire here (to the "remote station"), and yoiu have a working set-up. (...) Have you built and (...) (19 years ago, 28-Nov-05, to lugnet.robotics.rcx.nqc, FTX)
 
  Re: Help me convert this train program to use events (NQC)
 
(...) If the rcx is on the train why not mount touch sensors on the underside looking down. You could then attach small ramps to the track which would trigger the sensor. If you put the sensors on a spring loaded mounting you shouldn't have problems (...) (19 years ago, 28-Nov-05, to lugnet.robotics.rcx.nqc, FTX)
 
  Help me convert this train program to use events (NQC)
 
For Christmas I'm setting up a LEGO train on top of a narrow wall, so it has to operate like a shuttle -- stop at each end and reverse motor direction. My first attempt had a train regulator attached to a polarity switch, with the switch being (...) (19 years ago, 28-Nov-05, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc, lugnet.trains, FTX)
 
  rack & pinion, & subvis
 
My club children, age 11 to 14, just started to make a writer... This is different from what is in the Ferrari's book. The one we are attempting to build is to load the pen into the center of the construction. RCX is sitting on a mobile chassis. (...) (19 years ago, 26-Nov-05, to lugnet.robotics.rcx.legos)
 
  Re: use RCX with the lego set 4095
 
(...) That would require extensive redesign, as the 4095 unit also contains the motors in a compact unit... Philo BTW: imho 4095 is not worth buying (main unit is close to useless) unless you get it at a very low price! (19 years ago, 25-Nov-05, to lugnet.robotics.rcx.legos)
 
  Re: Problem with IR
 
(...) I tried adding -v & > output.txt but it didn't work. All it did was light up the towers LED for a bit then quit back to the command line. It did work when I used -v, showing all the sent bytes, but the download still failed. I also managed to (...) (19 years ago, 24-Nov-05, to lugnet.robotics.rcx)
 
  use RCX with the lego set 4095
 
I wonder if anyone has experience with this set. The description on the lego site is not clear enough for me to determine whether I can replace the body with the RCX... Thanks! ---...--- -------- Elizabeth (19 years ago, 24-Nov-05, to lugnet.robotics.rcx.legos)
 
  Re: Problem with IR
 
(...) Can you post the output generated by NQC when you add -v to the command line? nqc -Susb -TRCX2 -v -d filename.nqc > output.txt Or you could just email it to me directly. John Hansen (19 years ago, 24-Nov-05, to lugnet.robotics.rcx)
 
  Re: Problem with IR
 
(...) Ok, your right they are separate, so that if I left the second -Susb out, my program wouldn't download via the USB tower, but would go to my other RCX via the serial tower. My batch-file is this: nqc -Susb -firmfast c:\newrcx~1.lgo nqc -Susb (...) (19 years ago, 22-Nov-05, to lugnet.robotics.rcx)
 
  Re: Problem with IR
 
(...) Why couldn't it be that if the firmware downloads? When I download my firmware, it's completely seperate from when I download nqc progs. Hope you get it sorted soon. (...) (19 years ago, 22-Nov-05, to lugnet.robotics.rcx)
 
  brickOS on Mac OS X
 
Hello, I'm trying to get a recent brickOS (0.9.0) working on Mac OS X 10.4.3. I have an RCX 2.0 with the USB tower. I have a cross-compiler (gcc 3.2.2) that apparently works, and using the firmware download program included with lejOS (specially (...) (19 years ago, 22-Nov-05, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx)  
 
  Re: Problem with IR
 
(...) Your correct, it isn't that. I know all about -Susb, because I'm using a serial and a usb tower simultaneously with respective rcx's. One sets in a box so their is no IR crossover. I have swapped over the towers. The USB worked perfectly in (...) (19 years ago, 21-Nov-05, to lugnet.robotics.rcx)
 
  Re: Problem with IR
 
(...) Since posting I found the old post reporting this problem and have since tried this fix. Alas it didn't work but I will try it again. Steve (19 years ago, 21-Nov-05, to lugnet.robotics.rcx)
 
  Re: Problem with IR
 
(...) This probably isn't it, but if you're using the command line, have you included the -Susb parameter to tell NQC you're using USB? (This will takes ages to post as my email isn't working, so sorry if you have 5 other replies before this one...) (...) (19 years ago, 20-Nov-05, to lugnet.robotics.rcx)
 
  problems with lnp+brickos+cygwin
 
Hi everybody: I have installed and BrickOS 0.9.0 and Cygwin, since my machine uses Windows XP Home Edition. I have downloaded lnpd 0.9.0, but I have problems when installing this package. I run ./configure and everything seems ok, but when I try the (...) (19 years ago, 21-Nov-05, to lugnet.robotics.rcx.legos)
 
  Re: Problem with IR
 
(...) Possibly you are experiencing a problem with the USB Tower driver which I have heard several other users report. Other users who had this problem were able to fix it by editing the USB Tower timeout values using the LEGO USB Tower Control (...) (19 years ago, 21-Nov-05, to lugnet.robotics.rcx)
 
  Problem with IR
 
For some reason I'm having a problem downloading with NQC. I previously had the serial tower set up at the end of a track. The rcx on my robot goes up and down it. I used to have occasional problems with the IR comms, but I'd change the battery and (...) (19 years ago, 19-Nov-05, to lugnet.robotics.rcx)
 
  RE: different light readings...
 
Hi David, I am sorry that I did not clarify my question. Thank you very much for taking the time out to help though! I fully understand that variations that light sensor produces, and I do make calibration the first thing to do before I run my bots. (...) (19 years ago, 15-Nov-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx)
 
  Re: different light readings...
 
(...) Different light sensors will produce different readings. The range of readings you get will also vary between different light sensors (for example, between the same white surface, and the same black surface, one light sensor might have a (...) (19 years ago, 15-Nov-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx)
 
  different light readings...
 
Hi, I have these 2 different light sensors. One reads "41" vs another reads "34" on the same area. I have troubleshoot it by switching ports, different RCX brick. The reading different stays the same. Is this reasonable because they might have a (...) (19 years ago, 14-Nov-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx)
 
  Robolab Motor Settings - ATTN. Dick Swan
 
Hello Dick, I am working with a professor at the University of Central Florida and we would like to use the Robolab software for several of our robotics classes. The one issue we see in doing that is that the motor settings in the software only (...) (19 years ago, 13-Nov-05, to lugnet.robotics.rcx.robolab)
 
  dllx problems, with lnpd 0.9.0
 
Hi, I'm having problems getting dllx to work. I expanded the lnpd 0.9.0 zip file from sourceforge. I did ./configure and make with no problems or error messages. Now, I run lnpd with "lnpd --nolock". Then I do "dllx test.lx" and the green light on (...) (19 years ago, 13-Nov-05, to lugnet.robotics.rcx.legos)
 
  Re: pre-releases brickos-0.9.0/lnpd-0.9.0 avail. for testing/feedback
 
Hi, I'm having problems getting dllx to work. I expanded the lnpd 0.9.0 zip file from sourceforge. I did ./configure and make with no problems or error messages. Now, I run lnpd with "lnpd --nolock". Then I do "dllx test.lx" and the green light on (...) (19 years ago, 13-Nov-05, to lugnet.robotics.rcx.legos)
 
  Re: explain polarity to middle school children
 
(...) Hmmmm, that is a challange, because any cursory example leaves out the physics. I was just thinking perhaps if you likend polarity to a visual of a two lane highway. Trafic going in opposite directions. Flow and return. On the surface, (...) (19 years ago, 9-Nov-05, to lugnet.robotics.rcx.robolab)
 
  explain polarity to middle school children
 
I tried to create a couple of images to explain give children, age 10 to 12, a good understanding of what polarity is. They all know changing the direction of the motor. However, I am trying to provide more details without going over their head. (...) (19 years ago, 9-Nov-05, to lugnet.robotics.rcx.robolab)
 
  Re: programming tips
 
(...) With the standard firmware, not that I know of. You *can* block all incoming signals by continuously broadcasting. Having a task repeatedly transmit a simple message endlessly means that the RCX can't recieve normal messages, possibly (...) (19 years ago, 2-Nov-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx)
 
  programming tips
 
Hi, I am contemplating if it is smart way to intercept un-welcoming signal to the RCX, such as the remote shutdown, etc. ---...--- -------- Best Regards, Elizabeth Mabrey (19 years ago, 2-Nov-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx)
 
  Re: error in using brickOS under Bricx Command Center
 
(...) I tried with both 0.2.6 and 0.9.0 (...) I am sorry for imprecise expressions. I meant that I followed your suggestions. But the result was the same as before. (...) I didn't try yet. (...) I am able to use brickos under command prompt as well (...) (19 years ago, 31-Oct-05, to lugnet.robotics.rcx.legos)
 
  Re: swan question
 
(...) The help file should explain when you can use the MTR_A constant versus when you can use the OUT_A constant. It will tell you that MTR can be used with the MotorPowerXXX and SetMotorPowerXXX functions. Use the help system Find feature and it (...) (19 years ago, 30-Oct-05, to lugnet.robotics.rcx)
 
  swan question
 
Hi I'm experimenting with the Swan firmware but I have a puzzle. Is the constant OUT_A a direct equivalent to MTR_A as replacing OUT_A with MTR_A doesnt seem to work.I've used SetMotorPower128(MTR_A,50) to set motor speed. The command that doesn't (...) (19 years ago, 29-Oct-05, to lugnet.robotics.rcx)
 
  Re: compiling problem
 
(...) I'm glad that your problem was so quickly resolved. Isn't LUGNET great? In the future, if you have problems compiling NQC code you might want to post the exact error text generated by the compiler. If you use BricxCC to run NQC the full error (...) (19 years ago, 21-Oct-05, to lugnet.robotics.rcx.nqc)
 
  Re: compiling problem
 
thanks for the advice rob, it compiled successfully (19 years ago, 21-Oct-05, to lugnet.robotics.rcx.nqc)
 
  Re: compiling problem
 
(...) thanks for replying Kevin, a) i did not know there were compile options, how do i change them? b) i am getting parse errors on the close brackets just before ELSE and the third-last bracket thanks (19 years ago, 21-Oct-05, to lugnet.robotics.rcx.nqc)
 
  Re: compiling problem
 
You are missing semicolons after the: Wait(turn_time) lines (both) And a code suggestion, instead of: task drive() { while(true) { OnFwd(OUT_A); } } make it: task drive() { OnFwd(OUT_A); while(true) { } } as the motor stays OnFwd until turned off. (...) (19 years ago, 21-Oct-05, to lugnet.robotics.rcx.nqc)
 
  Re: compiling problem
 
Hi Bennet, Before we can help, we need a bit more information: a) What NQC compile options are you using? b) What syntax errors are you getting? Kev (...) <snip> (19 years ago, 21-Oct-05, to lugnet.robotics.rcx.nqc)
 
  compiling problem
 
could someone please tell me what is wrong with this program? i am new at nqc and can not seem to find a way to compile it. the program is for a front-wheel-drive tricycle similar to Michael Gasperi's version of a "grey walter turtle" #define (...) (19 years ago, 21-Oct-05, to lugnet.robotics.rcx.nqc)
 
  Re: error in using brickOS under Bricx Command Center
 
(...) 1. What version of brickos do you have installed? (cat VERSION from the brickos root directory and post the output) 2. What do you mean by "Of course I did in vain."? Be as precise as possible in your answer. With a correctly installed copy of (...) (19 years ago, 19-Oct-05, to lugnet.robotics.rcx.legos)
 
  Re: error in using brickOS under Bricx Command Center
 
(...) As I said before, I am able to use brickOS under cygwin. Does this mean that I have files required by brickOS? I guess you don't mean that I have to run the two commands: make realclean make (Of course I did in vain.) Je-Young Choi (19 years ago, 19-Oct-05, to lugnet.robotics.rcx.legos)
 
  Re: NQC/BricxCC test
 
(...) Only if active is meant to cause the watch window to quit polling for values if some other BricxCC window is the active window. When graphing this means that after you bring up the graph window you need to click back on the Watch window to (...) (19 years ago, 18-Oct-05, to lugnet.robotics.rcx.nqc)
 
  Re: error in using brickOS under Bricx Command Center
 
(...) I have dug around a bit on my computer and I managed to duplicate your problem. If I do a make realclean from the brickOS root directory: C:\cygwin\brickos>make realclean [lots of output delete] then when I run make -f helloworld.mak I get the (...) (19 years ago, 18-Oct-05, to lugnet.robotics.rcx.legos)
 
  Re: NQC/BricxCC test
 
(...) Duh! I had 'only if active' ticked and I dont suppose that changes in my light sensor were enough to trigger it. I now have watching the brick & graphing working! I notice that (unused) counter 0 and 1 take on the values of var 0 and 1 and (...) (19 years ago, 18-Oct-05, to lugnet.robotics.rcx.nqc)
 
  Re: error in using brickOS under Bricx Command Center
 
Thank you very much for your enduring kindness. (...) The content of helloWorld.mak is the same as that you wrote before. When I run make -f helloWorld.mak, I get nothing. When I run make -f helloWorld.mak after deleting helloworld.lx, I get make: (...) (19 years ago, 18-Oct-05, to lugnet.robotics.rcx.legos)
 
  Re: NQC/BricxCC test
 
(...) This seems to have fixed all the problems that I was having with the serial tower and Bricx. [It also downloaded new (Swan)firmware OK] The template right-click is great too :-) I wasn't able test out the new (Vers.10) graphing part as I dont (...) (19 years ago, 18-Oct-05, to lugnet.robotics.rcx.nqc)
 
  Re: error in using brickOS under Bricx Command Center
 
(...) Given that your OS Root setting was wrong before and now it is right then modifying that setting did help. It just didn't completely fix your problem. The OS Root setting in BricxCC needs to be set to the Cygwin path to the root of the brickOS (...) (19 years ago, 17-Oct-05, to lugnet.robotics.rcx.legos)
 
  Re: error in using brickOS under Bricx Command Center
 
I am able to use (compile and download) brickOS under cygwin but not under BricxCC. (...) I am sorry to say that the modification in the "OS root" setting didn't help. In fact I installed BricxCC in 2 of my computers. Both show the same error (...) (19 years ago, 16-Oct-05, to lugnet.robotics.rcx.legos)
 
  NQC/BricxCC test
 
I could use some help testing a modification to NQC and BricxCC which is attempting to correct some problems I introduced with the serial IR tower and also the USB tower. Could a few adventurous souls download (URL) and try out the NQC and BricxCC (...) (19 years ago, 14-Oct-05, to lugnet.robotics.rcx.nqc)
 
  NQC release 3.1r4
 
(URL) changed the Spybot program code generation slightly so that it matches that generated by the MindScript compiler. Tasks which are not empty are no longer ended with a Stop Task sequence. Empty tasks are ended (as before) by a Stop Task (...) (19 years ago, 13-Oct-05, to lugnet.robotics.rcx.nqc)
 
  Re: BricxCC release 3.3.7.10
 
(...) That would be a bug. My apologies. I had totally forgotten about that option. I don't know when I broke it but it definitely is broken. I've fixed it now so that if you have that option selected it pops up the templates and if you don't have (...) (19 years ago, 13-Oct-05, to lugnet.robotics.rcx)
 
  Re: BricxCC release 3.3.7.10
 
(...) Thanks John, I'm a bit confused; in Help it says: 'In the Preferences you can also indicate that you want the list of templates to appear as a popup menu when you press the right mouse button.' I am getting copy paste etc when I right-click (I (...) (19 years ago, 13-Oct-05, to lugnet.robotics.rcx)
 
  Re: BricxCC release 3.3.7.10
 
(...) The templates that appear via the F9 function key cannot be made to appear on a right mouse click. In an editor window the right mouse click will always show a popup menu. I confess to being extremely prejudiced against the templates window. I (...) (19 years ago, 13-Oct-05, to lugnet.robotics.rcx)
 
  Re: BricxCC release 3.3.7.10
 
Further to the above: Whilst the Run and Stop icons fail to interact with the RCX ~80% of the time they always seem to work just after using the bricx remote! (and this virtual remote has never failed in ~ 60 attempts). Distance seems to have (...) (19 years ago, 12-Oct-05, to lugnet.robotics.rcx)


Next Page:  5 more | 10 more | 20 more | 100 more

Redisplay Messages:  All | Compact

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