This project was made by Nishant Awdeshkumar Pandey and Rishikesh Jadhav. This folder consists of the following folders: Package - Contains another folder named a robot that can be copy pasted in catkin_ws/src.
- teleop.py - control the movement of the bot using the teleop
- fk_validation.py - for forward kinematics validation
- ik_val.py - for inverse kinematics validation
- diff_control.py - to control the differential drive of the robot and make it stop just before the goal using a closed-loop controller
- go_home.py - to go back to the home position of the bot i.e. origin after pick and place operation.
- grasp.py - to grasp an object using the gripper
- arm_control.py - to move the arm above the box and open the gripper. (will not work as the size of the object and friction between the gripper and the object are not right just pick and place operation was done manually in the video.).
- End_eff_trajectory.py - to obtain the graph of end effector trajectory for Inverse kinematics validation.
To spawn the bot in Gazebo and RViz in the world design the following command works(with rqt_steering) after navigating to the launch folder in the terminal:
roslaunch 04-diff_drive_robot_arm.launch
To spawn the bot in RViz with a slider to control the various joints of the robot the following command works after navigating to the launch folder in the terminal:roslaunch view_demo.launch
To run these codes open in the terminal the scripts folder and run the python3 command along with roscore running in the background. The following sequence of scripts should be run to obtain the pick and place of an object:roslaunch 04-diff_drive_robot_arm.launch --> python3 diff_control.py --> python3 arm_control.py --> python3 grasp.py --> go_home.py
Drive link for all the videos: https://drive.google.com/drive/folders/1QW7Eak2PbWma0Tb0El4jjWCQnswvXPuF