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

Minor fixes and improvements of the YOGA-controller+matlab-simulator model #125

Closed
nunoguedelha opened this issue May 8, 2021 · 1 comment · Fixed by #129
Closed

Minor fixes and improvements of the YOGA-controller+matlab-simulator model #125

nunoguedelha opened this issue May 8, 2021 · 1 comment · Fixed by #129
Assignees

Comments

@nunoguedelha
Copy link
Contributor

nunoguedelha commented May 8, 2021

Follow-up of:

TO-DO

  • Restore "measured joint torques" in the scopes visualizer.
  • When Config.EMERGENCY_STOP_WITH_ENCODER_SPIKES is OFF, at least a warning is triggered by joint encoder spikes.
@nunoguedelha
Copy link
Contributor Author

When Config.EMERGENCY_STOP_WITH_ENCODER_SPIKES is OFF, at least a warning is triggered by joint encoder spikes

  1. Replaced the boolean flags Config.EMERGENCY_STOP_WITH_JOINTS_LIMITS and Config.EMERGENCY_STOP_WITH_ENCODER_SPIKES by enumerations (None, Warning, EmergencyStop).

image

  1. The "Assertion" block was replaced by a "Variant Sub-system" in order to trigger either a Warning or a Stop.

image

  1. Simplified the function wbc.checkInputSpikes(...), also removing the use of persistent instruction. Instead, two inputs were used (u and u_prev), as we can se in the above diagram.

This issue was closed.
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 a pull request may close this issue.

1 participant