 | | 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 (20 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 (...) (20 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. (...) (20 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 (...) (20 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 (...) (20 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 (20 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...) (...) (20 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 (...) (20 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 (...) (20 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 (...) (20 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. (...) (20 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 (...) (20 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 (...) (20 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 (...) (20 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 (...) (20 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 (...) (20 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, (...) (20 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. (...) (20 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 (...) (20 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 (20 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 (...) (20 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 (...) (20 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 (...) (20 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 (...) (20 years ago, 21-Oct-05, to lugnet.robotics.rcx.nqc)
|
|
 | | Re: compiling problem
|
|
thanks for the advice rob, it compiled successfully (20 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 (20 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. (...) (20 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> (20 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 (...) (20 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 (...) (20 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 (20 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 (...) (20 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 (...) (20 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 (...) (20 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: (...) (20 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 (...) (20 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 (...) (20 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 (...) (20 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 (...) (20 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 (...) (20 years ago, 13-Oct-05, to lugnet.robotics.rcx.nqc)
|