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

Independent time conductor not working with plans inside time strip #5627

Closed
shefalijoshi opened this issue Aug 8, 2022 · 3 comments · Fixed by #5671
Closed

Independent time conductor not working with plans inside time strip #5627

shefalijoshi opened this issue Aug 8, 2022 · 3 comments · Fixed by #5671

Comments

@shefalijoshi
Copy link
Contributor

Create a time strip
Drag a Plan into a Time strip
Enable the independent time conductor and change the offsets

Expected: The plan bounds should also change and display activities accordingly.
Actual: No change in the plan.

@ozyx
Copy link
Contributor

ozyx commented Sep 12, 2022

Testing Instructions

  1. Create a time strip
  2. Drag a new or existing Plan into the time strip
  3. Activate the independent time conductor in fixed time mode with offsets that show the plan activities
  4. Turn the independent time conductor on/off, Verify that plan activities and timeline shift accordingly
  5. Switch the independent time conductor to realtime mode, verify that activities and timeline shift accordingly
  6. Create another time strip, drag the same Plan into the time strip
  7. Activate the independent time conductor in fixed and realtime time mode with different offsets
  8. Switch between the two time strips and verify that each can maintain its own persistent independent time conductor settings

@ozyx
Copy link
Contributor

ozyx commented Sep 12, 2022

Here's an example Plan with multiple activities, starting at 09/12/22 13:23:00 and ending at 09/23/22 11:08:00.

{
  "TEST_GROUP": [
    {
      "name": "Past event 1",
      "start": 1663014210606,
      "end": 1663037599606,
      "type": "TEST-GROUP",
      "color": "orange",
      "textColor": "white"
    },
    {
      "name": "Past event 2",
      "start": 1663100610606,
      "end": 1663122962606,
      "type": "TEST-GROUP",
      "color": "orange",
      "textColor": "white"
    },
    {
      "name": "Past event 3",
      "start": 1663187010606,
      "end": 1663197783606,
      "type": "TEST-GROUP",
      "color": "orange",
      "textColor": "white"
    },
    {
      "name": "Past event 4",
      "start": 1663273410606,
      "end": 1663317910606,
      "type": "TEST-GROUP",
      "color": "orange",
      "textColor": "white"
    },
    {
      "name": "Past event 5",
      "start": 1663359810606,
      "end": 1663375331606,
      "type": "TEST-GROUP",
      "color": "orange",
      "textColor": "white"
    },
    {
      "name": "Past event 6",
      "start": 1663446210606,
      "end": 1663451974606,
      "type": "TEST-GROUP",
      "color": "orange",
      "textColor": "white"
    },
    {
      "name": "Past event 7",
      "start": 1663532610606,
      "end": 1663556591606,
      "type": "TEST-GROUP",
      "color": "orange",
      "textColor": "white"
    },
    {
      "name": "Past event 8 with a really long name",
      "start": 1663619010606,
      "end": 1663633507606,
      "type": "TEST-GROUP",
      "color": "orange",
      "textColor": "white"
    },
    {
      "name": "Past event 9",
      "start": 1663705410606,
      "end": 1663723304606,
      "type": "TEST-GROUP",
      "color": "orange",
      "textColor": "white"
    },
    {
      "name": "Past event 10 with a really long name",
      "start": 1663791810606,
      "end": 1663813229606,
      "type": "TEST-GROUP",
      "color": "orange",
      "textColor": "white"
    },
    {
      "name": "Past event 11 with a really long name",
      "start": 1663878210606,
      "end": 1663913722606,
      "type": "TEST-GROUP",
      "color": "orange",
      "textColor": "white"
    },
    {
      "name": "Close event 1",
      "start": 1663210226606,
      "end": 1663214560606,
      "type": "TEST-GROUP",
      "color": "green",
      "textColor": "white"
    },
    {
      "name": "Close event 2",
      "start": 1663296626606,
      "end": 1663314280606,
      "type": "TEST-GROUP",
      "color": "green",
      "textColor": "white"
    },
    {
      "name": "Close event 3",
      "start": 1663383026606,
      "end": 1663418610606,
      "type": "TEST-GROUP",
      "color": "green",
      "textColor": "white"
    },
    {
      "name": "Close event 4",
      "start": 1663469426606,
      "end": 1663485569606,
      "type": "TEST-GROUP",
      "color": "green",
      "textColor": "white"
    },
    {
      "name": "Close event 5",
      "start": 1663555826606,
      "end": 1663594130606,
      "type": "TEST-GROUP",
      "color": "green",
      "textColor": "white"
    },
    {
      "name": "Close event 6",
      "start": 1663642226606,
      "end": 1663660417606,
      "type": "TEST-GROUP",
      "color": "green",
      "textColor": "white"
    },
    {
      "name": "Close event 7",
      "start": 1663728626606,
      "end": 1663744303606,
      "type": "TEST-GROUP",
      "color": "green",
      "textColor": "white"
    },
    {
      "name": "Close event 8",
      "start": 1663815026606,
      "end": 1663846858606,
      "type": "TEST-GROUP",
      "color": "green",
      "textColor": "white"
    },
    {
      "name": "Close event 9",
      "start": 1663901426606,
      "end": 1663902217606,
      "type": "TEST-GROUP",
      "color": "green",
      "textColor": "white"
    },
    {
      "name": "Close event 10",
      "start": 1663987826606,
      "end": 1664001949606,
      "type": "TEST-GROUP",
      "color": "green",
      "textColor": "white"
    },
    {
      "name": "Close event 11",
      "start": 1664074226606,
      "end": 1664110259606,
      "type": "TEST-GROUP",
      "color": "green",
      "textColor": "white"
    },
    {
      "name": "Future event 1",
      "start": 1663446210606,
      "end": 1663446338606,
      "type": "TEST-GROUP",
      "color": "blue",
      "textColor": "white"
    },
    {
      "name": "Future event 2",
      "start": 1663532610606,
      "end": 1663548269606,
      "type": "TEST-GROUP",
      "color": "blue",
      "textColor": "white"
    },
    {
      "name": "Future event 3",
      "start": 1663619010606,
      "end": 1663644864606,
      "type": "TEST-GROUP",
      "color": "blue",
      "textColor": "white"
    },
    {
      "name": "Future event 4",
      "start": 1663705410606,
      "end": 1663710002606,
      "type": "TEST-GROUP",
      "color": "blue",
      "textColor": "white"
    },
    {
      "name": "Future event 5 with a really long name",
      "start": 1663791810606,
      "end": 1663813026606,
      "type": "TEST-GROUP",
      "color": "blue",
      "textColor": "white"
    },
    {
      "name": "Future event 6 with a really long name",
      "start": 1663878210606,
      "end": 1663881214606,
      "type": "TEST-GROUP",
      "color": "blue",
      "textColor": "white"
    },
    {
      "name": "Future event 7",
      "start": 1663964610606,
      "end": 1663999690606,
      "type": "TEST-GROUP",
      "color": "blue",
      "textColor": "white"
    }
  ]
}

@akhenry
Copy link
Contributor

akhenry commented Sep 12, 2022

Verified fixed.

  • Note that I was unable to verify this using the provided test plan because for whatever reason Open MCT wouldn't load that plan. Instead I used a real mission plan and set the fixed bounds to those of the notional 2023 mission.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants