public interface ISensorDataSource
Modifier and Type | Method and Description |
---|---|
boolean |
getCurrent(IQuantity[] quantities,
Timestamp curr_ts)
Retrieves the most recently-received Sensor Data value.
|
void |
getSensorDataSourceInfos(java.util.ArrayList<SensorDataSourceInfo> out) |
boolean |
reset(int quantity_index)
For those quantities which can be reset to their default (e.g., an IMU
Yaw, or an encoder counter), this method will cause the reset to occur.
|
boolean |
subscribe(ISensorDataSubscriber subscriber)
Subscribes the provided subscriber object for callbacks whenever new
TimestampedQuaternion data is received by the sensor.
|
boolean |
unsubscribe(ISensorDataSubscriber subscriber)
Unsubscribes the previously-registered subscriber object for callbacks
whenever new Sensor Data is received by the sensor.
|
boolean subscribe(ISensorDataSubscriber subscriber)
subscriber
- - object implementing the ISensorDataSubscriberboolean unsubscribe(ISensorDataSubscriber subscriber)
subscriber
- - object implementing the ISensorDataSubscriberboolean getCurrent(IQuantity[] quantities, Timestamp curr_ts)
tq
- boolean reset(int quantity_index)
quantity_index
- void getSensorDataSourceInfos(java.util.ArrayList<SensorDataSourceInfo> out)