public class NullDriver extends AbstractDriver
Driver.MotionControlType
PropertySheetHolder.PropertySheet
deleteAction, id, name, permutateDownAction, permutateUpAction
propertyChangeSupport
Constructor and Description |
---|
NullDriver() |
Modifier and Type | Method and Description |
---|---|
void |
actuate(Actuator actuator,
boolean on)
Actuates a machine defined object with a boolean state.
|
void |
actuate(Actuator actuator,
double value)
Actuates a machine defined object with a double value.
|
void |
actuate(Actuator actuator,
java.lang.String value)
Actuates a machine defined object with a String value.
|
java.lang.String |
actuatorRead(Actuator actuator)
Read a String value from the given Actuator.
|
void |
close() |
void |
findIssues(Solutions solutions)
Report any detected issue and proposed solution in the list.
|
Wizard |
getConfigurationWizard()
Gets a Wizard that can be used to configure this object.
|
double |
getFeedRateMmPerMinute() |
Length |
getFeedRatePerSecond() |
AxesLocation |
getHomingOffsets() |
Driver.MotionControlType |
getMotionControlType() |
AxesLocation |
getReportedLocation(long timeout)
Get the momentary real-time location from the controller.
|
LengthUnit |
getUnits() |
void |
home(Machine machine)
Perform the hardware homing operation.
|
boolean |
isMotionPending() |
boolean |
isSyncInitialLocation() |
boolean |
isUsingLetterVariables() |
void |
migrateDriver(Machine machine)
Deprecated.
|
void |
moveTo(HeadMountable hm,
Motion.MoveToCommand move)
Commands the driver to move the given ReferenceHeadMountable to the specified Location at the
given speed.
|
void |
setEnabled(boolean enabled)
Attempts to enable the Driver, turning on all outputs.
|
void |
setFeedRateMmPerMinute(double feedRateMmPerMinute) |
void |
setGlobalOffsets(Machine machine,
AxesLocation location)
Set the current physical axis positions to be reinterpreted as the specified coordinates.
|
void |
setHomingOffsets(AxesLocation homingOffsets) |
void |
waitForCompletion(HeadMountable hm,
MotionPlanner.CompletionType completionType)
Perform a coordinated wait for completion.
|
assignCameraVirtualAxes, createAxisMappingDefaults, createDefaults, getAxes, getChildPropertySheetHolders, getId, getMinimumRate, getName, getPropertySheetHolderActions, getPropertySheetHolderIcon, getPropertySheetHolderTitle, getPropertySheets, isSupportingPreMove, migrateAxis, setId, setName, toString
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
actuatorRead, getInterpolationJerkSteps, getInterpolationMaxSteps, getInterpolationMinStep, getInterpolationTimeStep, getJunctionDeviation
getSubjectIcon, getSubjectText
public void home(Machine machine) throws java.lang.Exception
Driver
java.lang.Exception
public void setGlobalOffsets(Machine machine, AxesLocation location) throws java.lang.Exception
Driver
java.lang.Exception
http://www.linuxcnc.org/docs/html/gcode/coordinates.html#_the_g92_commands
,
http://smoothieware.org/g92-cnc
,
https://github.com/synthetos/TinyG/wiki/Coordinate-Systems#offsets-to-the-offsets-g92
public void moveTo(HeadMountable hm, Motion.MoveToCommand move) throws java.lang.Exception
hm
- The HeadMountable having triggered the move. This is mostly for proprietary machine driver support
and might only be a stand-in in some motion blending scenarios.move
- The moveTo Motion to execute, including target location and limits for feedrate,
acceleration etc. as shaped by the MotionPlannerjava.lang.Exception
public boolean isMotionPending()
public void waitForCompletion(HeadMountable hm, MotionPlanner.CompletionType completionType) throws java.lang.Exception
Driver
hm
- The HeadMountable to wait for. If null, wait for all the axes on the driver. Most drivers/controllers will probably
not be able to wait for just a sub-set of axes, so the'll wait for all the axes anyway.completionType
- The kind of completion wanted.java.lang.Exception
public AxesLocation getReportedLocation(long timeout) throws java.lang.Exception
Driver
timeout
- TODOjava.lang.Exception
public void actuate(Actuator actuator, double value) throws java.lang.Exception
Driver
java.lang.Exception
public void actuate(Actuator actuator, boolean on) throws java.lang.Exception
Driver
java.lang.Exception
public void actuate(Actuator actuator, java.lang.String value) throws java.lang.Exception
Driver
java.lang.Exception
public java.lang.String actuatorRead(Actuator actuator) throws java.lang.Exception
Driver
java.lang.Exception
public void setEnabled(boolean enabled) throws java.lang.Exception
Driver
java.lang.Exception
public Wizard getConfigurationWizard()
WizardConfigurable
public double getFeedRateMmPerMinute()
public void setFeedRateMmPerMinute(double feedRateMmPerMinute)
public Length getFeedRatePerSecond()
getFeedRatePerSecond
in interface Driver
getFeedRatePerSecond
in class AbstractDriver
public void close() throws java.io.IOException
java.io.IOException
public AxesLocation getHomingOffsets()
public void setHomingOffsets(AxesLocation homingOffsets)
public LengthUnit getUnits()
@Deprecated public void migrateDriver(Machine machine) throws java.lang.Exception
AbstractDriver
migrateDriver
in class AbstractDriver
java.lang.Exception
public boolean isUsingLetterVariables()
public Driver.MotionControlType getMotionControlType()
public void findIssues(Solutions solutions)
Solutions.Subject
public boolean isSyncInitialLocation()