mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 18:06:39 +08:00
msg: urtps: change the topic Data Type name to match expected on ROS2
This commit is contained in:
@@ -142,15 +142,15 @@ private:
|
||||
} m_listener;
|
||||
@[if 1.5 <= fastrtpsgen_version <= 1.7]@
|
||||
@[ if ros2_distro]@
|
||||
@(package)::msg::dds_::@(topic)_PubSubType myType;
|
||||
@(package)::msg::dds_::@(topic)_PubSubType @(topic)DataType;
|
||||
@[ else]@
|
||||
@(topic)_PubSubType myType;
|
||||
@(topic)_PubSubType @(topic)DataType;
|
||||
@[ end if]@
|
||||
@[else]@
|
||||
@[ if ros2_distro]@
|
||||
@(package)::msg::@(topic)PubSubType myType;
|
||||
@(package)::msg::@(topic)PubSubType @(topic)DataType;
|
||||
@[ else]@
|
||||
@(topic)PubSubType myType;
|
||||
@(topic)PubSubType @(topic)DataType;
|
||||
@[ end if]@
|
||||
@[end if]@
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user