ros2与turtlebot3仿真教程-安装ros2
说明:
- 介绍如何安装ros2版本
步骤:
- 使用rcm安装ros2
# 安装rcm
curl https://www.ncnynl.com/rcm.sh | bash -
# 安装ros2
rcm -s install_ros2_now
- 根据提示输入对应的ros2版本,即可自动安装
- 安装后,新开终端即可使用ros2
- 验证安装是否成功
ros2
- 效果图:
usage: ros2 [-h] [--use-python-default-buffering]
Call `ros2 <command> -h` for more detailed usage. ...
ros2 is an extensible command-line tool for ROS 2.
options:
-h, --help show this help message and exit
--use-python-default-buffering
Do not force line buffering in stdout and instead use the python default
buffering, which might be affected by PYTHONUNBUFFERED/-u and depends on
whatever stdout is interactive or not
Commands:
action Various action related sub-commands
bag Various rosbag related sub-commands
component Various component related sub-commands
control Various control related sub-commands
daemon Various daemon related sub-commands
doctor Check ROS setup and other potential issues
interface Show information about ROS interfaces
launch Run a launch file
lifecycle Various lifecycle related sub-commands
multicast Various multicast related sub-commands
node Various node related sub-commands
param Various param related sub-commands
pkg Various package related sub-commands
run Run a package specific executable
security Various security related sub-commands
service Various service related sub-commands
topic Various topic related sub-commands
wtf Use `wtf` as alias to `doctor`
Call `ros2 <command> -h` for more detailed usage.
获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号