frc6377 / crescendo_2024

Other
5 stars 2 forks source link

Add 30ms ramp to all motors #190

Open caseyjbrotherton opened 8 months ago

caseyjbrotherton commented 8 months ago

a 30ms ramp will allow for less battery usage.

This is a feature in CTRE devices. Unknown how to do this with REV devices

caseyjbrotherton commented 8 months ago

https://api.ctr-electronics.com/phoenix6/release/java/com/ctre/phoenix6/configs/ClosedLoopRampsConfigs.html

https://codedocs.revrobotics.com/java/com/revrobotics/jni/cansparkmaxjni#c_SparkMax_SetClosedLoopRampRate(long,float)

azvanderpas commented 8 months ago

https://codedocs.revrobotics.com/java/com/revrobotics/cansparkbase#setClosedLoopRampRate(double)

rishik4 commented 8 months ago

In ClimberSubsystem V2 Branch