I2cDeviceType
instead.
I2cSensor
annotations may be placed on classes which are implementations of I2C sensors.
Such classes will be configurable using the configuration UI, and instances thereof will appear
in the hardware map in the uncategorized mapping. Classes on which this annotation is placed must
implement HardwareDevice
and have a constructor with at least one of the following signatures:
@Documented
@Target(value=TYPE)
@Retention(value=RUNTIME)
@Deprecated
public @interface I2cSensor
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
description
Deprecated.
Specifies a brief descriptive phrase that describes this kind of sensor.
|
java.lang.String |
name
Deprecated.
Specifies the name of the sensor to be displayed in configuration user interfaces.
|
java.lang.String |
xmlTag
Deprecated.
Specifies the XML tag to use to represent configured instances of the annotated
class as recorded in saved robot configurations.
|
public abstract java.lang.String xmlTag