maslab.odom
Class IntegratedOdometryDataSource

java.lang.Object
  extended by maslab.data.DataSource
      extended by maslab.odom.IntegratedOdometryDataSource

public class IntegratedOdometryDataSource
extends DataSource

Integrated odometry data is used by vehicles that give their odometry data in an already-integrated format. This class produces relative odometry measurements from the integrated data.


Constructor Summary
IntegratedOdometryDataSource(java.lang.String channelName)
           
 
Method Summary
 java.lang.String getParameters()
          Retrieve a (preferrably human readable) string of parameters for this source.
 void setParameters(java.lang.String s)
          Set parameters, as read from a configuration file.
 DataEvent stringToEvent(double timestamp, java.lang.String data)
          Called by DataLogReader when a DataEvent record is encountered for this data source.
 
Methods inherited from class maslab.data.DataSource
addDataListener, fsplit, getChannelName, notifyLogWriters, parseDouble, parseProperties, removeDataListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegratedOdometryDataSource

public IntegratedOdometryDataSource(java.lang.String channelName)
Method Detail

stringToEvent

public DataEvent stringToEvent(double timestamp,
                               java.lang.String data)
Description copied from class: DataSource
Called by DataLogReader when a DataEvent record is encountered for this data source. The DataSource should instantiate a DataEvent object but should NOT notify the DataListeners.

Specified by:
stringToEvent in class DataSource

getParameters

public java.lang.String getParameters()
Description copied from class: DataSource
Retrieve a (preferrably human readable) string of parameters for this source. For example, a laser scanner DataSource might return information about where the laser scanner is mounted. The string may contain any character except newline, but human-readable formats are preferred.

Specified by:
getParameters in class DataSource

setParameters

public void setParameters(java.lang.String s)
Description copied from class: DataSource
Set parameters, as read from a configuration file.

Specified by:
setParameters in class DataSource