Skip to content

How can I get connection strings when connect multi vehicles by Radio? #1207

Open
@Residualstress

Description

@Residualstress

I have problem in building the connection to multi vehicles as I'm involved in a swarm project. Here is my situation:

  1. I have 3 holybro P900 radio and set them into Mesh mode with one is master and two are slaves.
    2)The master radio connect with my laptop by USB when two slave radios connect with two Pixhawk by telem1 port

What I want is to connect to this two vehicles by Drone-kit python package and do some actions in my own python scripts. And actually, I know how to use "connect()" function in Drone-kit package such as vehicle = connect('udp:127.0.0.1:14550', baud=57600, wait_ready=True).

For my situation, how can I get the connection strings? I want to connect this two Pixhawk by vehicle_1= connect(xxxx) and vehicle_2 = connect(xxx). Should I use UDP port as well? And how can I get the UDP address of this two vehicles ?

Looking forward to your reply!

Weijie

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