Your Gyro is fully seated and connected to the rio; and you reset the gyro to 0 on robot init
Your code seems to be fine. Can you show a video of what the robot does when you run the path? That may give more hints to if this is a programming or hardware issue.
As @nevadexehs pointed out, you should take a look at the Coordinate System documentation. Looking at your code, there are several indications that you’re not using the coordinate system properly. In short, PathPlanner is telling you to drive forward along the X axis, but your code drives sideways along the Y axis.
@VZamora if this is the case, ive designed the robot in such a way that the nav-x should be facing the right way. I dont know whether it is or not on the test chassis.