# robot **Repository Path**: aa68454650/robot ## Basic Information - **Project Name**: robot - **Description**: 武汉理工的机器人项目 - **Primary Language**: C - **License**: AGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2024-07-17 - **Last Updated**: 2024-07-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # robot #### Description 武汉理工的机器人项目 #### Software Architecture Software architecture description #### Installation #### 目录结果如下: #### ├── build #### │   ├── freescale #### │   │   ├── arm.linux.cross2.cmake #### │   │   ├── make-Makefiles.bash #### │   │   └── rm-Makefiles.bash #### │   ├── host #### │   │   ├── host.linux.cmake #### │   │   ├── make-Makefiles.bash #### │   │   └── rm-Makefiles.bash #### │   └── rockchip #### │   ├── arm.linux.cross2.cmake #### │   ├── arm.linux.cross3.cmake #### │   ├── arm.linux.cross4.cmake #### │   ├── make-Makefiles.bash #构建脚本,之后后再执行make即可看到 main目录下的main可执行文件 #### │   └── rm-Makefiles.bash #删除构建脚本 #### ├── CMakeLists.txt #### ├── common #### │   ├── CanUtil.h #### │   ├── config.h #### │   ├── crc.h #### │   ├── CRT.h #### │   ├── CRTPrintOut.h #### │   ├── gpio.h #### │   ├── imu_api.h #### │   ├── Math.h #### │   ├── motor_rw_api.h #### │   ├── pwm.h #### │   ├── sbus.h #### │   ├── Semaphore.h #### │   ├── String.h #### │   └── UartUtil.h #### ├── control_interface #### │   ├── CanUtil.cpp #### │   ├── CMakeLists.txt #### │   ├── crc.cpp #### │   ├── CRT.cpp #### │   ├── CRTPrintOut.cpp #### │   ├── gpio.cpp #### │   ├── imu_api.cpp #### │   ├── Math.cpp #### │   ├── motor_rw_api.cpp #### │   ├── pwm.cpp #### │   ├── sbus.cpp #### │   ├── Semaphore.cpp #### │   ├── String.cpp #### │   └── UartUtil.cpp #### ├── LICENSE #### ├── main #### │   ├── CMakeLists.txt #### │   └── main.cpp #### ├── README.en.md #### ├── README.md #### ├── start.sh #### └── temp #### └── control_utils #### └── CMakeLists.txt #### 编译: # robot #### 项目描述 武汉理工的机器人项目 #### Software Architecture Software architecture description #### Installation #### 目录结果如下: #### ├── build #### │   ├── freescale #### │   │   ├── arm.linux.cross2.cmake #### │   │   ├── make-Makefiles.bash #### │   │   └── rm-Makefiles.bash #### │   ├── host #### │   │   ├── host.linux.cmake #### │   │   ├── make-Makefiles.bash #### │   │   └── rm-Makefiles.bash #### │   └── rockchip #### │   ├── arm.linux.cross2.cmake #### │   ├── arm.linux.cross3.cmake #### │   ├── arm.linux.cross4.cmake #### │   ├── make-Makefiles.bash #构建脚本,之后后再执行make即可看到 main目录下的main可执行文件 #### │   └── rm-Makefiles.bash #删除构建脚本 #### ├── CMakeLists.txt #### ├── common #### │   ├── CanUtil.h #### │   ├── config.h #### │   ├── crc.h #### │   ├── CRT.h #### │   ├── CRTPrintOut.h #### │   ├── gpio.h #### │   ├── imu_api.h #### │   ├── Math.h #### │   ├── motor_rw_api.h #### │   ├── pwm.h #### │   ├── sbus.h #### │   ├── Semaphore.h #### │   ├── String.h #### │   └── UartUtil.h #### ├── control_interface #### │   ├── CanUtil.cpp #### │   ├── CMakeLists.txt #### │   ├── crc.cpp #### │   ├── CRT.cpp #### │   ├── CRTPrintOut.cpp #### │   ├── gpio.cpp #### │   ├── imu_api.cpp #### │   ├── Math.cpp #### │   ├── motor_rw_api.cpp #### │   ├── pwm.cpp #### │   ├── sbus.cpp #### │   ├── Semaphore.cpp #### │   ├── String.cpp #### │   └── UartUtil.cpp #### ├── LICENSE #### ├── main #### │   ├── CMakeLists.txt #### │   └── main.cpp #### ├── README.en.md #### ├── README.md #### ├── start.sh #### └── temp #### └── control_utils #### └── CMakeLists.txt #### compile: 1.首先让你的ubuntu 能上网 2.执行命令 sudo apt-get git 3.执行命令 cd /opt 4.执行命令 git clone git@gitee.com:aa68454650/robot.git 拉取所有代码 5.执行命令 cd rebot 6.执行命令 ./environment.sh 脚本安装好编译环境 7.执行命令 cd ../build/rockchip 8.执行命令 ./make-Makefiles.bash 构建编译目录 9.执行 make 编译 #### 运行: 1.首先板子使用NFS挂载开发目录/opt 2.cd /mnt/xxx/robot/ 3.执行 ./shart.sh #### 运行: 1.首先板子使用NFS挂载开发目录/opt 2.cd /mnt/xxx/robot/ 3.执行 ./shart.sh (注意,必须在板子上执行此脚本,执行此脚本后会复制安装好运行板子上的运行环境,并设置为自启动)