Package simulatedAcquisition.movement
Class StraightLineMovement
java.lang.Object
simulatedAcquisition.movement.MovementModel
simulatedAcquisition.movement.StraightLineMovement
Simplest movement model - is the one that's in there at the 
 moment, i.e. stationary or moving in a straight line.
- Author:
 - Doug Gillespie
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetName()booleanstart(long timeMilliseconds, SimObjectDataUnit simObjectDataUnit) Prepare to start moving.booleantakeStep(long timeMilliseconds, SimObjectDataUnit simObjectDataUnit) Take a step.Methods inherited from class simulatedAcquisition.movement.MovementModel
getSimObject, hasOptions, showOptions 
- 
Constructor Details
- 
StraightLineMovement
 
 - 
 - 
Method Details
- 
start
Description copied from class:MovementModelPrepare to start moving. Called once at run start.- Specified by:
 startin classMovementModel- Parameters:
 timeMilliseconds- current time in millisecondssimObjectDataUnit- Some data unit to modify.- Returns:
 - true if step taken OK. False if track is completed, in which case acquisition will stop.
 
 - 
takeStep
Description copied from class:MovementModelTake a step. Update the position, heading, etc. directly in the SimSoundDataUnit.- Specified by:
 takeStepin classMovementModel- Parameters:
 timeMilliseconds- current time in millisecondssimObjectDataUnit- Some data unit to modify.- Returns:
 - true if step taken OK. False if track is completed, in which case acquisition will stop.
 
 - 
getName
- Specified by:
 getNamein classMovementModel- Returns:
 - Name for the model.
 
 
 -