Machinekit

Machinekit

Machinekit Documentation

HAL Component — INVERTV2

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

invertv2 — Compute the inverse of the input signal

SYNOPSIS

The output will be the mathematical inverse of the input, ie \fBout\fR = 1/\fBin\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 the mathematical inverse of the input, ie \fBout\fR = 1/\fBin\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

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

PINS

LICENCE

GPL