Flying multiple RB5s
-
I want to fly more than ONE RB5(https://docs.modalai.com/qualcommflightrb5/) using 1 single laptop running Ubuntu 22.04.
I'm using MAVSDK-python.
My understanding at the moment is that the only the port 14550 is working.
The examples given in https://github.com/mavlink/MAVSDK-Python or https://github.com/julianblanco/MAVFleetControl work for a single drone but not for more than 1.
Any help on this topic?Best wishes,
Massa -
I want to fly more than ONE RB5(https://docs.modalai.com/qualcommflightrb5/) using 1 single laptop running Ubuntu 22.04.
I'm using MAVSDK-python.
My understanding at the moment is that the only the port 14550 is working.
The examples given in https://github.com/mavlink/MAVSDK-Python or https://github.com/julianblanco/MAVFleetControl work for a single drone but not for more than 1.
Any help on this topic?Best wishes,
MassaPlease see the documentation for mavlink routing here: https://docs.modalai.com/mavlink/#mavlink-routing-on-voxl
It shows how to configure the IP and port
-
Please see the documentation for mavlink routing here: https://docs.modalai.com/mavlink/#mavlink-routing-on-voxl
It shows how to configure the IP and port
@Moderator
"Up to 16 simultaneous external UDP connections can be established with voxl-mavlink-server. These can be connections to qGroundControl, MAVROS, MAVSDK, or any custom software on the same network as VOXL. voxl-mavlink-server listens for mavlink heartbeats on the standard mavlink port 14550 and opens a new link when it receives a heartbeat from a new IP. Each link receives all mavlink data coming from the autopilot and any messages received on the UDP port will be forwarded to the autopilot."Do you have a sample code to implement the UDP connections? or a reference for implementation?
Can we change the port 14550 or add new ones? if yes, how?Best wishes,
-
@Moderator
"Up to 16 simultaneous external UDP connections can be established with voxl-mavlink-server. These can be connections to qGroundControl, MAVROS, MAVSDK, or any custom software on the same network as VOXL. voxl-mavlink-server listens for mavlink heartbeats on the standard mavlink port 14550 and opens a new link when it receives a heartbeat from a new IP. Each link receives all mavlink data coming from the autopilot and any messages received on the UDP port will be forwarded to the autopilot."Do you have a sample code to implement the UDP connections? or a reference for implementation?
Can we change the port 14550 or add new ones? if yes, how?Best wishes,
This post is deleted! -
@Moderator
"Up to 16 simultaneous external UDP connections can be established with voxl-mavlink-server. These can be connections to qGroundControl, MAVROS, MAVSDK, or any custom software on the same network as VOXL. voxl-mavlink-server listens for mavlink heartbeats on the standard mavlink port 14550 and opens a new link when it receives a heartbeat from a new IP. Each link receives all mavlink data coming from the autopilot and any messages received on the UDP port will be forwarded to the autopilot."Do you have a sample code to implement the UDP connections? or a reference for implementation?
Can we change the port 14550 or add new ones? if yes, how?Best wishes,
@tahawaru you'll need to change the code here: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-mavlink-server/-/blob/master/src/gcs_io.c?ref_type=heads#L59
if you consider making this a parameter, we are always open to merge requests!
-
@tahawaru you'll need to change the code here: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-mavlink-server/-/blob/master/src/gcs_io.c?ref_type=heads#L59
if you consider making this a parameter, we are always open to merge requests!
@Moderator
1)I want to change line 59 on the file gcs_io.c only like this
#define GCS_UDP_PORT 14552 // default in QGCthen build the voxl-mavlink-server, replace voxl-mavlink-server_1.3.2_arm64.deb by the generated .deb file to the voxl sdk.
Then flash 1 rb5 with it to test if it works.is this approach valid?
I have cloned and opened the voxl-mavlink-server (from the link you've sent me above) with Visual Studio Code.
I get the following error:
cannot open source file "c_library_v2/common/mavlink.h" (dependency of "gcs_io.h")
Could you help on this?Best wishes,
-
@Moderator
1)I want to change line 59 on the file gcs_io.c only like this
#define GCS_UDP_PORT 14552 // default in QGCthen build the voxl-mavlink-server, replace voxl-mavlink-server_1.3.2_arm64.deb by the generated .deb file to the voxl sdk.
Then flash 1 rb5 with it to test if it works.is this approach valid?
I have cloned and opened the voxl-mavlink-server (from the link you've sent me above) with Visual Studio Code.
I get the following error:
cannot open source file "c_library_v2/common/mavlink.h" (dependency of "gcs_io.h")
Could you help on this?Best wishes,
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login