NASA-AMMOS / aerie

A software framework for modeling spacecraft.
https://nasa-ammos.github.io/aerie-docs/
MIT License
73 stars 19 forks source link

Fix bug where child activity types are not visible in plan UI when parent is placed with scheduling #887

Open meganmjones opened 1 year ago

meganmjones commented 1 year ago

This issue has come up while testing Europa Clipper scheduling goals (on clipper-aerie main) on a local aerie deployment. I have noticed that when running the scheduler for goals that have multiple activity types, the children of the parent types do not show up in the plan window after successful scheduling + simulation. However, the children do show up in the "Simulated Activities Table". I have manually placed the individual parents in the plan and simulated and the children do show up in that case.

Attached below is a screenshot of a goal SUDA_Solar_Noise_Cal after scheduling and simulation. You are able to see the parents in the UI, but the children of GNC_Single_Turn, SUDA_All_Characterization, and GNC_Roll do not show up. But they are shown in the table below the plan view with expected start times and durations. image

This bug can be reproduced by writing a scheduling goal that places a set of varied activity types (that have children) and running the scheduler, simulating, and assessing the UI view and simulated activities table.

Workaround

Use table view

joswig commented 11 months ago

@meganmjones do you know if this is still an issue?

joswig commented 8 months ago

@AaronPlave My recollection is that this is fixed, do you concur?

AaronPlave commented 8 months ago

@joswig not sure - I don't recall a specific UI ticket addressing this, might be worth re-testing though I might need a hand coming up with the right scheduling goal.