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 a warning message when policy is not set to active during configuration #181

Merged
merged 2 commits into from
Jun 3, 2022

Conversation

artificialsimon
Copy link
Contributor

This PR adds a warning message when DoFs are different from the policy output size.

During configure() if these values are different, the policy is not set to active but there is no message and this goes unnoticed by the user as the robot still moves (I'm not sure where these motor commands come from).

There is an assert on calculate() with the same condition, but it is not triggered if the policy was not flagged as active during configure().

Add warning when DoFs are different from policy output size.
Warning message when policy is not set to active during configuration
@costashatz costashatz merged commit 87f9ac3 into NOSALRO:master Jun 3, 2022
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