public class ConsoleSystem extends java.lang.Object implements MissionChangeListener, PreferencesListener, SubPanelChangeListener, pt.lsts.neptus.messages.listener.MessageListener<pt.lsts.neptus.messages.listener.MessageInfo,pt.lsts.imc.IMCMessage>
Modifier and Type | Field and Description |
---|---|
protected ConsoleLayout |
console |
protected java.util.Vector<VehicleStateListener> |
feedRenders |
protected ImcSystem |
imcSystem |
protected long |
lastVehicleState |
protected MapType |
mapCS |
protected int |
minDelay |
int |
POS_LAT_LON_XYZ |
int |
POS_ONLY_LAT_LON |
int |
POS_ONLY_XYZ |
protected ScatterPointsElement |
scatter |
protected SystemPositionAndAttitude |
state |
protected boolean |
tailOn |
Constructor and Description |
---|
ConsoleSystem(java.lang.String systemName,
ConsoleLayout console,
ImcSystem vehicle,
ImcMsgManager imcMsgManager) |
public final int POS_ONLY_XYZ
public final int POS_ONLY_LAT_LON
public final int POS_LAT_LON_XYZ
protected ImcSystem imcSystem
protected SystemPositionAndAttitude state
protected ConsoleLayout console
protected java.util.Vector<VehicleStateListener> feedRenders
protected int minDelay
protected long lastVehicleState
protected MapType mapCS
protected ScatterPointsElement scatter
protected boolean tailOn
public ConsoleSystem(java.lang.String systemName, ConsoleLayout console, ImcSystem vehicle, ImcMsgManager imcMsgManager)
public ConsoleSystem enableIMC()
public ConsoleSystem disableIMC()
public ConsoleSystem toggleIMC()
public void clean()
public boolean isTranslateClicle()
public java.lang.String getVehicleId()
public void onMessage(pt.lsts.neptus.messages.listener.MessageInfo info, pt.lsts.imc.IMCMessage msg)
onMessage
in interface pt.lsts.neptus.messages.listener.MessageListener<pt.lsts.neptus.messages.listener.MessageInfo,pt.lsts.imc.IMCMessage>
public SystemPositionAndAttitude getState()
public boolean isTailOn()
public void setTailOn(boolean tailOn)
tailOn
- the tailOn to setpublic void addRenderFeed(VehicleStateListener mr)
public void removeRenderFeed(VehicleStateListener mr)
public ImcSystem getVehicle()
public boolean isNeptusCommunications()
public boolean getNeptusCommunications()
public void missionReplaced(MissionType mission)
missionReplaced
in interface MissionChangeListener
public LocationType getVehicleHomeRef()
public LocationType getHomeRef()
public void preferencesUpdated()
preferencesUpdated
in interface PreferencesListener
public int getNumberOfShownPoints()
public void missionUpdated(MissionType mission)
missionUpdated
in interface MissionChangeListener
public void subPanelChanged(SubPanelChangeEvent panelChange)
subPanelChanged
in interface SubPanelChangeListener
public ConsoleEventVehicleStateChanged.STATE getVehicleState()
public void setVehicleState(ConsoleEventVehicleStateChanged.STATE vehicleState)
vehicleState
- the vehicleState to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setCopyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.