Class LinearStewartPlatform
java.lang.Object
com.marginallyclever.ro3.node.Node
com.marginallyclever.ro3.node.nodes.marlinrobot.MarlinRobot
com.marginallyclever.ro3.node.nodes.marlinrobot.linearstewartplatform.LinearStewartPlatform
- All Implemented Interfaces:
SessionLayerListener
When this node is added to the scene, it creates a Linear Stewart Platform.
The Linear Stewart Platform is a 6DOF robot that can move in any direction.
When it attaches to the scene, it loads in "C:\Users\aggra\Desktop\RO3 test scenes\sp-linear\sp-linear2.ro"
which is a scene file that contains the Linear Stewart Platform.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.marginallyclever.ro3.node.nodes.marlinrobot.MarlinRobot
addMarlinListener, getIcon, isConnected, networkSessionEvent, removeMarlinListener
Methods inherited from class com.marginallyclever.ro3.node.Node
addAttachListener, addChild, addChild, addDetachListener, addReadyListener, addRenameListener, findByPath, findChild, findChild, findFirstChild, findFirstSibling, findNodeByID, findParent, findParent, fromJSON, getAbsolutePath, getChildren, getName, getParent, getRootNode, getUniqueID, hasParent, isNameUsedBySibling, removeAttachListener, removeChild, removeDetachListener, removeReadyListener, removeRenameListener, setName, toJSON, witnessProtection
-
Constructor Details
-
LinearStewartPlatform
public LinearStewartPlatform() -
LinearStewartPlatform
-
-
Method Details
-
getComponents
Build a Swing Component that represents this Node.- Overrides:
getComponents
in classMarlinRobot
- Parameters:
list
- the list to add components to.
-
update
public void update(double dt) Description copied from class:Node
Called every frame. -
sendGCode
Send a single gcode command to the robot. It will reply by firing a
MarlinListener.messageFromMarlin(java.lang.String)
event with the String response.- Overrides:
sendGCode
in classMarlinRobot
- Parameters:
gcode
- GCode command
-