Problems with robot steering using MAXSwerve

Hi guys

I have a directional problem with my Robot. We use REV’s MAXSwerve. He lost the robot’s direction. When turned on, it is placed in front of the Robot. From then on, always on the joystick, the front should be to the position in which we turn it on. When we turned the robot 90 degrees, either left or right, it lost its front. If we turn it 180 degrees, it returns to the front, in relation to the joystick. Could anyone give me a path on how to resolve this?

Components: REV MaxSWerve, Pigeon 2

Thanks.

Solved guys. It was a problem when picking up the robot’s position from the gyroscope. There was an incorrect function. Thank you for everything.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.