Skip to content

Setting Source Task Frequency #342

@N8BWert

Description

@N8BWert

Hello all, longtime watcher who finally has time on their hands to play around with things. I want to throw together a small pet project that involves detecting apriltags via a v4l stream, doing a bit of processing, and sending commands to esp32 controlled robots. I have no issues with the actual v4l stream or the apriltag detection (copper provides a nice task for each of these things, thank you guys for that). I just wanted to know if there is currently a way I can specify the frequency of a task running. Specifically, I wanted to know whether I could specify the v4l stream source to only be pulled by the runtime at 30Hz (or 60Hz). In the documentation for CuSrcTask, it says to set the frequency of the pulls of a src see the runtime configuration. In the CuConfig's graph, context I see a msg, batch, and store but nothing related to frequency.

Thank you guys for the help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions