public class AngularHallEffect extends java.lang.Object implements IAngleSensor
Modifier and Type | Field and Description |
---|---|
private double |
m_distanceFromPivot |
Constructor and Description |
---|
AngularHallEffect(double distanceFromPivot)
Creator
|
Modifier and Type | Method and Description |
---|---|
double |
getAngle(double input)
This will return the angle that the sensor is reading
|
public AngularHallEffect(double distanceFromPivot)
distanceFromPivot
- how far is the sensor mounted from the pivot pointpublic double getAngle(double input)
IAngleSensor
getAngle
in interface IAngleSensor
input
- what is the sensor reading?