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

PeriodicTrigger isn't stopped #379

Closed
bardram opened this issue Apr 18, 2024 · 0 comments
Closed

PeriodicTrigger isn't stopped #379

bardram opened this issue Apr 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@bardram
Copy link
Contributor

bardram commented Apr 18, 2024

In the example app, the PeriodicTrigger

    protocol.addTaskControl(
      PeriodicTrigger(period: const Duration(seconds: 10)),
      BackgroundTask(
        measures: [
          Measure(type: SensorSamplingPackage.ACCELERATION)
            ..overrideSamplingConfiguration = IntervalSamplingConfiguration(
                interval: const Duration(milliseconds: 500)),
          Measure(type: SensorSamplingPackage.ROTATION),
        ],
        duration: const IsoDuration(seconds: 1),
      ),
      phone,
    );

is not stopped when stopping the study with the STOP button in the example app. Keeps running and sampling acc + gyro data.

@bardram bardram self-assigned this Apr 18, 2024
@bardram bardram added the bug Something isn't working label Apr 18, 2024
bardram added a commit that referenced this issue Apr 18, 2024
@bardram bardram mentioned this issue Apr 18, 2024
@bardram bardram closed this as completed Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant