Skip to content

experimentation with debugdump#383

Merged
Jondolf merged 5 commits intoavianphysics:mainfrom
ThierryBerger:debugdump
Sep 20, 2024
Merged

experimentation with debugdump#383
Jondolf merged 5 commits intoavianphysics:mainfrom
ThierryBerger:debugdump

Conversation

@ThierryBerger
Copy link
Contributor

@ThierryBerger ThierryBerger commented Jun 24, 2024

Objective

Solution

  • Add an example to generate those

Run with: cargo run --example debugdump_3d > avian.dot && dot -Tsvg avian.dot > avian.svg

Output for 3d

PhysicsSchedule

dump_physics

SubstepSchedule

dump_substeps

FixedPostUpdate

dump_fixed_update

Update

dump_update


Changelog

  • Add an example to generate systems ordering graphs.

app.add_plugins((PhysicsPlugins::default(), PhysicsDebugPlugin::default()));
// Schedules of interest:
// - PhysicsSchedule
// - SubstepSchedule
Copy link
Contributor Author

@ThierryBerger ThierryBerger Sep 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As of f161a74 ; Attempting to make a graph for SubstepSchedule results in an error.

@Jondolf Jondolf added C-Examples Improvements or additions to examples A-Scheduling Relates to scheduling or system sets labels Sep 20, 2024
Copy link
Member

@Jondolf Jondolf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This is really useful. The SubstepSchedule issue is unfortunate, but not a blocker here imo.

@Jondolf Jondolf enabled auto-merge (squash) September 20, 2024 10:35
@Jondolf Jondolf merged commit 7d79ca1 into avianphysics:main Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Scheduling Relates to scheduling or system sets C-Examples Improvements or additions to examples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants