ROS2 Windows安装

这里写自定义目录标题

ROS2下载

复制代码
https://github.com/ros2/ros2/releases
  • 下载解压后放到 c:\opt\ros2\humble

源码依赖列表

项目 Value
console_bridge https://github.com/ros/console_bridge.git
angles https://github.com/ros/angles.git -b humble
bullet https://github.com/bulletphysics/bullet3.git
eigen_stl_containers https://github.com/ros/eigen_stl_containers.git -b humble
ccd https://github.com/danfis/libccd.git
fcl https://github.com/flexible-collision-library/fcl.git
generate_parameter_library https://github.com/PickNikRobotics/generate_parameter_library.git
moveit_ros_planning_interface git clone https://github.com/ros-planning/moveit2.git -b humble

依赖下载并编译

依赖下载

复制代码
git clone https://github.com/bulletphysics/bullet3.git -b 2.87  #  checkout 到 2.87 版本
cd bullet3

编译

复制代码
mkdir build && cd build
cmake .. -G "Visual Studio 16 2019" -A x64 -DCMAKE_INSTALL_PREFIX=C:\opt\ros2\humble
cmake --build . --config Release --target install

编译MoveIt

复制代码
colcon build --merge-install --cmake-args -DBULLET_INCLUDE_DIR="C:\ProgramData\chocolatey\lib\bullet\include" -DBULLET_LIBRARY_DIR="C:\ProgramData\chocolatey\lib\bullet\lib"
相关推荐
米糕闯编程4 天前
鱼香ros2(十二)C++话题订阅与发布
开发语言·c++·ros2·话题
朝朝辞暮i6 天前
C++ 第 36 课:Action——机械臂/VLA 非常重要
开发语言·c++·算法·ros2
朝朝辞暮i7 天前
C++ 第 39 章: 阶段性总复习——类、对象、构造、继承、this、指针与智能指针
开发语言·c++·算法·ros2
朝朝辞暮i7 天前
C++ 第 40 章:ROS2 Publisher + Timer + Subscriber + Callback + Executor 完整闭环
开发语言·c++·算法·ros2
朝朝辞暮i7 天前
C++ 第 38 课:线程、SingleThreadedExecutor、MultiThreadedExecutor、Callback Group
开发语言·c++·算法·ros2
小奇不哭7 天前
ROS2 单节点,RGB-D 深度相机局部路径提取 + B 样条平滑路径 + YOLOv8 障碍物检测 + 深度测距,用于移动机器人视觉局部循迹。
python·yolov8·ros2·cv2·路径探索循迹
zhangrelay9 天前
机械臂末端规划智能模型的误区演示
linux·笔记·学习·ubuntu·ros2
爱就是恒久忍耐10 天前
Zenoh与ROS2通信
ros2
风合星语23 天前
2026 ROS 2 Lyrical C++ 入门(五):Action 实战——任务反馈、取消与超时处理
c++·机器人·ros2·异步编程·lyrical
浅梦语1125 天前
32-1 nav2_map_server实际作用与用法图解
ros2·nav2