Bug in MirrirMotor class

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

Moderators: roger, 99jonathan, imaqine

Bug in MirrirMotor class

Postby positron96 » Sun Jul 22, 2012 4:04 pm

Hello guys.
Just found a big bug in MirrorMotor class.
Code: Select all
public class MirrorMotor implements RegulatedMotor, RegulatedMotorListener {
...

   public void stop(boolean immediateReturn) {
      regMotor.stop();
   }
....

}

As you see it does not stop immediately in stop(true).
This breaks some code which makes assumptions about stopping durations. (E.g. DifferentialPilot.stop() rotates before stopping)
positron96
New User
 
Posts: 7
Joined: Fri Jun 29, 2012 11:55 am

Re: Bug in MirrirMotor class

Postby skoehler » Sun Jul 22, 2012 4:31 pm

skoehler
leJOS Team Member
 
Posts: 1110
Joined: Thu Oct 30, 2008 4:54 pm

Re: Bug in MirrirMotor class

Postby positron96 » Sat Jul 28, 2012 4:55 pm

Great, thanks! Are binaries of 0.9.1 updates when new changes are committed?
positron96
New User
 
Posts: 7
Joined: Fri Jun 29, 2012 11:55 am

Re: Bug in MirrirMotor class

Postby skoehler » Sat Jul 28, 2012 5:42 pm

positron96 wrote:Great, thanks! Are binaries of 0.9.1 updates when new changes are committed?

No, we release 0.9.1-x updates manually.
skoehler
leJOS Team Member
 
Posts: 1110
Joined: Thu Oct 30, 2008 4:54 pm


Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 2 guests

more stuff