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

[tutorials] Debugging a dynamical system #17249

Open
hongkai-dai opened this issue May 23, 2022 · 1 comment
Open

[tutorials] Debugging a dynamical system #17249

hongkai-dai opened this issue May 23, 2022 · 1 comment
Assignees
Labels
component: tutorials Drake's tutorials, examples, and website content priority: low type: documentation

Comments

@hongkai-dai
Copy link
Contributor

hongkai-dai commented May 23, 2022

Currently we have a tutorial https://github.com/RobotLocomotion/drake/blob/master/tutorials/dynamical_systems.ipynb on the concept of dynamical systems. It would be good to add a tutorial to talk about practical guides on debugging dynamical systems (similar to in mathematical optimization we have tutorials like this on the concept, and a debugging tutorial )

I would imagine the debugging tutorial can contain these tips

  1. Generating the visual connection diagram in graphviz file, that shows the overall diagram with each input/output port and connections. This looks similar to the simulink block.
  2. Using Simulator.monitor or VectorLogSink to inspect the simulation data.
  3. Choosing the right simulator. For example in continuous-time simulation, if the simulation step is very small, then it indicates the system being stiff. The user should look into why the system has stiff dynamics, and possibly switch to implicit integrator and discrete-time system.

cc @sherm1 @jwnimmer-tri

@hongkai-dai hongkai-dai added the component: tutorials Drake's tutorials, examples, and website content label May 23, 2022
@sherm1
Copy link
Member

sherm1 commented May 25, 2022

Assigning to @jwnimmer-tri for disposition as component lead.

@jwnimmer-tri jwnimmer-tri changed the title Add a tutorial on debugging Dynamical system [tutorials] Debugging a dynamical system Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tutorials Drake's tutorials, examples, and website content priority: low type: documentation
Projects
None yet
Development

No branches or pull requests

3 participants