![]() |
Java PWM getPosition() integer division bug?
After much troubleshooting trying to figure out why Servo.get() was returning 0.0 for any servo position other than 1.0, I noticed the following code in edu.wpi.first.wpilibj.PWM:
Code:
public double getPosition() { |
Re: Java PWM getPosition() integer division bug?
Quote:
Thanks, -Joe |
Re: Java PWM getPosition() integer division bug?
Quote:
http://firstforge.wpi.edu/sf/go/artf...2647385673 24 |
Re: Java PWM getPosition() integer division bug?
Looks good to me. The right person isn't in the list. :( I'll make sure he hears about it.
|
Re: Java PWM getPosition() integer division bug?
We've observed the same issue, hopefully first will put out a fix for this.
|
| All times are GMT -5. The time now is 09:26. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi