McNxtBrick.Run() unlimited?

View previous topic View next topic Go down

McNxtBrick.Run() unlimited?

Post  maikkel on Thu Aug 25, 2011 6:09 pm

In the documentation for the McNxtMotor.Run Method it sais that the duration is set to unlimited with 0 for "tachoLimit". This doesn't seem to work for McNxtBrick. It just does nothing.
It works fine for NxtBrick (without MotorControl), but I don't like using it because the rotations are not nearly as accurate...

This works:
Code:
brick.MotorB = new NxtMotor();
brick.MotorB.Run(50, 0);

This code does nothing:
Code:
brick.MotorB = new McNxtMotor();
brick.MotorB.Run(50, 0);

maikkel

Posts : 1
Join date : 2011-08-25

View user profile

Back to top Go down

Re: McNxtBrick.Run() unlimited?

Post  Niels on Fri Aug 26, 2011 5:39 pm

Thanks. I will look into this, but it will have to wait to after the weekend.

Niels

Posts : 19
Join date : 2011-07-15

View user profile

Back to top Go down

Re: McNxtBrick.Run() unlimited?

Post  Niels on Mon Aug 29, 2011 9:05 am

I have uploaded a new beta of v2.2 where the problem is solved.

Niels

Posts : 19
Join date : 2011-07-15

View user profile

Back to top Go down

Re: McNxtBrick.Run() unlimited?

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum