-
Beta Was this translation helpful? Give feedback.
Answered by
drpjm
Dec 20, 2023
Replies: 1 comment
-
Turns out this is a sneaky issue: the reason I cannot read from rclpy.qos import qos_profile_sensor_data
class SomeNode(Node)
def __init__(self):
self.odom_subscriber = self.create_subscription(
Odometry, "/locobot/mobile_base/odom",
self._on_odom,
qos_profile_sensor_data) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
drpjm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Turns out this is a sneaky issue: the reason I cannot read
odom
is that in ROS2 galactic, topic QoS mismatches are not displayed. So, it silently fails when you subscribe to a topic with different QoS. To solve this issue, you should subscribe to the sensor data from the Create3 with: