Open KeelyBRao opened 7 years ago
Hello KeelyBRao
The gazebo_plugins file is not newest version.
<Step 1> Try to remove gazebo_ros_pkgs file in "catkin_ws/gazebo_ros_pkgs" .
<Step 2>
Go to catkin_ws.
cd ~/catkin_ws
<Step 3>
Clone gazebo_ros_pkgs.git.
git clone https://github.com/ros-simulation/gazebo_ros_pkgs.git -b indigo-devel
<Step 4>
Rebuild files in catkin_ws
catkin_make
Good luck~
Hello Can someone help me resolve the problem. While executing the catkin_make i get the following error
[ 90%] Built target message_to_tf [ 90%] Built target transmission_interface_parser [ 91%] Built target transmission_interface_loader [ 92%] Built target transmission_interface_loader_plugins [ 92%] Built target geoconv [ 92%] Building CXX object gazebo_ros_pkgs/gazebo_plugins/CMakeFiles/MultiCameraPlugin.dir/src/MultiCameraPlugin.cpp.o In file included from /home/bhasker/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/MultiCameraPlugin.cpp:20:0: /home/bhasker/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/include/gazebo_plugins/gazebo_ros_utils.h: In function ‘std::string gazebo::GetModelName(const SensorPtr&)’: /home/bhasker/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/include/gazebo_plugins/gazebo_ros_utils.h:65:38: error: ‘class gazebo::sensors::Sensor’ has no member named ‘ScopedName’ std::string scopedName = parent->ScopedName(); ^ /home/bhasker/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/MultiCameraPlugin.cpp: In member function ‘virtual void gazebo::MultiCameraPlugin::Load(gazebo::sensors::SensorPtr, sdf::ElementPtr)’: /home/bhasker/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/MultiCameraPlugin.cpp:63:52: error: ‘class gazebo::sensors::MultiCameraSensor’ has no member named ‘CameraCount’ for (unsigned int i = 0; i < this->parentSensor->CameraCount(); ++i) ^ /home/bhasker/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/MultiCameraPlugin.cpp:65:48: error: ‘class gazebo::sensors::MultiCameraSensor’ has no member named ‘Camera’ this->camera.push_back(this->parentSensor->Camera(i)); ^ /home/bhasker/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/MultiCameraPlugin.cpp:68:44: error: ‘class gazebo::rendering::Camera’ has no member named ‘ImageWidth’ this->width.push_back(this->camera[i]->ImageWidth()); ^ /home/bhasker/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/MultiCameraPlugin.cpp:69:45: error: ‘class gazebo::rendering::Camera’ has no member named ‘ImageHeight’ this->height.push_back(this->camera[i]->ImageHeight()); ^ /home/bhasker/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/MultiCameraPlugin.cpp:70:44: error: ‘class gazebo::rendering::Camera’ has no member named ‘ImageDepth’ this->depth.push_back(this->camera[i]->ImageDepth()); ^ /home/bhasker/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/MultiCameraPlugin.cpp:71:45: error: ‘class gazebo::rendering::Camera’ has no member named ‘ImageFormat’ this->format.push_back(this->camera[i]->ImageFormat()); ^ /home/bhasker/catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/MultiCameraPlugin.cpp:73:50: error: ‘class gazebo::sensors::MultiCameraSensor’ has no member named ‘Camera’ std::string cameraName = this->parentSensor->Camera(i)->Name(); ^ make[2]: [gazebo_ros_pkgs/gazebo_plugins/CMakeFiles/MultiCameraPlugin.dir/src/MultiCameraPlugin.cpp.o] Error 1 make[1]: [gazebo_ros_pkgs/gazebo_plugins/CMakeFiles/MultiCameraPlugin.dir/all] Error 2 make: *** [all] Error 2 Invoking "make -j1 -l1" failed
What could this mean and how to resolve this.
Thanks in advance for your help.