Skip to content

Studica-Robotics/NavX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

NavX Releases and Issue Tracker

Studica Hardware Manager

Used for updating and configuring all Studica electronics.

Downloads

Note

The downloads are ~220 MB to ~550 MB

Caution

This app downloads new DFU drivers that may conflict with other vendor's software and devices!

Windows 64-bit: Download

macOS: Download

Supported Devices

  • navX-micro
  • navX-mxp
  • navX2-micro
  • navX2-mxp
  • vmx
  • vmx2
  • Titan
  • Servo Manager

WPILib Vendordep

Changelog

v2025.1.1-beta-1

  • Same as 2024 rebuilt for 2025 to get teams going.

v2025.1.1.beta-2

  • Switched to a Driver / JNI setup. This should increase performance for Java teams.
  • Currently, only SPI is enabled.
  • Renamed vendordep to Studica. Results in new imports:
    import com.studica.frc.AHRS;
    #include "studica/AHRS.h"
  • Added Enum for Comm Port & Update Rate selection in constructor. New Constructors look like this:
    navx = new AHRS(AHRS.NavXComType.kMXP_SPI);
    navx = new AHRS(AHRS.NavXComType.kMXP_SPI, AHRS.NavXUpdateRate.k50Hz);
    studica::AHRS navx{studica::AHRS::NavXComType::kMXP_SPI};
    studica::AHRS navx{studica::AHRS::NavXComType::kMXP_SPI, studica::AHRS::NavXUpdateRate::k50Hz};
  • Fixed GetRate()
  • Fixed Setting update rate in Java
  • Updated some print statements
  • Applied patches introduced by robotpy 1, 2

v2025.1.1-beta-3

  • Added Serial and I2C support.
  • Fixed Simulation not exiting on Linux machines #1.

v2025.1.1-beta-4

  • Enhanced simulation in the background. This enables new ways of doing simulation:

    import edu.wpi.first.hal.SimDouble;
    import edu.wpi.first.wpilibj.simulation.SimDeviceSim;
    
    private SimDeviceSim device;
    private SimDouble angle;
    
    device = new SimDeviceSim("navX-Sensor", navx.getPort());
    angle = device.getDouble("Yaw");

    getPort() allows the user to not know the exact port #.

  • New constructor for using a custom refresh rate outside of the stable enums. #2.

    navx = new AHRS(AHRS.NavXComType.kMXP_SPI, 100);
    studica::AHRS navx{studica::AHRS::NavXComType::kMXP_SPI, 100};
  • Fixed fault with GetBoardYawAxis() #4.

VSCode Install

Starting this year (2025), Vendordeps can be installed directly from the WPILib VSCode.

  1. From VSCode select the WPILib Vendor Dependencies extension.

   

  1. Find the NavX Listing and hit Install.

   

  1. A pop-up will ask to run a build, hit yes.

   

VSCode Update

To update the vendordep, open the WPILib Vendor Dependencies find the navx_frc or Studica vendordep select the dropdown and the latest version. Hit the update button to install the update.

   

Direct JSON Link

For those that wish to use the old method of importing vendordeps, the JSON is here:

https://dev.studica.com/releases/2025/Studica-2025.1.1-beta-4.json

About

Repo for finding binaries and issue tracking

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published