README 模版
这是一个 README 的模板,请在你的 ROS 包中添加此模版,并做出对应的描述。
example_pkg
语言:English / 中文
这是一个 exmaple_node 的 README 案例,订阅两个数据并按照固定的频率发布两个数据的和。Basic Information
Installation method |
Supported platform[s] |
|---|---|
Source |
Jetpack 5.1.2 , ros-humble |
Subscribed
ROS Topic |
Interface |
Frame ID |
Description |
|---|---|---|---|
|
std_msgs::msg::Float64 |
frameA |
接收数据A |
|
std_msgs::msg::Float64 |
frameB |
接收数据B |
Published
ROS Topic |
Interface |
Frame ID |
Description |
|---|---|---|---|
sum |
std_msgs::msg::Float64 |
frameC |
求和结果 1 Hz发布 |
Service
Service Topic |
Call Interface |
Return Interface |
Description |
|---|---|---|---|
service name |
std_msgs::msg::Float64 |
std_msgs::msg::Float64 |
一个service的案例 |
std_msgs::msg::Float64 |
Service 的第二个输入描述 |
Build Package
# if have extra dependencies
# apt install <libdepend-dev>
colcon build --packages-select example_pkg