- Overview
- Getting Started
- Contributor
Deep Learning based universal robotic arm (UR5) that utilized for the binning process of ripe and unripe tomatoes.
- Make sure you have installed Python and some useful libraries/packages such as Tensorflow, Numpy, Matplotlib, OpenCV, etc.
- Make sure you have install ROS-Neotic in your pc and raspberry pi. Follow ros-neotic installation
- Create a workspace in your computer and name it ur_ws.
mkdir -p ur_ws/src
cd ur_ws/src
# Copy scripts folder from ros_slave/ur_ws and past it into src folder.
cd ~/ur_ws
# checking dependencies
rosdep install --from-paths src --ignore-src --rosdistro neotic
# build
catkin_make
# source this workspace (careful when also sourcing others)
cd ~/ur_ws
source devel/setup.bash
- Add this to bash file in the master pc
export export ROS_MASTER_URI=http://localhost:11311/
export ROS_HOSTNAME=[SLAVE_IP]
export ROS_IP=[SLAVE_IP]
- source bash file
source .bashrc
Make sure you have a version of Git higher that 2.25.0 on your raspberry pi.
- Run the following command to clone only the ros_master folder from this repository to your pi.
git clone --no-checkout https://github.com/ldebele/Tomato-Detection-Robotic-Arm.git
cd Tomato-Detection-Robotic-Arm
# Initialize the folder
git sparse-checkout init --cone
# pick the folder ros_master and add it in the repo.
git sparse-checkout set ros_master
- Create a workspace in your Raspberry Pi and names it ur_ws.
mkdir -p ur_ws/src
cd ur_ws/src
# Copy scripts folder from ros_master folder and past it into src folder.
cd ~/ur_ws
# checking dependencies
rosdep install --from-paths src --ignore-src --rosdistro neotic
# build
catkin_make
# source this workspace (careful when also sourcing others)
cd ~/ur_ws
source devel/setup.bash
- Add this to bash file on your raspberry pi.
export ROS_MASTER_URI=http://[MASTER IP]:11311/
export ROS_HOSTNAME=[MASTER_IP]
export ROS_IP=[MASTER_IP]
- source bash file
source .bashrc
Lemi Debele