|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMotorModule
| Field Summary | |
|---|---|
static java.lang.String |
ABORT_CHUNK_TYPE
|
static java.lang.String |
ABORTING_CHUNK
|
static java.lang.String |
MOVEMENT_CHUNK_TYPE
|
static java.lang.String |
MUSCLE_SLOT
|
| Fields inherited from interface org.jactr.modules.pm.IPerceptualModule |
|---|
GREATER_THAN_CURRENT_CHUNK, HIGHEST_CHUNK, LESS_THAN_CURRENT_CHUNK, LOWEST_CHUNK |
| Fields inherited from interface org.jactr.core.module.asynch.IAsynchronousModule |
|---|
STRICT_SYNCHRONIZATION_PARAM |
| Method Summary | |
|---|---|
java.util.concurrent.Future<IMovement> |
abort(IMovement movement,
double requestTime)
|
void |
addListener(IMotorModuleListener listener,
java.util.concurrent.Executor executor)
|
java.util.concurrent.Future<IMovement> |
adjust(IMovement movement,
ChunkTypeRequest request,
double requestTime)
|
boolean |
canAbort(ChunkTypeRequest request)
|
boolean |
canAbort(IMovement movement)
|
boolean |
canAdjust(ChunkTypeRequest request)
|
boolean |
canAdjust(IMovement movement)
|
boolean |
canExecute(ChunkTypeRequest pattern)
|
boolean |
canPrepare(ChunkTypeRequest pattern)
return true if we could prepare this motor command |
void |
dispatch(MotorModuleEvent event)
|
java.util.concurrent.Future<IMovement> |
execute(IMovement movement,
double requestTime)
execute a motor movement. |
IChunkType |
getAbortChunkType()
|
IMotorActivationBuffer |
getBuffer()
|
MotorCommandManager |
getCommandManager()
|
ICommandTranslator |
getCommandTranslator()
responsible code snippet that translates ChunkPatterns into
IEfferentCommands |
IMovement |
getLastMovement(org.commonreality.identifier.IIdentifier muscle)
returns the most recently prepared movement for the given muscle |
IChunkType |
getMovementChunkType()
the root movement type chunk |
MuscleStateManager |
getMuscleManager()
tracker and manager of muscle info |
IMotorTimeEquation |
getPreparationTimeEquation()
the IMotorTimeEquation that determines how long the preparation
of a motor movement lasts |
IMotorTimeEquation |
getProcessingTimeEquation()
the IMotorTimeEquation that determines how much time is spent
processing the movement. |
boolean |
hasListeners()
|
java.util.concurrent.Future<IMovement> |
prepare(ChunkTypeRequest pattern,
double requestTime,
boolean prepareOnly)
prepare a motor movement. |
void |
removeListener(IMotorModuleListener listener)
|
void |
reset()
reset the motor system. |
void |
reset(java.lang.String muscle)
reset the state of a single muscle |
| Methods inherited from interface org.jactr.modules.pm.IPerceptualModule |
|---|
getCommonRealityExecutor, getSymbolGrounder |
| Methods inherited from interface org.jactr.core.module.asynch.IAsynchronousModule |
|---|
getExecutor, isStrictSynchronizationEnabled, setStrictSynchronizationEnabled, synchronizedTimedEvent |
| Methods inherited from interface org.jactr.core.module.IModule |
|---|
dispose, getModel, getName, initialize, install |
| Methods inherited from interface org.jactr.core.utils.IInstallable |
|---|
uninstall |
| Methods inherited from interface org.jactr.core.utils.parameter.IParameterized |
|---|
getParameter, getPossibleParameters, getSetableParameters, setParameter |
| Field Detail |
|---|
static final java.lang.String MOVEMENT_CHUNK_TYPE
static final java.lang.String ABORT_CHUNK_TYPE
static final java.lang.String MUSCLE_SLOT
static final java.lang.String ABORTING_CHUNK
| Method Detail |
|---|
IChunkType getMovementChunkType()
IChunkType getAbortChunkType()
IMotorTimeEquation getProcessingTimeEquation()
IMotorTimeEquation that determines how much time is spent
processing the movement. Actual equation times are determined by
individual IEfferentCommandTranslators.
IMotorTimeEquation getPreparationTimeEquation()
IMotorTimeEquation that determines how long the preparation
of a motor movement lasts
IMovement getLastMovement(org.commonreality.identifier.IIdentifier muscle)
muscle - if null, return the last movement regardless of the muscle
ICommandTranslator getCommandTranslator()
ChunkPatterns into
IEfferentCommands
MuscleStateManager getMuscleManager()
MotorCommandManager getCommandManager()
boolean canPrepare(ChunkTypeRequest pattern)
pattern -
java.util.concurrent.Future<IMovement> prepare(ChunkTypeRequest pattern,
double requestTime,
boolean prepareOnly)
IEfferentCommand with common reality
pattern - boolean canExecute(ChunkTypeRequest pattern)
java.util.concurrent.Future<IMovement> execute(IMovement movement,
double requestTime)
movement -
boolean canAbort(ChunkTypeRequest request)
boolean canAbort(IMovement movement)
java.util.concurrent.Future<IMovement> abort(IMovement movement,
double requestTime)
boolean canAdjust(ChunkTypeRequest request)
boolean canAdjust(IMovement movement)
java.util.concurrent.Future<IMovement> adjust(IMovement movement,
ChunkTypeRequest request,
double requestTime)
IMotorActivationBuffer getBuffer()
void reset()
reset in interface IModulevoid reset(java.lang.String muscle)
muscle -
void addListener(IMotorModuleListener listener,
java.util.concurrent.Executor executor)
void removeListener(IMotorModuleListener listener)
boolean hasListeners()
void dispatch(MotorModuleEvent event)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||