webots与ROS2
已失败,改用 gazebo了
参考链接
ros2 与 webots官方参考链接
webots 官方指南
系统版本:Ubuntu 18.04 + ROS2 的dashing版本
webots与ROS1联合
webots与ROS2 联合
mkdir -p webots-ros2/src
// 自行去https://github.com/cyberbotics/webots_ros2/tree/dashing 下载 ROS2 的 dashing版本
git clone --recurse-submodules https://github.com/cyberbotics/webots_ros2.git // 这个下载的是foxy版本的
cd webots-ros2
rosdep install --from-paths src --ignore-src --rosdistro $ROS_DISTRO
colcon build
结果 编译之后提示错误
我百度了好久 也没找到解决这个问题的办法
于是强行运行
ros2 run webots_ros2_universal_robot multirobot_launch.py
可以运行,但是剩下的包有的就没办法运行了。