Skip to content

Issue with rigid_contact_forces plots in multi-phase simulation (Phase 2 curves empty and titles duplicated) #1057

Description

@rdavaill

I am encountering an issue with the visualization of rigid_contact_forces plots in a multi-phase walking simulation with two consecutive phases using different contacts. Initially, I had overlapping plots because the contact names were identical between phases. I fixed this by assigning unique names to the contacts for each phase (e.g., RHEE_contact1 and RHEE_contact2). Now, the correct number of subplots is generated, but a new issue occurs: the curves for phase 2 do not display at all (the plots remain empty), and the subplot titles from Phase 1 are being duplicated over the Phase 2 plots. Has anyone faced this before, or is there a specific way to force the plotting function to properly link Phase 2 data to its respective axes? Any help would be greatly appreciated!

Image

Debug_Graphs.py

PAT0_scaled(DoubleLimbL2RPhase1).txt

PAT0_scaled(SwingDroit).txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions