The project scene was taken and modified from udacity pick and place project sponsored by Amazon Robotics. And the trajectory wa planned using moveit
Visualization of environment in gazebo
- Gazebo 11+
- Ros1(Neotic)
- Rviz
Create a catkin workspace if you haven't created already
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin_init_workspace
cd ~/catkin_ws/src
git clone https://github.com/Klins101/Pick-and-Place-Robot-with-kuka-arm-and-moveit.git
cd ~/catkin_ws
rosdep install --from-paths src --ignore-src --rosdistro=neotic -y
cd ~/catkin_ws/src/pick-place-robot/kuka_arm/scripts
sudo chmod u+x target_spawn.py
sudo chmod u+x IK_server.py
sudo chmod u+x safe_spawner.sh
cd ~/catkin_ws
catkin_make
export GAZEBO_MODEL_PATH=~/catkin_ws/src/Pick-and-Place-Robot-with-kuka-arm-and-moveit/kuka_arm/models
source ~/catkin_ws/devel/setup.bash
cd ~/catkin_ws/src/Pick-and-Place-Robot-with-kuka-arm-and-moveit/kuka_arm/scripts
./safe_spawner.sh
cd ~/catkin_ws/src/Pick-and-Place-Robot-with-kuka-arm-and-moveit/kuka_arm/scripts
rosrun kuka_arm IK_server.py
Click on Next button on left side of RViz to change states