device
Class Localize
java.lang.Object
device.Device
device.RobotDevice
device.Localize
- All Implemented Interfaces:
- IDevice, java.lang.Runnable
public class Localize
- extends RobotDevice
Fields inherited from interface device.external.IDevice |
DEVICE_ACTARRAY_CODE, DEVICE_AIO_CODE, DEVICE_AUDIO_CODE, DEVICE_AUDIODSP_CODE, DEVICE_AUDIOMIXER_CODE, DEVICE_BLINKENLIGHT_CODE, DEVICE_BLOBFINDER_CODE, DEVICE_BUMPER_CODE, DEVICE_CAMERA_CODE, DEVICE_DEVICE_CODE, DEVICE_DIO_CODE, DEVICE_ENERGY_CODE, DEVICE_FIDUCIAL_CODE, DEVICE_GPS_CODE, DEVICE_GRAPHICS2D_CODE, DEVICE_GRAPHICS3D_CODE, DEVICE_GRIPPER_CODE, DEVICE_HEALTH_CODE, DEVICE_IMU_CODE, DEVICE_IR_CODE, DEVICE_JOYSTICK_CODE, DEVICE_LASER_CODE, DEVICE_LIMB_CODE, DEVICE_LOCALIZE_CODE, DEVICE_LOG_CODE, DEVICE_MAP_CODE, DEVICE_MCOM_CODE, DEVICE_NOMAD_CODE, DEVICE_NULL_CODE, DEVICE_OPAQUE_CODE, DEVICE_PLANNER_CODE, DEVICE_POINTCLOUD3D_CODE, DEVICE_POSITION1D_CODE, DEVICE_POSITION2D_CODE, DEVICE_POSITION3D_CODE, DEVICE_POWER_CODE, DEVICE_PTZ_CODE, DEVICE_RANGER_CODE, DEVICE_RFID_CODE, DEVICE_SERVICE_ADV_CODE, DEVICE_SIMULATION_CODE, DEVICE_SONAR_CODE, DEVICE_SOUND_CODE, DEVICE_SPEECH_CODE, DEVICE_SPEECH_RECOGNITION_CODE, DEVICE_TRUTH_CODE, DEVICE_WAVEFORM_CODE, DEVICE_WIFI_CODE, DEVICE_WSN_CODE |
Methods inherited from class device.Device |
equals, getDevice, getDeviceIterator, getDeviceList, getDeviceListArray, getHost, getId, getIndex, getPort, getSleepTime, getThreadName, isInList, isRunning, isSupported, isThreaded, matches, matchesList, run, runThreaded, setDeviceList, setHost, setName, setPort, setSleepTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
logger
java.util.logging.Logger logger
- Logging support
localizeListeners
java.util.concurrent.CopyOnWriteArrayList<ILocalizeListener> localizeListeners
- Callback listeners
cov
protected double[] cov
- initial values for the covariance matrix (c&p example from playernav)
getPosition
Position getPosition
oldPosition
Position oldPosition
setPosition
javaclient3.structures.localize.PlayerLocalizeSetPose setPosition
Localize
public Localize(DeviceNode roboClient,
Device device)
update
protected void update()
- Description copied from class:
Device
- Might be to be implemented by subclass to do something
- Overrides:
update
in class Device
addListener
public void addListener(ILocalizeListener cb)
removeListener
public void removeListener(ILocalizeListener cb)
setPosition
public boolean setPosition(Position position)
getPosition
public Position getPosition()
shutdown
public void shutdown()
- Description copied from class:
Device
- Shuts down this (and any sub-) device.
- Specified by:
shutdown
in interface IDevice
- Overrides:
shutdown
in class Device