# commands **Repository Path**: small-salary/commands ## Basic Information - **Project Name**: commands - **Description**: 通过命令管理器方便管理所有的ROS1/ROS2命令, 可以导出命令列表,导入命令列表 使用说明参考: https://www.ncnynl.com/archives/202205/5241.html - **Primary Language**: 其他 - **License**: Not specified - **Default Branch**: master - **Homepage**: https://www.ncnynl.com/archives/202205/5241.html - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2022-06-25 - **Last Updated**: 2022-06-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # commands #### 介绍 通过命令管理器方便管理所有的ROS1/ROS2命令, 可以导出命令列表,导入命令列表 使用说明参考: https://www.ncnynl.com/archives/202206/5317.html #### 软件架构 ``` ubuntu 20.04 ros2 galactic python3.8 ``` #### 安装教程 X86架构下安装步骤: 适合PC端ubuntu系统的安装方法 安装依赖 ``` sudo apt update sudo apt-get install -y git ``` 新建目录并下载 ``` mkdir ~/tools/ cd ~/tools/ git clone https://gitee.com/ncnynl/commands cd commands sudo chmod +x install.sh ./install.sh ``` arm架构下安装步骤: - 适合树莓派,英伟达开发版ubuntu系统的安装方法 - 安装依赖 ``` sudo apt update sudo apt-get install -y git gnome-terminal python3-pip python3-pyqt5 ``` - 新建目录并下载 ``` mkdir ~/tools/ cd ~/tools/ git clone https://gitee.com/ncnynl/commands cd commands sudo chmod +x install.sh ./install.sh ``` - 启动 - 新开终端,输入commands ``` commands ``` #### 配置说明 - 对于系统命令,如ls top ps等可以直接使用 - 对于ros1或ros2命令, 需要添加ros1或ros2的路径到当前用户的~/.bashrc里 ``` ros1 路径: source /opt/ros/noetic/setup.bash ros2 路径: source /opt/ros/galactic/setup.bash ``` 对于自己的工作空间也需要添加到~/.bashrc里,要不找不到包. 比如你自己的工作空间walking_ws ``` source ~/walking_ws/install/local_setup.bash ```