6391-Ursuline-Bearbotics / BearSwerve

Swerve control, simulation, and trajectory generation / following. Everything you need for swerve.
Other
13 stars 4 forks source link

Support for Pigeon 2.0 #2

Open albertohdzr opened 2 years ago

albertohdzr commented 2 years ago

Hi, could you add support for the Pigeon 2.0?

mjbergman92 commented 2 years ago

Is the pigeon 2.0 not supported? I haven't testing it on the robot yet, but I have been simulating and have had issues... but this is likely not my issue. The code simply creates a Gryoscope object with a specified CAN Id in the BearSwerveHelper class from their main code. Just modify it to your needs.