Machinekit

Machinekit

Machinekit Documentation

HAL Component — DIV2V2

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

div2v2 — Quotient of two inputs

SYNOPSIS

The output will be quotient of the two inputs, ie \fBout\fR = \fBin0\fR/\fBin1\fR. The parameter \fBdeadband\fR can be used to control how close to 0 the denominator can be before the output is clamped to 0. \fBdeadband\fR must be at least 1e-8, and must be positive.

USAGE SYNOPSIS

The output will be quotient of the two inputs, ie \fBout\fR = \fBin0\fR/\fBin1\fR. The parameter \fBdeadband\fR can be used to control how close to 0 the denominator can be before the output is clamped to 0. \fBdeadband\fR must be at least 1e-8, and must be positive.

FUNCTIONS

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

PINS

LICENCE

GPL