[icommand 0.6] problem with Motor rotate

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

Moderators: imaqine, 99jonathan, roger

New User
Posts: 8
Joined: Thu Aug 09, 2007 5:41 pm
Location: Spain

[icommand 0.6] problem with Motor rotate

Postby ramso » Thu Aug 09, 2007 5:50 pm

I compile the svn code of the icommand 0.6, and work fine for a beta version.
When I trying to rotate in a negative angel a motor make the same rotation that with a positive. I review your code and use the power to control this, but it's not possible to have a negative power.
I Change this

Code: Select all

if(power > 0)
with this

Code: Select all

if(count > 0)
and work fine.

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

Postby bbagnall » Mon Aug 20, 2007 5:30 pm

I'll have a look at that.

Return to “NXJ Software”

Who is online

Users browsing this forum: No registered users and 4 guests