com.kuka.roboticsAPI.controllerModel.sunrise.mapping
Class CartesianImpedanceControlModeMapper
java.lang.Object
com.kuka.roboticsAPI.controllerModel.mapping.AbstractMapper<SunriseMappingToken>
com.kuka.roboticsAPI.controllerModel.sunrise.mapping.SunriseMapper
com.kuka.roboticsAPI.controllerModel.sunrise.mapping.RobotMapper
com.kuka.roboticsAPI.controllerModel.sunrise.mapping.CartesianImpedanceControlModeMapper
public class CartesianImpedanceControlModeMapper
- extends RobotMapper
Mapper for CartesianImpedanceControlMode.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CartesianImpedanceControlModeMapper
public CartesianImpedanceControlModeMapper()
getMappingTypes
public Collection<Class<?>> getMappingTypes()
- Description copied from class:
AbstractMapper
- Gets the mapping types which this mapper can map. A type can be a command
or a part of a command, depending on what the mapper is able to do. For
example, the type could be an IAction, an IControllerCommand or an
IStopCondition.
- Specified by:
getMappingTypes in class AbstractMapper<SunriseMappingToken>
- Returns:
- The mapping types which this mapper can map.
null is
not allowed.
normalizeControlMode
protected CartesianImpedanceControlMode normalizeControlMode(SunriseMappingToken info,
IMotionControlMode originalMode)
- Normalizes a
CartesianImpedanceControlMode instance.
- Specified by:
normalizeControlMode in class RobotMapper
- Parameters:
info - mapping tokenoriginalMode - the original control mode. Must be of type CartesianImpedanceControlMode or derived type.
- Returns:
- the control mode that should be used to set the pipe parameters.
The returned instance is different from the instance given in the
parameters. It's spring position (see
CartesianImpedanceControlMode.getSpringPosition()) will
always be set to a frame and will not be null.
mapControlMode
protected void mapControlMode(SunriseMappingToken info,
IMotionControlMode mode,
DeviceMappingResult mapResult)
- Maps a
CartesianImpedanceControlMode instance.
- Specified by:
mapControlMode in class RobotMapper
- Parameters:
info - mapping tokenmode - The control mode. Must be of type CartesianImpedanceControlMode or derived types. This
mode should be the result of a prior call to
normalizeControlMode(SunriseMappingToken, IMotionControlMode) .mapResult - Contains the result of a device mapping.
Copyright © 2019. All rights reserved.