| | Re: now normally baumfamily != enteract
|
|
(...) (URL) correctly points to: (URL) now responds to a text search for "NQC". (...) To get a mail form to try, all you have to do is choose the Support button rather than the Customer Service button and accept a division of the community by (...) (22 years ago, 12-Feb-03, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Problems with NQC and math operations
|
|
Roger, I'd seen LeJOS mentioned but hadn't considered it as an option...that should really work well for what I'm doing.. Thanks, Jeff (22 years ago, 5-Feb-03, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Problems with NQC and math operations
|
|
In lugnet.robotics.rcx.nqc, Jeff Merrick writes: I'll probably have to learn legOS so I can use floating-point (...) Hi Jeff: If you are going to learn a new way of programming the RCX, I recommend LeJos. It implements the Java Math class in an (...) (22 years ago, 4-Feb-03, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Is there a NQC HowTo out there someplace?
|
|
Besides of NQC manual (which is REALLY comprehensive) is at (URL) good NQC tutorial written by Mark Overmars. It's quite old so there can be some dead links, but in fact, it helped me to start with NQC. If you know Pascal, I think it's good starting (...) (22 years ago, 2-Feb-03, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Problems with NQC and math operations
|
|
(...) Did you considered that the RCX has only integer variables. So, the allowed operation range is -32768 32767. If at any stage of your operation you exceed these limits, the result will be corrupted. For the use of sine and cosine with integer (...) (22 years ago, 3-Feb-03, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Is there a NQC HowTo out there someplace?
|
|
"Jeff Merrick" <jeffmerrick@gmx.net> wrote in message news:H9p6GK.1ou@lugnet.com... (...) need (...) Jonathan (...) to (...) book; (...) I will have a look at the tutorial from Mark Overmars site. But I've got a "Teach yourself C in 21 days" by (...) (22 years ago, 2-Feb-03, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Problems with NQC and math operations
|
|
Dean, Well, that was the problem...changing the 10000 to 100 makes me get a value back, however I think the error is too big for the robots to navigate effectively..I'll probably have to learn legOS so I can use floating-point and get more precise (...) (22 years ago, 2-Feb-03, to lugnet.robotics.rcx.nqc)
|
|
| | Re: now normally baumfamily != enteract
|
|
(...) Email to update crynwyr? Yes I hope so, yes I've tried, yes we're staying tuned, sorry I was unclear, that's what I meant when I mentioned I had seen a mailto channel work there before. But Lego I don't know how to reach. Do you mean to say (...) (22 years ago, 2-Feb-03, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Is there a NQC HowTo out there someplace?
|
|
I was in the same situation as you when I started out with NQC and I found the following resources helpful... Programming Lego Robots using NQC by Mark Overmars is a good tutorial...I probably used it the most to learn the basics of NQC... (...) (22 years ago, 2-Feb-03, to lugnet.robotics.rcx.nqc)
|
|
| | Re: now normally baumfamily != enteract
|
|
(...) Email them perhaps? (22 years ago, 2-Feb-03, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Problems with NQC and math operations
|
|
Jeff, Your problem is with the 16 bit integer size that NQC uses. All integers are in the range -32768 to 32767. Using 10000 to simulate fixed point math operations is killing you. Everything works when you replace theta and D with constants because (...) (22 years ago, 2-Feb-03, to lugnet.robotics.rcx.nqc)
|
|
| | Problems with NQC and math operations
|
|
Hi- I'm currently working on a project to get a dead-reckoning navigation system to work with NQC and the RCX. Right now I have a compass sensor and a rotation sensor hooked up and the idea is that with an angle and a distance, I can get an x and y (...) (22 years ago, 2-Feb-03, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Is there a NQC HowTo out there someplace?
|
|
(...) Well there are books called "Teach yourself C in 5 days", 21 days and so on... try amazon books. NQC is not actually a full C compiler, it has been simplified a great deal and if you learn the basics from a book, you'd be ready to go with NQC (...) (22 years ago, 2-Feb-03, to lugnet.robotics.rcx.nqc)
|
|
| | Is there a NQC HowTo out there someplace?
|
|
Hello, I have reached the limits of what Mindstorm 2.0 software can do a long time ago and now want to go further. I think I would try the NQC. My problem is that I do not know anything about C or NQC. I have learned Pascal and Basic language (and (...) (22 years ago, 1-Feb-03, to lugnet.robotics.rcx.nqc)
|
|
| | now normally baumfamily != enteract
|
|
Perhaps this is not normal? (URL) don't have permission to access /~dbaum/lego/nqc/index.html on this server. Apache/1.3.26 Server at www.enteract.com Port 80 Yet I'm taken there from: (URL) such famous links as: (URL) wonder if the update to these (...) (22 years ago, 2-Feb-03, to lugnet.robotics.rcx.nqc)
|
|
| | NQC 2.5 a5
|
|
NQC 2.5 a5 has been released (www.baumfamily.org/nqc/beta). Dave Baum p.s. Sorry if this is a repeat, but posting via a news reader didn't seem to be working, so I resorted to using the web interface. (22 years ago, 29-Jan-03, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Newbie NQC Spybot problems
|
|
(...) I highly recommend using BricxCC instead of ScriptEd. The editor will syntax highlight your code. It provides a full-featured editor with undo/redo, keystroke macros, code completion, parameter completion, procedure lists, code explorer, and (...) (22 years ago, 22-Jan-03, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Newbie NQC Spybot problems
|
|
"John Hansen" <JohnBinder@aol.com> wrote in message news:H92uu0.Bxz@lugnet.com... (...) codes (...) ordinary (...) in (...) do (...) applies (...) John Many thanks for the quick response. The 'repeat' problem realy had me stumped. Last time I (...) (22 years ago, 21-Jan-03, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Newbie NQC Spybot problems
|
|
(...) This is interesting. When compiled with RCX2 as the target it yields: 000 pwr ABC, 7 13 07 02 07 004 dir ABC, Fwd e1 87 006 setv var[47], 3 14 2f 02 03 00 011 decvjnl var[47], 30 f3 2f 11 00 015 out A, On 21 81 017 wait 200 43 02 c8 00 021 out (...) (22 years ago, 21-Jan-03, to lugnet.robotics, lugnet.robotics.rcx.nqc)
|
|
| | spyutils.nqh
|
|
I have attached to the end of this message the spyutils.nqh file I've been compiling. It's not got a lot in there yet, just the routines defined as "utility" in the Lego Spybotics ROM SDK plus the SendRCXMessage. I'm aiming toward this file being (...) (22 years ago, 17-Jan-03, to lugnet.robotics.spybotics, lugnet.robotics.rcx.nqc, lugnet.robotics)
|