This code is sample code for forward and backward kinematic of a robotic arm. The code was for robotics class. The arm was developed by A-jay98 as the TA of the class.
The code does both forward and backward kinematic.
You can find the details of forward and backward kinematics here
The code is developed using ros services.
I tested this code on Ubuntu 18.04 with Ros Melodic.
Steps for installation:
- Initialize your catkin working environment
- Clone this repository to and move the "src" folder to your workspace
- Run
catkin_make
in the root folder of your workspace
First open a new terminal in the root folder of your workspace
- Run
source devel/setup.bash
- Run
roslaunch AJTemplateBot final_launch.launch
Now open a new terminal in the root folder of your workspace to run the client side
- Run
source devel/setup.bash
- Run:
rosrun AJTemplateBot forward_client.py {theta1} {theta2} {theta2}
for forward kinematic.rosrun AJTemplateBot backward_client.py {x} {y} {z}
for backward kinematic.