Google Answers Logo
View Question
 
Q: Computer science programming with NQC ( No Answer,   1 Comment )
Question  
Subject: Computer science programming with NQC
Category: Computers
Asked by: tasha1206-ga
List Price: $20.00
Posted: 20 Jan 2003 15:01 PST
Expires: 19 Feb 2003 15:01 PST
Question ID: 146146
How can I program a Lego Mindstorms robot with NQC(Not Quite C)and the
Bricx Command Center demonstrating my minor ablility of in programming
a technical robot in approximately 24 hours? Please help or direct me
to the appropriate site.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Computer science programming with NQC
From: jeanluis-ga on 20 Jan 2003 16:09 PST
 
Well I am not willing to just give this as an answer, because I don't
feel it is a $100 answer... In fact I don't feel it is a $100
question... You might consider lowering your price to something around
$20... Just my opinion tho... :)

I have never worked with nqc before, but I am a computer scientist,
and here are my thoughts on this type of thing: Becomming proficient
in any 1 programming language in ~24h is possible if you already know
3 or 4 programming languages that are similar. In other words if you
know C really well and maybe C++ or something else (perl, pascal,
whatever), then getting nqc down shouldn't take very long at all... If
your programming expirence is at the "Well I have modified some source
code before" level then getting nqc may take longer than 24h... But
still possible... :)

I would start with the "Not Quite C" home page:
http://www.baumfamily.org/nqc/

Read the faq, and get the programmers guide, from this page:
"nqc information"
http://www.baumfamily.org/nqc/doc/index.html
Then I would checkout the mini-lessons, which don't seem to be too
informative, but rather illustrate traps that a newcomer might fall
into:
"Mini-lessons"
http://www.baumfamily.org/nqc/lessons/index.html

Then download the nqc compiler from this page:
"nqc current version"
http://www.baumfamily.org/nqc/release/index.html

I am not sure what platform you are running, but they only support Mac
and Windows, in binary form, they do have the source available if you
are a linux man, but that might be a lot of work compiling the
compiler... :)

I would then recommend getting some of the sample code from this page:
"nqc samples"
http://www.baumfamily.org/nqc/samples/index.html

And open it up in a text editor and try and figure it out... I suggest
the  bumpseeker.nqc, because it is pretty short, and it tells you what
components you need in the robot. Then I would just go from there,
through other samples, until you get an understanding of what will do
what. At that point it will be time to start writing your own nqc
programs...
Hope this helps
--jld

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy