< >
Home » ROS1/2命令管理器 » ROS命令管理器-RCM使用入门(命令行版)

ROS命令管理器-RCM使用入门(命令行版)

ROS命令管理器-RCM使用入门(命令行版)

说明:

  • 介绍如何使用RCM命令行版

RCM的命令行版安装:

  • 安装命令行版本
rm online_shell.sh ; wget https://gitee.com/ncnynl/commands/raw/master/online_shell.sh ; sudo chmod +x ./online_shell.sh; ./online_shell.sh

测试使用指南:

  • 默认输出所有脚本和对应序号,再选择对应序号执行
  • 打开终端,执行命令
cs
  • 主界面效果图:
+---------------------------------------------------+
|                                                   |
|   =============================================   |
|                                                   |
|         欢迎使用ROS命令管理器(RCM)命令行版        |
|                                                   |
|   =============================================   |
|   作者:ncnynl                                     |
|   邮箱:1043931@qq.com                             |
|   网站:https://ncnynl.com                         |
|   更新:2022-11-18                                 |
|   创客智造B群:926779095                           |
|   创客智造C群:937347681                           |
|   创客智造D群:562093920                           |
+---------------------------------------------------+

#####################################################
              Alternative scripts:
#####################################################
common:
  1 - check_echo_shell.sh
  2 - check_linux_version.sh
  3 - check_python_version.sh
  4 - close_commands.sh
  5 - close_template.sh
  6 - install_arduino.sh
  7 - install_base_tools.sh
  8 - install_docker_compose.sh
  9 - install_GitHubDesktop_shell.sh
  10 - install_googlepinyin_shell.sh
  11 - install_nomachine.sh
  12 - install_pyinstaller_shell.sh
  13 - install_systemback_shell.sh
  14 - install_vpn_clash.sh
  15 - install_vscode.sh
  16 - remove_unuse_tools.sh
  17 - remove_zsys.sh
  18 - update_docker_source.sh
  19 - update_python_source_shell.sh
  20 - update_rosdep_tsinghua.sh
  21 - update_system_mirros2.sh
  22 - update_system_mirros.sh
ros1:
  23 - config_date_shell.sh
  24 - config_ros1_network_shell.sh
  25 - install_ros1_noetic.sh
  26 - update_ros1_source.sh
ros1_sensor:
  27 - install_imu_m0_shell.sh
  28 - install_ublox_gps.sh
ros1_tb3_gazebo:
  29 - install_turtlebot3_ros1_noetic_apt.sh
  30 - install_turtlebot3_ros1_noetic_bk.sh
  31 - install_turtlebot3_ros1_noetic_source.sh
ros2:
  32 - close_template.sh
  33 - install_ros2_galactic.sh
  34 - install_ros2_humble.sh
  35 - launch_turtlesim_node.sh
  36 - launch_turtlesim_teleop_key.sh
  37 - update_ros2_source.sh
ros2_ignition:
  38 - install_ignition_galactic.sh
  39 - install_ignition_humble_apt.sh
  40 - install_ignition_humble_source.sh
ros2_rmf:
  41 - install_rmf_free_fleet.sh
  42 - install_rmf_galactic_21.09.sh
  43 - install_rmf_galactic_apt.sh
  44 - install_rmf_galactic_level.sh
  45 - install_rmf_galactic_source.sh
  46 - install_rmf_panel.sh
  47 - install_rmf_web_galactic.sh
  48 - install_rmf_web_humble.sh
ros2_tb3:
  49 - install_tb3_galactic_apt.sh
  50 - install_tb3_galactic_source.sh
  51 - install_tb3_humble_apt.sh
  52 - install_tb3_humble_source.sh
ros2_tb3_gazebo:
  53 - download_gazebo_model_shell.sh
ros2_tb4:
  54 - install_tb4_galactic_apt.sh
  55 - install_tb4_galactic_source.sh
  56 - install_tb4_humble_apt.sh
  57 - install_tb4_humble_source.sh
ros2_tb4_ignition:
  58 - download_ignition_model_SubT.sh
ros2_webots:
  59 - install_webots_galactic_apt.sh
  60 - install_webots_humble_apt.sh
walking:
  61 - del.sh
walking_application:
  62 - install_walking_application.sh
#####################################################

└ Please select the script ID to be executed:
  • 根据脚本名称, 选择对应脚本的ID, 按回车,进入执行确认流程
  • 如选择1
└ Please select the script ID to be executed:1
common:
  1 - check_echo_shell.sh

└ Whether to execute the script? [Y/n]
  • 选择执行,输入Y , 否则选择N,重新回到上一个界面
  • 效果如下
└ Whether to execute the script? [Y/n]y
1
2
3
4
5
6

帮助指南:

  • 忘记怎么使用,可以输出帮助说明
  • 执行命令
cs help
或者
cs -h
  • 效果如下:
+---------------------------------------------------+
|                                                   |
|   =============================================   |
|                                                   |
|         欢迎使用ROS命令管理器(RCM)命令行版        |
|                                                   |
|   =============================================   |
|   作者:ncnynl                                     |
|   邮箱:1043931@qq.com                             |
|   网站:https://ncnynl.com                         |
|   更新:2022-11-18                                 |
|   创客智造B群:926779095                           |
|   创客智造C群:937347681                           |
|   创客智造D群:562093920                           |
+---------------------------------------------------+

#####################################################
        command interface to the RCM tools          
#####################################################
Usage: cs [options] [keyword]
  
List of available options:
  
-h | help:       Print this help text.
-s | search:     Search the script file by keyword
-l | list:       List all script files and serial numbers
id:              Provide the serial number to install

搜索指南:

  • 当脚本增多时候,采用搜索方式更容易找到对应脚本
  • 执行命令
cs -s check
  • 效果如下:
+---------------------------------------------------+
|                                                   |
|   =============================================   |
|                                                   |
|         欢迎使用ROS命令管理器(RCM)命令行版        |
|                                                   |
|   =============================================   |
|   作者:ncnynl                                     |
|   邮箱:1043931@qq.com                             |
|   网站:https://ncnynl.com                         |
|   更新:2022-11-18                                 |
|   创客智造B群:926779095                           |
|   创客智造C群:937347681                           |
|   创客智造D群:562093920                           |
+---------------------------------------------------+

#####################################################
              Alternative scripts:
#####################################################
common:
  1 - check_echo_shell.sh
common:
  2 - check_linux_version.sh
common:
  3 - check_python_version.sh
#####################################################

└ Please select the script ID to be executed:
  • 选择对应脚本, 输入ID
  • 选择1, 并确认Y
  • 效果如下:
└ Please select the script ID to be executed:1
common:
  1 - check_echo_shell.sh

└ Whether to execute the script? [Y/n]y
1
2
3
4
5
6

直接输入ID执行指南:

  • 如果你记得脚本的序号,可以直接执行
  • 不同版本命令序号可能会变化,如果固定的版本,序号都一致
  • 执行命令
cs 1 
  • 效果如下:
+---------------------------------------------------+
|                                                   |
|   =============================================   |
|                                                   |
|         欢迎使用ROS命令管理器(RCM)命令行版        |
|                                                   |
|   =============================================   |
|   作者:ncnynl                                     |
|   邮箱:1043931@qq.com                             |
|   网站:https://ncnynl.com                         |
|   更新:2022-11-18                                 |
|   创客智造B群:926779095                           |
|   创客智造C群:937347681                           |
|   创客智造D群:562093920                           |
+---------------------------------------------------+

#####################################################
      The following script will be executed:        
#####################################################
common:
  1 - check_echo_shell.sh

└ Whether to execute the script? [Y/n]y
1
2
3
4
5
6

 - 确认并执行脚本

纠错,疑问,交流: 请进入讨论区点击加入Q群

获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号


标签: ros命令管理器