![]() |
Qwiic_OTOS_Py
Python for SFE Qwiic OTOS
|
Python module for the SparkFun Optical Tracking Odometry Sensor - PAA5160E1 (Qwiic)
This python package is a port of the existing SparkFun Optical Tracking Odometry Sensor Arduino Library.
This package can be used in conjunction with the overall SparkFun qwiic Python Package. New to qwiic? Take a look at the entire SparkFun Qwiic ecosystem.
Your system might need modification. See this note.
The qwiic otos Python package current supports the following platforms:
This driver package depends on the qwiic I2C driver: Qwiic_I2C_Py
The SparkFun qwiic otos module documentation is hosted at ReadTheDocs
This repository is hosted on PyPi as the sparkfun-qwiic-otos package. On systems that support PyPi installation via pip, this library is installed using the following commands
For all users (note: the user must have sudo privileges):
For the current user:
To install, make sure the setuptools package is installed on the system.
Direct installation at the command line:
To build a package for use with pip:
A package file is built and placed in a subdirectory called dist. This package file can be installed using pip.
For this sensor to work on the Raspberry Pi, I2C clock stretching must be enabled.
To do this:
See the examples directory for more detailed use examples.