com.kuka.nav.robot
Class ChangeMapCommand
java.lang.Object
com.kuka.nav.command.AbstractParameterizable
com.kuka.nav.command.AbstractCommand<T,E>
com.kuka.nav.command.Action<ChangeMapCommand,ActionContainer<ChangeMapCommand,NavExecutionResult>>
com.kuka.nav.robot.ChangeMapCommand
- All Implemented Interfaces:
- com.kuka.command.ICommand<ChangeMapCommand,ActionContainer<ChangeMapCommand,NavExecutionResult>>, com.kuka.command.IParameterizableCommand<ChangeMapCommand,ActionContainer<ChangeMapCommand,NavExecutionResult>>, com.kuka.parameters.IParameterizable
public final class ChangeMapCommand
- extends Action<ChangeMapCommand,ActionContainer<ChangeMapCommand,NavExecutionResult>>
Requests the change of the currently active map of the commanded mobile robot.
|
Constructor Summary |
|
ChangeMapCommand(int mapId)
Creates a new change map command. |
protected |
ChangeMapCommand(com.kuka.parameters.IParameterMap params)
Copy constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.kuka.parameters.IParameterizable |
getParameters |
ChangeMapCommand
public ChangeMapCommand(int mapId)
- Creates a new change map command.
- Parameters:
mapId - the id of the map to change to
ChangeMapCommand
protected ChangeMapCommand(com.kuka.parameters.IParameterMap params)
- Copy constructor. Creates a mew instance of the class containing the deep copy of the specified parameter map.
- Parameters:
params - parameter map containing the command parameters.
setMapId
public ChangeMapCommand setMapId(int mapId)
- Sets the id of the map to change to.
- Parameters:
mapId - the map id
- Returns:
- a reference to this command
getMapId
public int getMapId()
- Returns:
- the id of the map to change to.
copy
public ChangeMapCommand copy()
- Specified by:
copy in interface com.kuka.command.ICommand<ChangeMapCommand,ActionContainer<ChangeMapCommand,NavExecutionResult>>- Specified by:
copy in class AbstractCommand<ChangeMapCommand,ActionContainer<ChangeMapCommand,NavExecutionResult>>
Copyright © 2019. All rights reserved.