iCommand rotateLeft() method

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

Moderators: imaqine, 99jonathan, roger

New User
Posts: 2
Joined: Sat Mar 15, 2008 5:13 am

iCommand rotateLeft() method

Postby pmousarris » Sat Mar 15, 2008 5:19 am

Have been using the latest version of iCommand 0.7 with lejos nxt firmware latest on my brick. The problem is that the method navigator.rotateLeft() or rotateRight() won't work. They only turn for a split of a second and stop. I have to manually call a rotate method and specify what angle size to turn and put this in a loop until I find a ball.
I suspect that there's a problem with this method in the iCommand 0.7 API that might need fixing. I am using iCommand for my project which I'm finishing anytime now and would need this method running so that the robot won't waste time searching for the ball.

Thank you,

Panayiotis Mousarris

User avatar
Site Admin
Posts: 392
Joined: Fri Aug 04, 2006 4:03 pm

Postby bbagnall » Mon Mar 17, 2008 5:39 am

I'll have to take a look at that method. It was recently added and wasn't tested very well. Probably won't be fixed for a while so you might want to just use rotate(2000) or whatever when searching for a ball instead. It will do about the same thing I believe.

Return to “NXJ Software”

Who is online

Users browsing this forum: No registered users and 5 guests