Skip to content
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

Use OC_MOTORS instead of OC_MOTORS_PWM on V_1 models #55

Merged
merged 2 commits into from
Dec 4, 2019
Merged

Use OC_MOTORS instead of OC_MOTORS_PWM on V_1 models #55

merged 2 commits into from
Dec 4, 2019

Conversation

StefanKrupop
Copy link
Contributor

SCI for older Roombas (V_1) did not include OC_MOTORS_PWM, but only OC_MOTORS. Use that instead of OC_MOTORS_PWM for V_1, interpeting values != 0 as "on".

…C_MOTORS. Use that instead of OC_MOTORS_PWM for V_1, interpeting values != 0 as "on"
Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

One minor comment.

src/create.cpp Outdated Show resolved Hide resolved
Co-Authored-By: Jacob Perron <jacob@openrobotics.org>
Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cheers!

@jacobperron jacobperron merged commit ccf6d0c into AutonomyLab:master Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants