Class Simple Navigator problem

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: 99jonathan, roger, imaqine

Class Simple Navigator problem

Postby exite » Wed Mar 21, 2007 1:02 pm

Hello!
When I used the method rotate or goto.angle, the NXT motor rotates always in the same direction (only right). I tested positive values and negative values.
Is this a bug or volitional?
Thx 4 answer
----------------------------------------------------------
Sorry 4 my bad English.. (German) :?
exite
New User
 
Posts: 10
Joined: Fri Feb 23, 2007 7:58 am

Postby lawrie » Sat Mar 31, 2007 10:32 am

Try the new 0.2alpha release that is out today.

Your problem was a bug.

A lot of work has been done on the Motor and Navigator classes. SimpleNavigator no longer exists - use lejos.navigation.TachoNavigator instead.

There is also a lejos.navigation.Pilot class that can be used, if you only want to steer a robot and not keep track of its position.
lawrie
leJOS Team Member
 
Posts: 917
Joined: Mon Feb 05, 2007 1:27 pm


Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 2 guests

cron
more stuff