McNxtBrick.Run() unlimited?
2 posters
MindSqualls :: Questions :: Using the motors :: NXT motors
Page 1 of 1
McNxtBrick.Run() unlimited?
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:
This code 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
Re: McNxtBrick.Run() unlimited?
Thanks. I will look into this, but it will have to wait to after the weekend.
Niels- Posts : 19
Join date : 2011-07-15
Re: McNxtBrick.Run() unlimited?
I have uploaded a new beta of v2.2 where the problem is solved.
Niels- Posts : 19
Join date : 2011-07-15
MindSqualls :: Questions :: Using the motors :: NXT motors
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|