|
1 | 1 | # LinkerHand-CPP-ROS2 |
2 | 2 |
|
| 3 | +[](https://github.com/linker-bot/linkerhand-cpp-ros2/actions/workflows/ci.yml) |
| 4 | +[](https://docs.ros.org/en/foxy/index.html) |
| 5 | +[](https://docs.ros.org/en/humble/index.html) |
| 6 | +[](LICENSE) |
| 7 | + |
| 8 | + |
3 | 9 | ## 概述 |
4 | 10 | LinkerHand-CPP-ROS2 是灵心巧手科技有限公司开发,基于 LinkerHand-CPP-SDK 的ROS2封装版本。 |
5 | 11 |
|
6 | | -#### 环境安装 |
7 | | -[LinkerHand-CPP-SDK](../README.md) |
8 | 12 |
|
9 | | -#### 工程编译 |
10 | | - cd linker_hand_cpp_sdk/ros2/ |
| 13 | +## 📋 目录 |
| 14 | + |
| 15 | +- [环境要求](#-环境要求) |
| 16 | +- [快速开始](#-快速开始) |
| 17 | +- [话题详情](#-话题详情) |
| 18 | +- [使用示例](#-使用示例) |
| 19 | +- [许可证](#-许可证) |
| 20 | +- [联系我们](#-联系我们) |
| 21 | +- [更新日志](#-更新日志) |
| 22 | + |
| 23 | +## 💻 环境要求 |
| 24 | + |
| 25 | +- **操作系统**: Linux (Ubuntu 20.04+ 推荐) |
| 26 | +- **架构**: x86_64 |
| 27 | +- **编译器**: GCC 7.0+ 或 Clang 5.0+ |
| 28 | +- **CMake**: 3.15+ |
| 29 | +- **依赖**: ROS2 (推荐 Foxy 或 Humble)、[linkerhand-cpp-sdk](https://github.com/linker-bot/linkerhand-cpp-sdk/releases/tag/v1.1.7) |
| 30 | + |
| 31 | +> 注:本项目仅支持linkerhand-cpp-sdk v1.1.7及以下版本 |
| 32 | +
|
| 33 | + |
| 34 | +## 🚀 快速开始 |
| 35 | +#### 下载 |
| 36 | + git clone https://github.com/linker-bot/linkerhand-cpp-ros2.git |
| 37 | + |
| 38 | +#### 编译 |
| 39 | + cd linkerhand-cpp-ros2/ |
11 | 40 | colcon build |
12 | 41 |
|
13 | 42 | #### 配置XML文件 |
@@ -41,10 +70,10 @@ LinkerHand-CPP-ROS2 是灵心巧手科技有限公司开发,基于 LinkerHand- |
41 | 70 |
|
42 | 71 | #### 运行 |
43 | 72 | source install/setup.bash |
44 | | - ros2 launch linker_hand_cpp_ros2 run.xml |
| 73 | + ros2 launch linkerhand_cpp_ros2 run.xml |
45 | 74 |
|
46 | 75 |
|
47 | | -#### 话题 |
| 76 | +## 📚 话题详情 |
48 | 77 |
|
49 | 78 | | 话题名称 | I/O | 消息类型 | 描述 | |
50 | 79 | | :--- | :--- | :--- | :--- | |
@@ -166,16 +195,37 @@ data: |
166 | 195 | - '...' |
167 | 196 | ``` |
168 | 197 |
|
169 | | -## 示例 |
| 198 | +## 💡 使用示例 |
170 | 199 |
|
171 | 200 | | 序号 | 文件名称 | 描述 | |
172 | 201 | | :--- | :-------- | :--------------------------------------------- | |
173 | | -| 1 | examples/src/action_group_show_l7 | L7型号手指舞示例 | |
174 | | -| 2 | examples/src/action_group_show_l10 | L10型号手指舞示例 | |
175 | | -| 3 | examples/src/action_group_show_l20 | L20型号手指舞示例 | |
176 | | -| 4 | examples/src/loop_l20 | L20型号手势张开握拳示例 | |
177 | | -| 5 | examples/src/show_ok_l20 | L20型号手势ok示例 | |
178 | | -| 6 | examples/src/show_surround_index_finger_l20 | L20型号单指手势示例 | |
179 | | -| 7 | examples/src/show_wave_l20 | L20型号wave手势示例 | |
180 | | -| 8 | examples/src/action_group_show_l25 | L25型号手指舞示例 | |
181 | | -| 9 | examples/src/loop_l25 | L25型号手势张开握拳示例 | |
| 202 | +| 1 | src/examples/src/action_group_show_l7 | L7型号手指舞示例 | |
| 203 | +| 2 | src/examples/src/action_group_show_l10 | L10型号手指舞示例 | |
| 204 | +| 3 | src/examples/src/action_group_show_l20 | L20型号手指舞示例 | |
| 205 | +| 4 | src/examples/src/loop_l20 | L20型号手势张开握拳示例 | |
| 206 | +| 5 | src/examples/src/show_ok_l20 | L20型号手势ok示例 | |
| 207 | +| 6 | src/examples/src/show_surround_index_finger_l20 | L20型号单指手势示例 | |
| 208 | +| 7 | src/examples/src/show_wave_l20 | L20型号wave手势示例 | |
| 209 | +| 8 | src/examples/src/action_group_show_l25 | L25型号手指舞示例 | |
| 210 | +| 9 | src/examples/src/loop_l25 | L25型号手势张开握拳示例 | |
| 211 | + |
| 212 | + |
| 213 | +## 📄 许可证 |
| 214 | + |
| 215 | +本项目采用 [Apache 2.0 许可证](LICENSE)。 |
| 216 | + |
| 217 | +Copyright (c) 2026 灵心巧手(北京)科技有限公司 |
| 218 | + |
| 219 | +## 📞 联系我们 |
| 220 | + |
| 221 | +- **官方网站**: [https://linkerbot.cn](https://linkerbot.cn) |
| 222 | +- **关于我们**: [https://linkerbot.cn/aboutUs](https://linkerbot.cn/aboutUs) |
| 223 | +- **GitHub**: [https://github.com/linker-bot/linkerhand-cpp-ros2](https://github.com/linker-bot/linkerhand-cpp-ros2) |
| 224 | + |
| 225 | +## 📝 更新日志 |
| 226 | + |
| 227 | +详细的版本更新记录请参考 [CHANGELOG.md](CHANGELOG.md)(待创建)。 |
| 228 | + |
| 229 | +--- |
| 230 | + |
| 231 | +**注意**: 使用前请确保设备已正确连接并配置好通信接口。 |
0 commit comments