BowlerKernel
Public Member Functions | Private Attributes | List of all members
com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater Class Reference
Inheritance diagram for com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater:
Inheritance graph
[legend]
Collaboration diagram for com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater:
Collaboration graph
[legend]

Public Member Functions

 GCodeHeater (LinkConfiguration conf, String gcodeAxis, GcodeDevice device)
 
void cacheTargetValueDevice ()
 
void flushDevice (double time)
 
void flushAllDevice (double time)
 
double getCurrentPosition ()
 
String getAxis ()
 
void setValue (double value)
 

Private Attributes

GcodeDevice device
 
String axis = ""
 
double value =0
 

Additional Inherited Members

Detailed Description

Definition at line 6 of file GCodeHeater.java.

Constructor & Destructor Documentation

◆ GCodeHeater()

com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater.GCodeHeater ( LinkConfiguration  conf,
String  gcodeAxis,
GcodeDevice  device 
)

Member Function Documentation

◆ cacheTargetValueDevice()

void com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater.cacheTargetValueDevice ( )

This method is called in order to take the target value and pass it to the implementation's target value This method should not alter the position of the implementations link If the implementation target does not handle chached values, this should be chached in code.

Reimplemented from com.neuronrobotics.sdk.addons.kinematics.AbstractLink.

Definition at line 19 of file GCodeHeater.java.

◆ flushAllDevice()

void com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater.flushAllDevice ( double  time)

This method will force one link to update its position in the given time (seconds) This will also flush the host controller.

Parameters
time(seconds) for the position update to take

Reimplemented from com.neuronrobotics.sdk.addons.kinematics.AbstractLink.

Definition at line 35 of file GCodeHeater.java.

References com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater.device, and com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GcodeDevice.flush().

Here is the call graph for this function:

◆ flushDevice()

void com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater.flushDevice ( double  time)

This method will force one link to update its position in the given time (seconds).

Parameters
time(seconds) for the position update to take

Reimplemented from com.neuronrobotics.sdk.addons.kinematics.AbstractLink.

Definition at line 25 of file GCodeHeater.java.

References com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater.axis, com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater.device, com.neuronrobotics.sdk.addons.kinematics.AbstractLink.getTargetValue(), and com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GcodeDevice.runLine().

Here is the call graph for this function:

◆ getAxis()

String com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater.getAxis ( )

Return the gcode axis of this channel

Returns
the axis

Implements com.neuronrobotics.sdk.addons.kinematics.gcodebridge.IGCodeChannel.

Definition at line 46 of file GCodeHeater.java.

References com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater.axis.

◆ getCurrentPosition()

double com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater.getCurrentPosition ( )

This method should return the current position of the link This method is expected to perform a communication with the device .

Returns
the current position of the link

Reimplemented from com.neuronrobotics.sdk.addons.kinematics.AbstractLink.

Definition at line 40 of file GCodeHeater.java.

References com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater.value.

◆ setValue()

void com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater.setValue ( double  value)

Set a value of the current position

Parameters
valueof the current psition

Implements com.neuronrobotics.sdk.addons.kinematics.gcodebridge.IGCodeChannel.

Definition at line 52 of file GCodeHeater.java.

References com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater.value.

Member Data Documentation

◆ axis

String com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater.axis = ""
private

◆ device

GcodeDevice com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater.device
private

◆ value

double com.neuronrobotics.sdk.addons.kinematics.gcodebridge.GCodeHeater.value =0
private

The documentation for this class was generated from the following file: