Closed Waterloo-Robotics-Team closed 1 year ago
You need to call setLocalizer()
with an instance of the tracking wheel localizer if you're using dead wheels (see this section and other information on that page).
Did this, problem remains.
Apparently forgot to reverse encoder direction, works now.
We are configuring the first steps of the quickstart, following the instructions on the website. We got to the LocalizationTest part of the tuning dead wheels, and when we hit play and push the robot straight backwards, telemetry reads random values. This has gone from going between -8 and -18 randomly and then randomly shooting up to -47 or going to numbers randomly between 8 and 10 and then going to 24. My config files are here (Roadrunner Config.zip)
If downloading a zip file is too much of a risk for you, here they are here:
DriveConstants.java
SampleMecanumDrive.java
StandardTrackingWheelLocalizer.java