Add a conversion factor for the climber encoder. This converts from motor rotations to actual climber travel.
I recommend adding the following to the config
- Gear reduction from motor to climber input (e.g. 20:1 in planetaries would be 20)
- Climber distance traveled per input rotation(can be in inches or meters, we just need to be consistent)
Then get those from the config in Constants.ClimberConstants and calculate conversion factor
- Distance per input / reduction
Add a conversion factor for the climber encoder. This converts from motor rotations to actual climber travel.
I recommend adding the following to the config
Then get those from the config in Constants.ClimberConstants and calculate conversion factor