Skip to main content

utils.io

sense

def sense(p)

Simple outlier rejection filter for all analog inputs.

Axis Objects

class Axis()

Used for mapping joysticks.

__init__

def __init__(min, dz_neg, dz_pos, max)

Min, -deadzone, +deadzone, max.

map

def map(v)

Returns value mapped to range [-1, +1]