fix
This commit is contained in:
@@ -94,7 +94,7 @@ qos.transient_local(); // 或 qos.durability_volatile()
|
||||
qos.keep_last(depth); // 或 qos.keep_all()
|
||||
|
||||
// 用 QoS 创建 Publisher
|
||||
publisher_ = this->create_publisher<std_msgs::msg::String>("/topic", qos);
|
||||
publisher_ = this->create_publisher<std_msgs::msg::String>("/qos_demo_topic", qos);
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user