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"
相关推荐
特立独行的猫a4 天前
ROS 2 主流DDS中间件入门:Cyclone DDS 与 Fast DDS 完全指南
中间件·ros2·dds·fast dds·cyclone dds
轻口味7 天前
启元无真机二开实战1:54 个接口能做什么、不能做什么——启元 Q1/T1 SDK 能力全景与版本矩阵
线性代数·矩阵·ros2·具身智能·启元机器人
热金鼠10 天前
2.ROS2 核心机制与命令行实操
ros2
大雨歌15 天前
笛卡尔坐标 → 自然坐标(Frenet) 逐步推导全解 -2
ros2
米糕闯编程19 天前
鱼香ros2(十七)C++小海龟巡逻
开发语言·c++·机器人·ros2·服务·小海龟
风合星语20 天前
2026 机器人工程实例(七):Nav2 到站了,任务却没完成——AMR 载货导航中的托盘滑移与验收闭环
人工智能·机器人·ros2·机器人仿真·nav2·mujoco·amr
米糕闯编程1 个月前
鱼香ros2(十二)C++话题订阅与发布
开发语言·c++·ros2·话题
朝朝辞暮i1 个月前
C++ 第 36 课:Action——机械臂/VLA 非常重要
开发语言·c++·算法·ros2
朝朝辞暮i1 个月前
C++ 第 39 章: 阶段性总复习——类、对象、构造、继承、this、指针与智能指针
开发语言·c++·算法·ros2
朝朝辞暮i1 个月前
C++ 第 40 章:ROS2 Publisher + Timer + Subscriber + Callback + Executor 完整闭环
开发语言·c++·算法·ros2