Machinekit

Machinekit

Machinekit Documentation

HAL Component — DEADZONE

INSTANTIABLE COMPONENTS — General

All instantiable components can be loaded in two manners

Using loadrt with or without count= | names= parameters as per legacy components
Using newinst, which names the instance and allows further parameters and arguments
primarily pincount= which can set the number of pins created for that instance (where applicable)

NAME

deadzone — Return the center if within the threshold

SYNOPSIS

deadzone

USAGE SYNOPSIS

loadrt deadzone
OR
newinst deadzone <newinstname> [ pincount=N | iprefix=prefix ] [instanceparamX=X | argX=X ]

( args in [ ] denote possible args and parameters, may not be used in all components )

FUNCTIONS

deadzone.N.funct ( OR <newinstname>.funct (requires a floating-point thread) )

Update \fBout\fR based on \fBin\fR and the parameters.

PINS

deadzone.N.center float io (default: 0.0) ( OR <newinstname>.center float io (default: 0.0) ) - The center of the dead zone

deadzone.N.threshhold float io (default: 1.0) ( OR <newinstname>.threshhold float io (default: 1.0) ) - The dead zone is \fBcenter\fR \(+- (\fBthreshhold\fR/2)

deadzone.N.in float in ( OR <newinstname>.in float in )

deadzone.N.out float out ( OR <newinstname>.out float out )

LICENCE

GPL