public class ALLocalization extends ALProxy
Constructor and Description |
---|
ALLocalization(Session session) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
clear(java.lang.String pDirectory)
Delete all panoramas in a directory.
|
void |
clearStats() |
void |
exit()
Exits and unregisters the module.
|
java.lang.String |
getBrokerName()
Gets the name of the parent broker.
|
java.lang.Object |
getCurrentPanoramaDescriptor()
Get some information about the current panorama.
|
java.lang.Object |
getFrame(java.lang.Integer param1,
java.lang.String param2)
Get a frame buffer.
|
java.lang.String |
getMessageFromErrorCode(java.lang.Integer param1) |
java.lang.Object |
getMethodHelp(java.lang.String methodName)
Retrieves a method's description.
|
java.util.List<java.lang.String> |
getMethodList()
Retrieves the module's method list.
|
java.lang.Object |
getModuleHelp()
Retrieves the module's description.
|
java.lang.Object |
getRobotOrientation()
Get the robot orientation.
|
java.lang.Object |
getRobotOrientation(java.lang.Boolean param1)
Get the robot orientation.
|
java.util.List<java.lang.Float> |
getRobotPosition()
Get the robot position in world navigation.
|
java.util.List<java.lang.Float> |
getRobotPosition(java.lang.Boolean param1)
Get the robot position in world navigation.
|
java.lang.String |
getUsage(java.lang.String name)
Gets the method usage string.
|
java.lang.Integer |
goToHome()
Go to the robot home.
|
java.lang.Integer |
goToPosition(java.util.List<java.lang.Float> param1)
Go to a given position.
|
java.lang.Boolean |
isDataAvailable() |
java.lang.Boolean |
isInCurrentHome()
Is the robot in its home?
|
java.lang.Object |
isInGivenZone(java.lang.Float param1,
java.lang.Float param2,
java.lang.Float param3,
java.lang.Float param4) |
java.lang.Boolean |
isRelocalizationRequired() |
java.lang.Boolean |
isRunning(java.lang.Integer id)
Returns true if the method is currently running.
|
java.lang.Boolean |
isStatsEnabled() |
java.lang.Boolean |
isTraceEnabled() |
java.lang.Integer |
learnHome()
Learn the robot home.
|
java.lang.Integer |
load(java.lang.String pDirectory)
Loads panoramas from a directory in the default one.
|
java.lang.Boolean |
ping()
Just a ping.
|
java.lang.Integer |
save(java.lang.String pDirectory)
Save the temporary panoramas in a directory from the default one.
|
void |
stop(java.lang.Integer id)
returns true if the method is currently running
|
void |
stopAll()
Stop all robot movements.
|
java.lang.String |
version()
Returns the version of the module.
|
java.lang.Boolean |
wait(java.lang.Integer id,
java.lang.Integer timeoutPeriod)
Wait for the end of a long running method that was called using 'post'
|
call, connect, connect, disconnect, getNaoqiType, getService, isProxyReady, setService
public ALLocalization(Session session) throws java.lang.Exception
java.lang.Exception
public java.lang.Integer goToPosition(java.util.List<java.lang.Float> param1) throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.lang.Object getRobotOrientation() throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.lang.Integer goToHome() throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.lang.Object isInGivenZone(java.lang.Float param1, java.lang.Float param2, java.lang.Float param3, java.lang.Float param4) throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.lang.Boolean isStatsEnabled() throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public void clearStats() throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.lang.Boolean isTraceEnabled() throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public void exit() throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.lang.String version() throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.lang.Boolean ping() throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.util.List<java.lang.String> getMethodList() throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.lang.Object getMethodHelp(java.lang.String methodName) throws CallError, java.lang.InterruptedException
methodName
- The name of the method.CallError
java.lang.InterruptedException
public java.lang.Object getModuleHelp() throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.lang.Boolean wait(java.lang.Integer id, java.lang.Integer timeoutPeriod) throws CallError, java.lang.InterruptedException
id
- The ID of the method that was returned when calling the method using 'post'timeoutPeriod
- The timeout period in ms. To wait indefinately, use a timeoutPeriod of zero.CallError
java.lang.InterruptedException
public java.lang.Boolean isRunning(java.lang.Integer id) throws CallError, java.lang.InterruptedException
id
- The ID of the method that was returned when calling the method using 'post'CallError
java.lang.InterruptedException
public void stop(java.lang.Integer id) throws CallError, java.lang.InterruptedException
id
- the ID of the method to wait forCallError
java.lang.InterruptedException
public java.lang.String getBrokerName() throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.lang.String getUsage(java.lang.String name) throws CallError, java.lang.InterruptedException
name
- The name of the method.CallError
java.lang.InterruptedException
public java.lang.String getMessageFromErrorCode(java.lang.Integer param1) throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public void stopAll() throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.lang.Integer learnHome() throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.lang.Boolean isInCurrentHome() throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.lang.Object getCurrentPanoramaDescriptor() throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.lang.Object getFrame(java.lang.Integer param1, java.lang.String param2) throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.lang.Integer clear(java.lang.String pDirectory) throws CallError, java.lang.InterruptedException
pDirectory
- Name of the directoryCallError
java.lang.InterruptedException
public java.lang.Integer load(java.lang.String pDirectory) throws CallError, java.lang.InterruptedException
pDirectory
- Name of the directoryCallError
java.lang.InterruptedException
public java.lang.Integer save(java.lang.String pDirectory) throws CallError, java.lang.InterruptedException
pDirectory
- Name of the directoryCallError
java.lang.InterruptedException
public java.lang.Boolean isRelocalizationRequired() throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.lang.Boolean isDataAvailable() throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.util.List<java.lang.Float> getRobotPosition() throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
public java.util.List<java.lang.Float> getRobotPosition(java.lang.Boolean param1) throws CallError, java.lang.InterruptedException
CallError
java.lang.InterruptedException
Aldebaran SDK for Java
Copyright 2006-2015 Aldebaran Robotics. All Rights Reserved.