Follow these commands
mkdir -p ~/RRbot_ros/src
cd ~/RRbot_ros
catkin_make
echo "source ~/RRbot_ros/devel/setup.bash" >> ~/.bashrc
source ~/RRbot_ros/devel/setup.bash
cd ~/RRbot_ros/src
git clone https://github.com/ros-simulation/gazebo_ros_demos.git
sudo apt-get update
sudo apt-get upgrade
sudo apt update
sudo apt-get install ros-noetic-ros-control ros-noetic-ros-controllers
sudo apt-get install ros-noetic-gazebo-ros-pkgs ros-noetic-gazebo-ros-control
cd ~/RRbot_ros
catkin_make
roslaunch rrbot_gazebo rrbot_world.launch
roslaunch rrbot_control rrbot_effort_control.launch
After running the control node, run the 'rrbot_traj_control.m' matlab file provided in the repository.
Feedback-Linearization.Control.mp4
The plot depicts the desired trajectory generated, that must be followed by the rrbot manipulator and the performance of the manipulator.