whole-body-controllers icon indicating copy to clipboard operation
whole-body-controllers copied to clipboard

Improve the Simulink-balancing-simulator

Open gabrielenava opened this issue 4 years ago • 4 comments

The new 2.5 release of WBC now also officially supports an internal simulator for balancing: https://github.com/robotology/whole-body-controllers/blob/master/controllers/simulink-balancing-simulator/README.md.

The simulator can be improved as follows:

  • the control subsystem and the dynamics integration subsystem should be clearly separated. In this way the simulator may be easily adapted to other Simulink controllers;

  • the blocks contained in the dynamics integration subsystem may be further separated in smaller subsystems and may become a small Simulink blocks library (to be added to https://github.com/robotology/whole-body-controllers/tree/master/library/simulink-library). I like this solution because I can replace these blocks if one day we decide to add to the WBToolbox library dedicated blocks for dynamics integration;

  • at the moment we don't have a model of the environment: we assume the robot has 1 (or more than 1) link bolted to the ground. It would be nice to have a simple contact model to simulate the interaction between the foot and the environment. I don't need something really complex, so I ca search for solutions in the literature and try to implement them (cc @GiulioRomualdi);

  • at the moment Gazebo is required to visualize the robot movements. I would like to have an internal visualizer that substitute Gazebo (cc @fjandrad).

gabrielenava avatar Mar 29 '20 15:03 gabrielenava

@gabrielenava you can start experimenting with the new matlab visualization. Some documentation can be found here

fjandrad avatar Apr 01 '20 15:04 fjandrad

we could try to understand how to substitute this internal WBC simulator with matlab-whole-body-simulator functionalities.

cc @nunoguedelha

gabrielenava avatar Apr 19 '21 14:04 gabrielenava

Hi @gabrielenava , as we discussed T2T some time ago, we could consider #121 as a first step in the strategy you defined here. Considering the bullet points you defined, I would say that #121 covers the bullets 1, 3 and 4.

The point 2 would be the next step. I suggest we make this issue #95 an Epic and include #121 in it for starting. What do you think?

nunoguedelha avatar May 06 '21 17:05 nunoguedelha

The point 2 would be the next step. I suggest we make this issue #95 an Epic and include #121 in it for starting. What do you think?

Agreed, the title is already very generic and it can be easily include several issues.

gabrielenava avatar May 07 '21 08:05 gabrielenava

only one issue was left in this epic, and it in completed. Closing the epic!

gabrielenava avatar Feb 02 '24 17:02 gabrielenava