Closed pulver22 closed 7 years ago
Hi, which version of Gazebo are you using?
Gazebo 5! Actually I was able to compile it changing two lines of code in /home/pulver/simulator_ws/src/ardrone_gazebo/ardrone_vislab/cvg_sim_gazebo_plugins/src/gazebo_ros_sonar.cpp
l59: sensor_ = boost::dynamic_pointer_cast<sensors::RaySensor>(_sensor);
l94: range_.field_of_view = std::min(fabs((sensor_->GetAngleMax() - sensor_->GetAngleMin()).Radian()), fabs((sensor_->GetVerticalAngleMax() - sensor_->GetVerticalAngleMin()).Radian()));
On Indigo I still have other problems but they are not related with compilation! so we can also close this thread but I'd like to know if you experience any problems in compiling on Indigo because I had the same problems on two different machines and nothing on a Kinetic's one!
I'm running the repository on 2 machines, one with indigo and the other one with kinetic. In both of them I've installed Gazebo 7. At the beginning I tested the code also on Gazebo 5 and it was working. I don't know if some of the last changes broke the compatibility with Gazebo 5 (I added a contact sensor, a laser sensor and I created an "Aruco" sensor for the project on which I'm working on. You can try to remove them if you don't need them and see if it compiles).
I confirm that those problem arise only with Gazebo 5 but changing those line you can compile with success! Therefore, I close the issue! Please open it again if you need!
I am trying to compile this workspace on two different pc with ROS Indigo and I always got the following error:
I was wondering if anyone else got stuck at this point!