Using initSendable to tune spinners

I’ve had no problem with this in the simulator
but on the actual robot I can use initSendable just fine to get data on Shuffleboard,
but I can’t seem to get the numbers to send data to the code base for tuning purposes.

Do I need to do any of that setActuator code for the real robot mentioned in docs.

I actually don’t understand what you’re trying to do, or what isn’t working.

I believe you do need to do this - it is also possible that the bidirectional feature simply doesn’t work outside of test mode.

Basically I have shuffleboard set up with a bunch of number sliders.

The initSendable block should intercept these values and assign them to items in code as it’s been written

This works just fine in the simulator but on the real robot it doesn’t

There is documentation indicating that setActuator should be set to true, but I’m not sure where that appies to.

Okay. I can move the sliders, but in Shuffleboard it seems a bit jerky. I had a hunch that was the case.

Shuffleboard is stable abandonware; I’d use a modern replacement (there are several).

Are the ones you’re suggesting through WPILIB

Which do you prefer.

No, they’re not through WPILib, that’s why they’re unofficial. If you search on CD or google for “FRC shuffleboard replacement” you can find a few. I don’t know enough to recommend one over another.

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