鱼香ros安装的github
时间: 2024-04-28 12:15:38 浏览: 158
鱼香ROS的串口通信库的GitHub地址是https://github.com/fishros/fish_protocol.git。
安装编译FishProtocol的步骤如下:
1. 首先安装libboost-dev:sudo apt install libboost-dev
2. 克隆FishProtocol的GitHub仓库:git clone https://github.com/fishros/fish_protocol.git
3. 进入fish_protocol目录:cd fish_protocol
4. 创建build目录并进入:mkdir build && cd build
5. 运行cmake命令:cmake ..
6. 使用sudo make install命令进行安装:sudo make install
安装完成后,可以进行ROS2串口例程的编译和运行:
1. 进入example_fish_protocol目录:cd fish_protocol/examples/example_ros2/example_fish_protocol
2. 使用colcon build命令进行编译:colcon build
3. 使用source install/setup.bash命令设置环境变量
4. 使用ros2 run命令运行example_fish_protocol节点:ros2 run example_fish_protocol example_fish_protocol
如果遇到问题,可以尝试重新开启订阅节点:
1. 使用source install/setup.bash命令设置环境变量
2. 使用ros2 run命令重新运行example_fish_protocol节点:ros2 run example_fish_protocol example_fish_protocol
阅读全文
相关推荐

















