|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.robokind.api.motion.servos.config.ServoRobotConfig
public class ServoRobotConfig
Configurations for a ServoRobot.
| Constructor Summary | |
|---|---|
ServoRobotConfig()
Creates an empty RobotConfig. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServoRobotConfig()
| Method Detail |
|---|
public Robot.Id getRobotId()
public void setRobotId(Robot.Id robotId)
robotId - Robot.Id to use
public 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||