Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix error upon construction of linear motor objects #734

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

Open
WasabiFan wants to merge 2 commits into ev3dev-stretch
base: ev3dev-stretch
Choose a base branch
Loading
from fix-linear-actuators

Conversation

@WasabiFan
Copy link
Member

@WasabiFan WasabiFan commented Apr 14, 2020

Fixes #733

self.max_rps = float(self.max_speed / self.count_per_rot)
self.max_rpm = self.max_rps * 60
self.max_dps = self.max_rps * 360
self.max_dpm = self.max_rpm * 360
Copy link
Collaborator

@dwalton76 dwalton76 Jun 28, 2020

Choose a reason for hiding this comment

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

can we set these four to None in an else so they are always defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@dwalton76 dwalton76 dwalton76 left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Actounix L12 100 not recognized

AltStyle によって変換されたページ (->オリジナル) /