Skip to content

Implement FreeRTOS Message Queue for Decoupled Telemetry Task (#11.1) #17

Description

@yufurkan

Objective

As a sub-task of Issue #11, decouple the telemetry transmission from the high-speed 250Hz App_Sensor_Task to prevent potential execution delays and adhere to industry-standard FC architectures.

  • Create a dedicated App_Telemetry_Task running at 50Hz (20ms loop time).
  • Implement an osMessageQueue to act as a thread-safe thread-safe conduit between the Sensor Task and Telemetry Task.
  • Pass ActuatorState_t data through the queue to eliminate Race Conditions and Data Tearing.
  • Trigger TelemetryManager::send() exclusively via DMA within this new isolated task.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions