The Phoenixbot is Olin College's first sustainable agricultural robot platform, developed my students and faculty. The robot platform is addressing the need for sustainable, ecological weed management strategies for healthier and more sustainable agriculture. It is designed on the farm-ng Amiga micro tractor platform.
-
phoenixbot_description
: contains the URDF description files for the phoenixbot, sensors, etc. -
phoenixbot_gazebo
: contains model, world, launch and configuration files to simulate the phoenixbot in Gazebo.
This system was tested on Ubuntu 22.04 LTS and ROS2 Humble.
mkdir -p ~/ros2_ws/src
cd ~/ros2_ws/src
git clone https://github.com/Olin-HAIR-Lab/phoenixbot.git
cd ~/ros2_ws
sudo rosdep init
rosdep update
rosdep install --from-paths src --ignore-src --rosdistro humble -r -y
echo "source /opt/ros/humble/setup.bash" >> ~/.bashrc
echo "source ~/ros2_ws/install/setup.bash" >> ~/.bashrc
source ~/.bashrc
# navigate to the root of the workspace and build the packages
cd ~/ros2_ws
colcon build --symlink-install
ros2 launch phoenixbot_gazebo gazebo_world.launch.py
NOTE: It may take a few minutes to come up the first time around, so please be patient.
If everything has been installed correctly, you should see Gazebo and Rviz windows open as below:
# first, install the dependency
sudo apt install ros-humble-teleop-twist-keyboard
# run the command in a new terminal
ros2 run teleop_twist_keyboard teleop_twist_keyboard
Control the robot with the keyboard keys as below: