Step1 : First, create the top level catkin workspace directory and a sub-directory named src (pronounced source). The top level directory's name is arbitrary, but is often called catkin_ws (an abbreviation of catkin_workspace), so we will follow this…