This commit is contained in:
jiaweilong66
2025-06-27 14:50:52 +09:00
parent efd304d5a1
commit 51bd10a875
+72
View File
@@ -0,0 +1,72 @@
# AGV_Pro
ROS2 packages for AGV_Pro
> Software environment for Jetson Orin Nano
```
ubuntu 22.04
ros2 humble
gazebo 11
```
# Installation
Create workspace and clone the repository.
```
git clone https://github.com/elephantrobotics/agv_pro_ros2.git agv_pro_ros2/src
```
Install dependencies
```
cd ~/agv_pro_ros2
rosdep install --from-paths src --ignore-src -r -y
```
Build workspace
```
cd ~/agv_pro_ros2
colcon build
```
Setup the workspace
```
source ~/agv_pro_ros2/install/local_setup.bash
```
```
apt install ros-$ROS_DISTRO-gazebo-ros-pkgs
sudo apt install ros-$ROS_DISTRO-ros2-controllers
sudo apt install ros-humble-teleop-twist-keyboard
```
# Update to new version
```
cd ~/myagv_ros2/src
git pull
cd ..
colcon build
```
# Start
```
ros2 launch agv_pro_description agv_pro_gazebo.launch.py
```
# keyboard Control
```
ros2 run teleop_twist_keyboard teleop_twist_keyboard
```