Skip to content

Tracking Dish Controller #17

@tedtasman

Description

@tedtasman

We need to create a control script that will take in MAVLink telemetry and output UART commands to aim the 2 axis dish.

Telemetry will be forwarded from Mission Planner, which can be enabled by pressing ctrl+F to open the advanced menu, clicking "MAVLink" and entering an interface and port.

We want to listen for GLOBAL_POSITION_INT messages to calculate the offset from the ground station to the drone.

I think you will be able to read these by creating a Controller object (from MAVez python package we created that can be installed via pip install mavez) and setting up an async loop to receive_gps

There is a Coordinate class inside of MAVez that provides a bearing_to method

Check out the MAVez source code for clarification on how these work.

The output should be a stream of 2 floats, i.e. 123.4 -56.7 sent over UART. The first float should represent the compass bearing (azimuth) and the second float should represent the elevation angle (altitude).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions