Skip to content

Repository files navigation

robotpy-navx

This is a python implementation of the kauailabs NavX library.

Note

The RobotPy project is not associated with or endorsed by kauailabs or Studica Robotics

Documentation

NavX3 over USB

Studica NavX3 sensors use navx.Navx rather than the older navx.AHRS API. This project includes StudicaLib 2026.0.2, with USB support:

import navx

imu = navx.Navx(navx.Navx.Port.kUSB1)  # or kUSB2
yaw = imu.getYaw()

Use the Port enum for USB; passing an integer selects a CAN device ID. See the USB example for a complete robot program.

License

The original NavX software is available under the MIT license, as is this.

About

Python wrapper for NavX library

Topics

Resources

Stars

3 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages