magnetometer module

class magnetometer.Magnetometer

Bases: object

magneto_calibrate()

Calibrates magnetometer.

Perform magnetometer calibration here.

magneto_x()

Gets the sensed x magneto value.

Returns: The latest signed x magneto value

magneto_y()

Gets the sensed y magneto value.

Returns: The latest signed y magneto value

magneto_z()

Gets the sensed z magneto value.

Returns: The latest signed z magneto value