ERROR: cannot launch node of type [gazebo_ros/gzserver]: can't locate node [gzserver] in package [gazebo_ros]
I am using Ubuntu 16.04 ROS kinetic. Trying to run gazebo_ros file, but gets the following error.
J@VRL:~/catkin_ws$ roslaunch testbot_description testbot_gazebo.launch
... logging to /home/J/.ros/log/6eede284-d8ba-11e8-9fda-b4b6769e0c6e/roslaunch-VRL-6133.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://VRL:40947/
SUMMARY
========
PARAMETERS
* /robot_description: <?xml version="1....
* /robot_state_publisher/publish_frequency: 50.0
* /rosdistro: kinetic
* /rosversion: 1.12.14
* /use_sim_time: True
NODES
/
gazebo (gazebo_ros/gzserver)
gazebo_gui (gazebo_ros/gzclient)
joint_state_publisher (joint_state_publisher/joint_state_publisher)
robot_state_publisher (robot_state_publisher/robot_state_publisher)
urdf_spawner (gazebo_ros/spawn_model)
auto-starting new master
process[master]: started with pid [6143]
ROS_
MASTER_URI=http://localhost:11311
setting /run_id to 6eede284-d8ba-11e8-9fda-b4b6769e0c6e
process[rosout-1]: started with pid [6156]
started core service [/rosout]
ERROR: cannot launch node of type [gazebo_ros/gzserver]: can't locate node [gzserver] in package [gazebo_ros]
ERROR: cannot launch node of type [gazebo_ros/gzclient]: can't locate node [gzclient] in package [gazebo_ros]
process[joint_state_publisher-4]: started with pid [6169]
process[robot_state_publisher-5]: started with pid [6175]
ERROR: cannot launch node of type [gazebo_ros/spawn_model]: can't locate node [spawn_model] in package [gazebo_ros]
Do you have
gazebo_ros
installed on your system? Try to rundpkg -l | grep gazebo_ros
, if you can't see any path at all you need to install it (sudo apt install ros-DISTRO-gazebo-ros
).