dune icon indicating copy to clipboard operation
dune copied to clipboard

Plan/Engine: Set plan_id before dispatching pcs when starting new plan

Open oysstu opened this issue 5 years ago • 1 comments

The call to changeMode dispatches a PlanControlState message with state initializing, but does not set the new plan_id. This sets the plan_id before the call to changeMode when starting a new plan to avoid dispatching a PlanControlState message with the name of the previous plan and initializing. See the attached Neptus screenshot where the plan test2 is started during the execution of test1.

DUNE_PlanEngine_pcs

oysstu avatar Oct 28 '19 09:10 oysstu

Added another commit that also sets the plan_eta and plan_progress variables to -1.

oysstu avatar Oct 28 '19 09:10 oysstu