Class Simple Navigator problem

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

Moderators: imaqine, 99jonathan, roger

New User
Posts: 10
Joined: Fri Feb 23, 2007 7:58 am

Class Simple Navigator problem

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

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) :?

leJOS Team Member
Posts: 965
Joined: Mon Feb 05, 2007 1:27 pm

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.

Return to “NXJ Software”

Who is online

Users browsing this forum: No registered users and 4 guests