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

public class LinearStewartPlatform extends MarlinRobot
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 Details

    • LinearStewartPlatform

      public LinearStewartPlatform()
    • LinearStewartPlatform

      public LinearStewartPlatform(String name)
  • Method Details

    • getComponents

      public void getComponents(List<JPanel> list)
      Build a Swing Component that represents this Node.
      Overrides:
      getComponents in class MarlinRobot
      Parameters:
      list - the list to add components to.
    • update

      public void update(double dt)
      Description copied from class: Node
      Called every frame.
      Overrides:
      update in class Node
      Parameters:
      dt - the time since the last frame.
    • sendGCode

      public void sendGCode(String gcode)

      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 class MarlinRobot
      Parameters:
      gcode - GCode command