public class ServoRobotConfig extends Object
| Constructor and Description |
|---|
ServoRobotConfig()
Creates an empty RobotConfig.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addControllerContext(ServoRobot.ServoControllerContext context)
Adds a ServoControllerConfig to the RobotConfig.
|
void |
addServoJoint(Joint.Id id,
ServoController.ServoId servoId)
Add a Joint to the RobotConfig with the given id and name.
|
List<ServoRobot.ServoControllerContext> |
getControllerContexts()
Returns the RobotConfig's JointControllerConnections.
|
Map<Joint.Id,ServoController.ServoId> |
getIdMap()
Returns a Map of JointIds and their Corresponding ServoIds.
|
Robot.Id |
getRobotId()
Returns the Id.
|
void |
setRobotId(Robot.Id robotId)
Sets the Id to use with the Robot
|
public Robot.Id getRobotId()
public void setRobotId(Robot.Id robotId)
robotId - Robot.Id to usepublic void addServoJoint(Joint.Id id, ServoController.ServoId servoId)
id - Joint logical idservoId - public Map<Joint.Id,ServoController.ServoId> getIdMap()
public void addControllerContext(ServoRobot.ServoControllerContext context)
context - context to setpublic List<ServoRobot.ServoControllerContext> getControllerContexts()
Copyright © 2011-2014. All Rights Reserved.