Published using Google Docs
XRP Gyro Inconsistent/Wrong Axis Directions
Updated automatically every 5 minutes

XRP Gyro Inconsistent/Wrong Axis Directions

  1. NWU axis convention used by the WPILib
  2. WPILib version 2024.3.2
  3. XRP WPILib firmware version 1.0.1
  4. XRP Vendordep Version 1.0.0
  5. MicroPython for RPI Pico W version 1.23.0

Figure 0 - XRP Axis Conventions during WPILib Code Simulation

Figure 1 - NWU WPILib Axis Convention

Figure 2 - Rotating XRP with Positive Roll in WPILib

Figure 3 - XRP MicroPython Roll, Pitch, Yaw Consistency

Figure 4 - The Right Hand Rule for Coordinate Axes