This is the final project for ECE470 - Introduction to Robotics. This project utilizes camera sensor and forward/inverse kinematics to control the robot. The aim of the project is to allow the robot to perform a pick and place task given certain inputs.
- Clone this repository using
git clone - Download Vrep/Coppeliasim
- run
./Coppeliasimin the directory where Coppeliasim is downloaded - set up correct environment using the .ttt file (also need to use remoteAPI)
- run simulation by executing the python file (e.g
python3 project.py)
- Make catkin workspace:
mkdir -p catkin_ws/srccd catkin_ws/srccatkin_init_workspacecd ~/catkin_ws/src/
- Clone this repository under catkin_ws/src using
git clone - Do
catkin_makeunder catkin_ws/ - source for every new command prompt -
source devel/setup.bash - Optional (taken care in roslaunch): In one command prompt, launch roscore -
roscore - In a new command prompt,
roslaunch ur3_driver ur3_gazebo.launch - In catkin_ws/src/projectandDriver/projectpkg_py/scripts -
chmod +x project.py rosrun lab2pkg_py project.py --simulator True