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

Create a "Visualizers" library and add the existing "robot visualizer" block #39

Closed
nunoguedelha opened this issue Apr 26, 2021 · 3 comments · Fixed by #41
Closed

Create a "Visualizers" library and add the existing "robot visualizer" block #39

nunoguedelha opened this issue Apr 26, 2021 · 3 comments · Fixed by #41
Assignees

Comments

@nunoguedelha
Copy link
Collaborator

nunoguedelha commented Apr 26, 2021

In order to use the simulator in other frameworks, typically within the controller models in whole-body-controllers (refer to whole-body-controllers#121, we need to convert the robot visualizer into a library.

@nunoguedelha
Copy link
Collaborator Author

We create a main library mwbs_lib.slx to which we link other sub-libraries robotDynamicsWithContacts_lib.slx and visualizers_lib.slx (newly created), which wil be visible in the library broaser as follows:

image

RobotDynWithContacts Robot Visualizer
image image

The RobotVisualizer block is the new one we create here from the pre-existing block test_matlab_system_2020b/Robot visualizer/robotVisualizer

image

For creating a tree of sub-libraries in a library, refer to https://www.mathworks.com/help/simulink/ug/adding-libraries-to-the-library-browser.html.

@nunoguedelha
Copy link
Collaborator Author

Implemented by #41 .

@nunoguedelha
Copy link
Collaborator Author

CC @traversaro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant