[icommand 0.6] problem with Motor rotate

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

Moderators: 99jonathan, roger, imaqine

[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.
ramso
New User
 
Posts: 8
Joined: Thu Aug 09, 2007 5:41 pm
Location: Spain

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

I'll have a look at that.
User avatar
bbagnall
Site Admin
 
Posts: 392
Joined: Fri Aug 04, 2006 4:03 pm


Return to NXJ Software

Who is online

Users browsing this forum: Baidu [Spider], Yahoo [Bot] and 2 guests

more stuff