官网上安装方法是这样的,不知道是否是python版本原因,最新版本没有安装成功,
Installing ROS 2 on Windows — ROS 2 Documentation: Galactic documentation
所以我试了一下微软的办法,Windows上安装ROS2,如下,
ROS 2 Binary Installation - ROS on Windows
安装完后按下面的办法测试运行,
Navigation 2 on Windows using Turtlebot 3 - ROS on Windows
指令如下,
mkdir D:\ros2prj\nav2_ws\src
pushd D:\ros2prj\nav2_ws
curl -o nav2.repos https://raw.githubusercontent.com/ms-iot/ROSOnWindows/master/docs/ros2/navigation2_foxy.repos
vcs import src < nav2.repos
colcon build
报错,
D:\ros2prj\nav2_ws>colcon build
[0.729s] root DEBUG Using proactor: IocpProactor
Starting >>> dynamixel_sdk
Starting >>> turtlebot3_description
Starting >>> dynamixel_sdk_custom_interfaces
Starting >>> turtlebot3_cartographer
Starting >>> turtlebot3_example
Starting >>> turtlebot3_fake_node
Starting >>> turtlebot3_navigation2
Starting >>> turtlebot3_teleop
Finished
关注
打赏
热门博文
- 对CSDN网站关于抄袭的投诉的处理建议
- Tesseract OCR训练时碰到的问题和解决方案
- VSCODE在Jetson Nano上打不上断点,无法调试python源码
- ROS2进阶:在windows10上用vs2019编译rviz2
- ROS2 ERROR: OpenGL 1.5 is not supported in GLRenderSystem::initialiseContext at C:\ci\ws\build...
- ROS2 error: can‘t find examples_rclcpp_minimal_subscriber/Release/wait_set_subscriber_library.lib
- 在windows上安装 chocolatey.1.1.0.nupkg
- Qt开发高级进阶:如何在显示时适合视窗宽度和高度(fitWidth+fitHeight)
- PySpark ERROR: Python in worker has different version 3.9 than that in driver 3.8
- cv2.imshow error: The function is not implemented. Rebuild the library with Windows...