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

Add speed tracking to Odrive #84

Merged
merged 7 commits into from
Nov 3, 2024
Merged

Add speed tracking to Odrive #84

merged 7 commits into from
Nov 3, 2024

Conversation

Johannes-Thiel
Copy link
Collaborator

A user wants to track the speed of the rotation of the Motor #79. To do this the Encoder estimate register is read. When the this->properties["speed_check"] = std::make_shared<BooleanVariable>(); propertie is set to true, the speed will be checked on every loop.

@Johannes-Thiel
Copy link
Collaborator Author

I tested on the testboard. The speed check is working as expected. But sofar the check if it is tuned off is ot working.

@Johannes-Thiel
Copy link
Collaborator Author

The function was already implementet. I added the documentation to the docs

@Johannes-Thiel Johannes-Thiel added this to the 0.6.0 milestone Oct 31, 2024
@Johannes-Thiel Johannes-Thiel added the documentation Improvements or additions to documentation label Oct 31, 2024
@Johannes-Thiel Johannes-Thiel marked this pull request as ready for review October 31, 2024 11:03
@@ -170,4 +170,4 @@ double ODriveMotor::get_speed() {

void ODriveMotor::speed(const double speed, const double acceleration) {
this->speed(static_cast<float>(speed));
}
Copy link
Contributor

@JensOgorek JensOgorek Oct 31, 2024

Choose a reason for hiding this comment

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

It seems like the empty line slipped here

@falkoschindler falkoschindler merged commit e1a7187 into main Nov 3, 2024
@falkoschindler falkoschindler deleted the Odrive-check-rpm branch November 3, 2024 14:36
@falkoschindler falkoschindler linked an issue Nov 4, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

monitor Odrive velocity
3 participants