Skip to content

Change home position (RTL position) #369

Open
@schpatz

Description

@schpatz

I want to change the home position (RTL position) so that it is different from the starting position. I thought about just adding it as the last mission item and then execute the action.land() command but that would have some complications with other commands that still use the RTL position.
Next I looked at the TelemetryServer Class and tried this:

telserver = telemetry_server.TelemetryServer(async_plugin_manager.AsyncPluginManager())
await telserver.publish_home(home=telemetry_server.Position(lat_home, lon_home, 35,0))

But then i get this error (probably because I'm not initializing it correctly):
AttributeError: 'AsyncPluginManager' object has no attribute '_channel'

(Maybe as some insight I am thinking that there is a pipeline between the TelemetryServer and the Telemetry class where it reads from the pipeline the Server publishes to)
Would be really greatful for some insight or a better way to achieve this :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions