I have ROS Melodic on my computer. I started by installing Sphero ROS (https://github.com/eborghi10/Sphero-ROS) for controlling through the keyboard. Then I also installed ROS turtlebot (https://github.com/turtlebot/turtlebot). Finally I installed the Robot Controllers (https://github.com/fetchrobotics/robot_controllers).
I ran catkin_make but I keep getting this error -
/home/ritesh/catkin_ws/src/Sphero-ROS-master/sphero_gazebo/src/gazebo_sphero_controller.cpp:23:10: fatal error: gazebo/math/gzmath.hh: No such file or directory
include
compilation terminated.
Sphero-ROS-master/sphero_gazebo/CMakeFiles/gazebo_sphero_controller.dir/build.make:62: recipe for target 'Sphero-ROS-master/sphero_gazebo/CMakeFiles/gazebo_sphero_controller.dir/src/gazebo_sphero_controller.cpp.o' failed
make[2]: [Sphero-ROS-master/sphero_gazebo/CMakeFiles/gazebo_sphero_controller.dir/src/gazebo_sphero_controller.cpp.o] Error 1
CMakeFiles/Makefile2:6580: recipe for target 'Sphero-ROS-master/sphero_gazebo/CMakeFiles/gazebo_sphero_controller.dir/all' failed
make[1]: [Sphero-ROS-master/sphero_gazebo/CMakeFiles/gazebo_sphero_controller.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: * [all] Error 2
Invoking "make -j4 -l4" failed
I looked for solutions online but am unable to fix it. Can someone help please?
↧