All Implemented Interfaces:
NodeDetachListener, MarlinListener, ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible

public class EditorPanel extends App implements MarlinListener, PropertyChangeListener, NodeDetachListener

EditorPanel is a panel for editing GCode that can be sent to a MarlinRobotArm.

It can also listen to a MarlinRobotArm, which generates GCode and status messages.

Nodes build up to form a robot arm in 3d like Pose, Mesh, DH parameter, HingeJoint, Motor, and finally connect it all to a MarlinRobotArm node (1) that translates arm state to gcode and back. With the node selected more info is available in the details tab (2). I can see the last output from the arm in the output field because it is registered to listen for MarlinListener events. The Editor can be assigned an existing MarlinRobotArm (3). While it has one, all MarlinEvents will be written to the status bar (8).

If the get toggle is on, the next event from MarlinRobotArm will be written out at the caret position (7).

If the lock toggle is on then get will stay on until further notice.

If the send button is pressed, the current line of gcode is transmitted to the robot. Any response from the robot may be written to file, depending on the state of the get toggle.

There is room for more editing tools here like save, load, copy, cut, paste, undo, redo, etc.

See Also: