-
Notifications
You must be signed in to change notification settings - Fork 981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SensorQoS necessary for gp_origin? #1911
Comments
Well, i'm unsure what's best QoS here. Let's try that PR. |
Sorry for linking to the PR without more context, I was a bit short on time. The PR updates the guided target subscription side. I believe the author @kribe48 can best explain why, but it's a necessary update for the subscription callback to fire (by having the same QoS as the publisher). By linking the PR I hoped he maybe could chime in on the discussion. I'm raising the question of possibly reviewing the QoS publisher side on the I can atleast list one pro with having a durability setting since it allows late-joining of subscribers that need this information. The situation right now requires the subscriber to be ready before |
I updated the subscriber QoS since it did not subscribe to data with the current setting. I am not sure about what QoS to use, but they need to be the same on both sides :) Your suggestion sounds reasonable to me! |
This issue has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there: |
Issue details
Hi,
I'm currently working on a ros package and here I subscribe to
gp_origin
from the mavros global position plugin. At least in my setup using Ardupilot SITL this is published once whenGPS_GLOBAL_ORIGIN
is emitted. This means my nodes requiring this information must be subscribed before this event happens because of the Sensor Quality of Service. Is this really necessary? In my mind it would be nice to allow late-joining of subscribers using another durability setting i.e. transient_local. I am not an expert at ROS, so I'm not sure of all the implications, but I would like to ask anyways.MAVROS version and platform
Mavros: 2.6.0
ROS: Humble
Ubuntu: 22.04
Autopilot type and version
[x] ArduPilot
[ ] PX4
Version: 4.4.1
The text was updated successfully, but these errors were encountered: