Skip to content

Fix timing of TJN scheduler calls in real time mode

MR Description

  • This MR fixes the timing of the Scheduler call for TJN related tasks while in real time mode.
  • Currently, calls to the Scheduler are done once every second while in real time mode versus once every 10 seconds while in virtual mode (10 seconds are equal to one minute in this case so no problem)
  • Systems like the Berry system depends on the TJN system and this scheduler call and are designed to wait for a once a minute call. This means that currently, the growth of berries is 60 times faster in real time mode.

Before testing

  • Ensure you are using the real time mode.
  • You need to nitialize berries in your test project (preferably in the state 0). You can check how it's done in the demo if you're unsure how to.
    • Initializing a pecha berry is the easiest way to test this MR

Tests to realize

  • Head to the berry event and wait for 5 minutes: the test is validated if the berry's state didn't change during this time

Sources related to this MR

Edited by Flo

Merge request reports