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 / *1497 (-20)
  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)
 
  MIDI conversion
 
I have added a feature to BricxCC to convert MIDI files to NQC, MindScript, LASM, brickOS C, and brickOS Pascal code. It seems to work quite well with the first three languages (i.e., the sound generated by the RCX closely resembles the MIDI file (...) (22 years ago, 16-Jan-03, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc)
 
  VisionXperiment 1.0a1 Announcement
 
Hi All, I've uploaded a new application called VisionXperiment. Currently is is for MacOS X Only. Inspired by Vision Command, it allows your computer to respond to movement, color or light as seen by a Quicktime compatible camera. Currently the (...) (22 years ago, 11-Jan-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
 
  MacNQC 3.0a8 Beta Announcement
 
Hi All, I've uploaded MacNQC 3.0a8. One new feature: * Added an option for the compiler to search the include folder for included files (Currently only has "spy.nqh" in it) Bugs fixed: * Updated the NQC compiler to 2.5 a4. This version is feature (...) (22 years ago, 11-Jan-03, to lugnet.robotics.rcx.nqc)
 
  Re: RCX simulation
 
(...) (22 years ago, 4-Jan-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.nqc, lugnet.robotics)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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