acmerobotics / road-runner-quickstart

FTC quickstart for https://github.com/acmerobotics/road-runner
BSD 3-Clause Clear License
189 stars 1.02k forks source link

OctoQuad Integration #413

Open LarryMoe11 opened 6 days ago

LarryMoe11 commented 6 days ago

FTC Added a new device to the official hardware library, the OctoQuad, which our team is currently using in i2c mode. When attempting to add compatability between the octoquad and roadrunner, we had created a custom class to act as a compatability layer which worked quite well in the drive programming, but we found in tuning that we had no way to access the motor controller.

My question is, if teams have no way to access the motor controller (due to a device not having one), is there any current way to integrate it with roadrunner, and if not currently available, can that be supported moving forward?

raypratt commented 1 day ago

We have struggled with this exact issue. Some direction would be awesome!

rbrott commented 21 hours ago

As you've seen, the tuning code only supports quadratic encoders read through a rev hub.

Is there a reason that you're using OctoQuad for your drive encoders? I understand the value when only one hub is available but otherwise I don't see the advantage.