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 / 1499
1498  |  1500
Subject: 
Re: Problems with NQC and math operations
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Tue, 4 Feb 2003 17:33:53 GMT
Viewed: 
5108 times
  
In lugnet.robotics.rcx.nqc, Jeff Merrick writes:
I'll probably have to learn legOS so I can use floating-point
and get more precise values.

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 efficient and compact way. Better
yet, it includes a Navigator object that does a nice job of dead reckoning.
Have fun,
Roger



Message has 1 Reply:
  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)

Message is in Reply To:
  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)

6 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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