-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RC: change default motor and base power/speed values #1657
Conversation
@@ -39,7 +39,7 @@ const direction = ref<Directions>('Forwards'); | |||
const spinType = ref<SpinTypes>('Clockwise'); | |||
const increment = ref(1000); | |||
// straight mm/s | |||
const speed = ref(200); | |||
const speed = ref(300); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
real change
|
||
const position = $ref(0); | ||
const rpm = $ref(0); | ||
const power = $ref(25); | ||
const power = $ref(50); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
real change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
|
Motor: the default power value was 25, but most motors only start moving around 30%. Changed the default value to 50%.
Base: low end bases like the new viam rover and yahboom style TT motors + wheels end up at ~35% power at the 200mm/s default value, which results in delayed, jerky, and sometimes no movement at all. Increasing that to 300mm/s will put those motors above 50%, which results in smoother operation.
All other changes are lint-related.
CC @michaellee1019 @nataliajacobowitz