-
Notifications
You must be signed in to change notification settings - Fork 18
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
Simulation fails if run with sim command from workspace other than Base workspace #203
Comments
AnalysisThe issue occurs in the
Here the function looks for the Suggested SolutionA more robust approach would be to do instead the following:
This way, the user designing a model can chose to define the WBTConfigRobot object in the model workspace. This would be cleaner than using a workaround which copies the WBTConfigRobot to the base workspace. In general, when dealing with multiple models or when running a simulation using the What do you think @diegoferigo @traversaro ? |
Nothing to object it the workaround you proposed maintains backward compatibility and solves the specific problem you described. |
I think the proposed solution make sense, but perhaps people with Simulink experience may provide some input @gabrielenava @Giulero . |
Description
If we run a simulation programmatically from a function workspace, using the command
sim
...... the simulation fails with the error message:
Platform
This can happen in simulation as when using the real robot.
Reproducibility
Steps for reproducing the behavior.
debug/issue-example
.iCubGenova04
Error Output
Additional information
The text was updated successfully, but these errors were encountered: