1.4: Cherry-pick 3254 [Enable QGC Server link by default]#3509
Open
patrickelectric wants to merge 1 commit intobluerobotics:1.4from
Open
1.4: Cherry-pick 3254 [Enable QGC Server link by default]#3509patrickelectric wants to merge 1 commit intobluerobotics:1.4from
patrickelectric wants to merge 1 commit intobluerobotics:1.4from
Conversation
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Reviewer's guide (collapsed on small PRs)Reviewer's GuideCherry-picks commit 3254 to enable the GCS server endpoint by default by setting its 'enabled' flag to True, ensuring QGC can connect on 0.0.0.0:14550 even when the vehicle’s IP changes via DHCP. Class diagram for updated Endpoint initialization in AutopilotManagerclassDiagram
class AutopilotManager {
+__init__()
}
class Endpoint {
+name
+place
+argument
+persistent
+enabled
}
AutopilotManager --> Endpoint : creates
AutopilotManager : Endpoint(name="GCS Server Link", place="0.0.0.0", argument=14550, persistent=True, enabled=True)
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Member
|
have you checked that this doesnt result in duplicated data being received on qgc when the user hardcodes the 192.168.2.1 IP ? |
joaoantoniocardoso
requested changes
Sep 1, 2025
Member
There was a problem hiding this comment.
This indeed makes QGC connection doubled:
- First, clean all QGC stuff:
\rm -rf \
~/.cache/QGroundControl.org \
~/.cache/QGCMapCache300 \
~/Documents/QGroundControl \
~/.config/QGroundControl.org- Then, use the following setup:
- Vehicle with static IP (192.168.2.2) + DHCP Server (192.168.2.x)
- Topside computer as DHCP client (leased as 192.168.2.184)
- Then, when opening QGC:
- QGC connects immediately
- QGC finds and shows the video stream + video controls
- QGC reports Heartbeat and other messages at doubled rate (heartbeat at 2Hz, etc)
- Text messages are all doubled:
- If I remove one of the IPs, the messages are then at normal rate (not doubled)
Member
Author
Member
It seems so :( edit: created this issue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

From: #3254
The issue: When the backup DHCP server quicks in the client computer can switche from a static IP to a DHCP client (Tested in ubuntu 24.04), the IP changes from 192.168.2.1 to 192.168.2.*, and QGC fails to connect.
Another problem is that the GCS server endpoint 0.0.0.0:14550 on BlueOS is also not enabled, because of this, QGC doesn’t connect even if you manually set the vehicle’s IP and port.
This PR enables the GCS Server port to at least allow users to manually connect to the vehicle.
Summary by Sourcery
Bug Fixes: