Hello, I’m trying to change PID values for an instance of PIDController I created in my code, but for some reason this is happening:
I can change the PID values in the code and the new values will show up in NetworkTables/the shuffleboard widget, but when I try to change the value in the widget or OutlineViewer the value switches back. Is there a simple way of making this editable?
Are you able to separate the pid values into independent variables and then just use SmartDashboard.putNumber/getNumber? My team has been using this method since last year and it works in both smartdashboard and shuffleboard.
Unfortunately, no. When you try setting the values directly it just switches back, although this probably won’t be an issue in test mode as SamCarlberg mentioned, although I haven’t tried it yet.