javax.microedition.sensor
Class TiltChannelInfo
java.lang.Object
javax.microedition.sensor.NXTChannelInfo
javax.microedition.sensor.TiltChannelInfo
- All Implemented Interfaces:
- ChannelInfo
public class TiltChannelInfo
- extends NXTChannelInfo
ChannelInfo for tilt channels rot_x, rot_y and rot_z
as implemented by the Mindsensors range of acceleration sensors.
- Author:
- Lawrie Griffiths
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
axes
public static final String[] axes
TiltChannelInfo
public TiltChannelInfo(String axis)
getRegister
public int getRegister()
- Description copied from class:
NXTChannelInfo
- Get the register that returns channel data for an I2C channel
- Overrides:
getRegister
in class NXTChannelInfo
- Returns:
- the register
getMeasurementRanges
public MeasurementRange[] getMeasurementRanges()
getName
public String getName()
getUnit
public Unit getUnit()
- Specified by:
getUnit
in interface ChannelInfo
- Overrides:
getUnit
in class NXTChannelInfo
getOffset
public int getOffset()
- Description copied from class:
NXTChannelInfo
- Get the value that represents zero.
- Overrides:
getOffset
in class NXTChannelInfo
- Returns:
- the offset