Probably due to the API changes. Maybe this requires upgrading to gazeb 9?
Starting >>> rotors_gazebo_plugins
__________________________________________________________________________________________________________________
Warnings << rotors_gazebo_plugins:check /home/nikhil/Desktop/workspaces/rl_ws/logs/rotors_gazebo_plugins/build.check.000.log
WARNGAZEBO Version 7.0.0
WARNGAZEBO older than v9 detected. Autobackporting source files
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message):
catkin_package() DEPENDS on 'octomap' but neither 'octomap_INCLUDE_DIRS'
nor 'octomap_LIBRARIES' is defined.
Call Stack (most recent call first):
/opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
CMakeLists.txt:229 (catkin_package)
WARNMAVLINK_HEADER_DIR not provided, falling back to looking at default paths...
WARNMavlink headers found and mavros version check successful, building MavlinkInterfacePlugin
cd /home/nikhil/Desktop/workspaces/rl_ws/build/rotors_gazebo_plugins; catkin build --get-env rotors_gazebo_plugins | catkin env -si /usr/bin/make cmake_check_build_system; cd -
..................................................................................................................
__________________________________________________________________________________________________________________
Errors << rotors_gazebo_plugins:make /home/nikhil/Desktop/workspaces/rl_ws/logs/rotors_gazebo_plugins/build.make.002.log
[libprotobuf WARNING google/protobuf/descriptor.cc:5411] Warning: Unused import: "MagneticField.proto" imports "quaternion.proto" which is not used.
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/liftdrag_plugin/liftdrag_plugin.cpp: In member function ‘virtual void gazebo::LiftDragPlugin::Load(gazebo::physics::ModelPtr, sdf::ElementPtr)’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/liftdrag_plugin/liftdrag_plugin.cpp:75:32: error: ‘class gazebo::physics::World’ has no member named ‘Physics’
this->physics = this->world->Physics();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/liftdrag_plugin/liftdrag_plugin.cpp: In member function ‘virtual void gazebo::LiftDragPlugin::OnUpdate()’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/liftdrag_plugin/liftdrag_plugin.cpp:165:46: error: ‘class gazebo::physics::Link’ has no member named ‘WorldLinearVel’
ignition::math::Vector3d vel = this->link->WorldLinearVel(this->cp);
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/liftdrag_plugin/liftdrag_plugin.cpp:178:45: error: ‘class gazebo::physics::Link’ has no member named ‘WorldPose’
ignition::math::Pose3d pose = this->link->WorldPose();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/liftdrag_plugin/liftdrag_plugin.cpp:285:47: error: ‘class gazebo::physics::Joint’ has no member named ‘Position’
double controlAngle = this->controlJoint->Position(0);
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/liftdrag_plugin/liftdrag_plugin.cpp:346:43: error: ‘class gazebo::physics::Inertial’ has no member named ‘CoG’
this->cp - this->link->GetInertial()->CoG());
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp: In member function ‘void gazebo::GazeboPressurePlugin::OnUpdate(const gazebo::common::UpdateInfo&)’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:106:39: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’
common::Time current_time = world_->SimTime();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_pressure_plugin.cpp:109:50: error: ‘class gazebo::physics::Model’ has no member named ‘WorldPose’
double height_geometric_m = ref_alt_ + model_->WorldPose().Pos().Z();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_gps_plugin.cpp: In member function ‘virtual void gazebo::GazeboGpsPlugin::Load(gazebo::sensors::SensorPtr, sdf::ElementPtr)’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_gps_plugin.cpp:72:58: error: ‘class gazebo::physics::World’ has no member named ‘EntityByName’
boost::dynamic_pointer_cast<physics::Link>(world_->EntityByName(link_name));
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_gps_plugin.cpp: In member function ‘void gazebo::GazeboGpsPlugin::OnUpdate()’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_gps_plugin.cpp:169:56: error: ‘class gazebo::physics::Link’ has no member named ‘WorldLinearVel’
ignition::math::Vector3d W_ground_speed_W_L = link_->WorldLinearVel();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_motor_model.cpp: In member function ‘virtual void gazebo::GazeboMotorModel::Publish()’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_motor_model.cpp:40:36: error: ‘class gazebo::physics::Joint’ has no member named ‘Position’
position_msg_.set_data(joint_->Position(0));
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_motor_model.cpp: In member function ‘virtual void gazebo::GazeboMotorModel::UpdateForcesAndMoments()’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_motor_model.cpp:393:43: error: ‘class gazebo::physics::Joint’ has no member named ‘Position’
double err = NormalizeAngle(joint_->Position(0)) - NormalizeAngle(ref_motor_input_);
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_motor_model.cpp:440:53: error: ‘class gazebo::physics::Joint’ has no member named ‘GlobalAxis’
ignition::math::Vector3d joint_axis = joint_->GlobalAxis(0);
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_magnetometer_plugin.cpp: In member function ‘void gazebo::GazeboMagnetometerPlugin::OnUpdate(const gazebo::common::UpdateInfo&)’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_magnetometer_plugin.cpp:156:41: error: ‘class gazebo::physics::Link’ has no member named ‘WorldPose’
ignition::math::Pose3d T_W_B = link_->WorldPose();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_magnetometer_plugin.cpp:157:39: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’
common::Time current_time = world_->SimTime();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_motor_model.cpp:441:57: error: ‘class gazebo::physics::Link’ has no member named ‘WorldLinearVel’
ignition::math::Vector3d body_velocity_W = link_->WorldLinearVel();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_motor_model.cpp:457:18: error: ‘class gazebo::physics::Link’ has no member named ‘WorldCoGPose’
link_->WorldCoGPose() - parent_links.at(0)->WorldCoGPose();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_motor_model.cpp:457:55: error: ‘class gazebo::physics::Link’ has no member named ‘WorldCoGPose’
link_->WorldCoGPose() - parent_links.at(0)->WorldCoGPose();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_multirotor_base_plugin.cpp: In member function ‘void gazebo::GazeboMultirotorBasePlugin::OnUpdate(const gazebo::common::UpdateInfo&)’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_multirotor_base_plugin.cpp:100:30: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’
common::Time now = world_->SimTime();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_multirotor_base_plugin.cpp:123:46: error: ‘class gazebo::physics::Joint’ has no member named ‘Position’
joint_state_msg_.add_position(m->second->Position(0));
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_controller_interface.cpp: In member function ‘void gazebo::GazeboControllerInterface::OnUpdate(const gazebo::common::UpdateInfo&)’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_controller_interface.cpp:87:30: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’
common::Time now = world_->SimTime();
^
make[2]: *** [CMakeFiles/LiftDragPlugin.dir/src/liftdrag_plugin/liftdrag_plugin.cpp.o] Error 1
make[1]: *** [CMakeFiles/LiftDragPlugin.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp: In member function ‘virtual void gazebo::GazeboMavlinkInterface::Load(gazebo::physics::ModelPtr, sdf::ElementPtr)’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:124:41: error: ‘Any’ is not a member of ‘gazebo::msgs’
node_handle_->Advertise<gazebo::msgs::Any>(gztopic_[index]);
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:124:41: error: ‘Any’ is not a member of ‘gazebo::msgs’
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:124:75: error: no matching function for call to ‘gazebo::transport::Node::Advertise(std::__cxx11::string&)’
node_handle_->Advertise<gazebo::msgs::Any>(gztopic_[index]);
^
In file included from /usr/include/gazebo-7/gazebo/transport/transport.hh:6:0,
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:22,
from /usr/include/gazebo-7/gazebo/gazebo.hh:20,
from /home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/include/rotors_gazebo_plugins/gazebo_mavlink_interface.h:49,
from /home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:22:
/usr/include/gazebo-7/gazebo/transport/Node.hh:153:31: note: candidate: template<class M> gazebo::transport::PublisherPtr gazebo::transport::Node::Advertise(const string&, unsigned int, double)
transport::PublisherPtr Advertise(const std::string &_topic,
^
/usr/include/gazebo-7/gazebo/transport/Node.hh:153:31: note: template argument deduction/substitution failed:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:124:75: error: template argument 1 is invalid
node_handle_->Advertise<gazebo::msgs::Any>(gztopic_[index]);
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:202:24: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’
last_time_ = world_->SimTime();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:203:28: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’
last_imu_time_ = world_->SimTime();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_imu_plugin.cpp: In member function ‘virtual void gazebo::GazeboImuPlugin::Load(gazebo::physics::ModelPtr, sdf::ElementPtr)’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_imu_plugin.cpp:119:24: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’
last_time_ = world_->SimTime();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:266:28: error: ‘class gazebo::physics::World’ has no member named ‘Name’
auto worldName = world_->Name();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_imu_plugin.cpp: In member function ‘void gazebo::GazeboImuPlugin::OnUpdate(const gazebo::common::UpdateInfo&)’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_imu_plugin.cpp:276:39: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’
common::Time current_time = world_->SimTime();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_imu_plugin.cpp:281:41: error: ‘class gazebo::physics::Link’ has no member named ‘WorldPose’
ignition::math::Pose3d T_W_I = link_->WorldPose(); // TODO(burrimi): Check tf.
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_imu_plugin.cpp:285:14: error: ‘class gazebo::physics::Link’ has no member named ‘RelativeLinearAccel’
link_->RelativeLinearAccel() - C_W_I.RotateVectorReverse(gravity_W_);
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_imu_plugin.cpp:287:51: error: ‘class gazebo::physics::Link’ has no member named ‘RelativeAngularVel’
ignition::math::Vector3d angular_vel_I = link_->RelativeAngularVel();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp: In member function ‘void gazebo::GazeboMavlinkInterface::OnUpdate(const gazebo::common::UpdateInfo&)’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:338:39: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’
common::Time current_time = world_->SimTime();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp: In member function ‘void gazebo::GazeboMavlinkInterface::ImuCallback(gazebo::ImuPtr&)’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:408:39: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’
common::Time current_time = world_->SimTime();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:421:44: error: ‘class gazebo::physics::Model’ has no member named ‘WorldPose’
ignition::math::Vector3d pos_g = model_->WorldPose().Pos();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:430:33: error: ‘class gazebo::physics::Model’ has no member named ‘RelativeLinearVel’
q_br.RotateVector(model_->RelativeLinearVel());
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:431:62: error: ‘class gazebo::physics::Model’ has no member named ‘WorldLinearVel’
ignition::math::Vector3d vel_n = q_ng.RotateVector(model_->WorldLinearVel());
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:433:33: error: ‘class gazebo::physics::Model’ has no member named ‘RelativeAngularVel’
q_br.RotateVector(model_->RelativeAngularVel());
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:450:36: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’
sensor_msg.time_usec = world_->SimTime().Double() * 1e6;
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:534:33: error: ‘class gazebo::physics::Model’ has no member named ‘RelativeLinearAccel’
q_br.RotateVector(model_->RelativeLinearAccel());
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:538:38: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’
hil_state_quat.time_usec = world_->SimTime().Double() * 1e6;
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:559:15: error: ‘class gazebo::physics::Model’ has no member named ‘WorldLinearVel’
model_->WorldLinearVel().Length() * 100; // no wind simulated
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp: In member function ‘void gazebo::GazeboMavlinkInterface::OpticalFlowCallback(gazebo::OpticalFlowPtr&)’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:602:34: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’
sensor_msg.time_usec = world_->SimTime().Double() * 1e6;
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp: In member function ‘void gazebo::GazeboMavlinkInterface::handle_message(mavlink_message_t*)’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:670:37: error: ‘class gazebo::physics::World’ has no member named ‘SimTime’
last_actuator_time_ = world_->SimTime();
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp: In member function ‘void gazebo::GazeboMavlinkInterface::handle_control(double)’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:733:38: error: ‘class gazebo::physics::Joint’ has no member named ‘Position’
double current = joints_[i]->Position(0);
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:738:9: error: ‘Any’ is not a member of ‘gazebo::msgs’
gazebo::msgs::Any m;
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:739:9: error: ‘m’ was not declared in this scope
m.set_type(gazebo::msgs::Any_ValueType_DOUBLE);
^
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/gazebo_mavlink_interface.cpp:739:20: error: ‘Any_ValueType_DOUBLE’ is not a member of ‘gazebo::msgs’
m.set_type(gazebo::msgs::Any_ValueType_DOUBLE);
^
make[2]: *** [CMakeFiles/rotors_gazebo_pressure_plugin.dir/src/gazebo_pressure_plugin.cpp.o] Error 1
make[1]: *** [CMakeFiles/rotors_gazebo_pressure_plugin.dir/all] Error 2
make[2]: *** [CMakeFiles/rotors_gazebo_gps_plugin.dir/src/gazebo_gps_plugin.cpp.o] Error 1
make[1]: *** [CMakeFiles/rotors_gazebo_gps_plugin.dir/all] Error 2
make[2]: *** [CMakeFiles/rotors_gazebo_magnetometer_plugin.dir/src/gazebo_magnetometer_plugin.cpp.o] Error 1
make[1]: *** [CMakeFiles/rotors_gazebo_magnetometer_plugin.dir/all] Error 2
make[2]: *** [CMakeFiles/rotors_gazebo_motor_model.dir/src/gazebo_motor_model.cpp.o] Error 1
make[1]: *** [CMakeFiles/rotors_gazebo_motor_model.dir/all] Error 2
make[2]: *** [CMakeFiles/rotors_gazebo_multirotor_base_plugin.dir/src/gazebo_multirotor_base_plugin.cpp.o] Error 1
make[1]: *** [CMakeFiles/rotors_gazebo_multirotor_base_plugin.dir/all] Error 2
make[2]: *** [CMakeFiles/rotors_gazebo_controller_interface.dir/src/gazebo_controller_interface.cpp.o] Error 1
make[1]: *** [CMakeFiles/rotors_gazebo_controller_interface.dir/all] Error 2
make[2]: *** [CMakeFiles/rotors_gazebo_imu_plugin.dir/src/gazebo_imu_plugin.cpp.o] Error 1
make[1]: *** [CMakeFiles/rotors_gazebo_imu_plugin.dir/all] Error 2
make[2]: *** [CMakeFiles/rotors_gazebo_mavlink_interface.dir/src/gazebo_mavlink_interface.cpp.o] Error 1
make[1]: *** [CMakeFiles/rotors_gazebo_mavlink_interface.dir/all] Error 2
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/external/gazebo_geotagged_images_plugin.cpp: In member function ‘void gazebo::GeotaggedImagesPlugin::OnNewFrame(const unsigned char*)’:
/home/nikhil/Desktop/workspaces/rl_ws/src/rotors_simulator/rotors_gazebo_plugins/src/external/gazebo_geotagged_images_plugin.cpp:176:26: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
system(gps_tag_command);
^
make: *** [all] Error 2
cd /home/nikhil/Desktop/workspaces/rl_ws/build/rotors_gazebo_plugins; catkin build --get-env rotors_gazebo_plugins | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
..................................................................................................................
Failed << rotors_gazebo_plugins:make [ Exited with code 2 ]
Failed <<< rotors_gazebo_plugins [ 30.3 seconds ]
Abandoned <<< rotors_gazebo [ Unrelated job failed ]
[build] Summary: 14 of 16 packages succeeded.
[build] Ignored: 2 packages were skipped or are blacklisted.
[build] Warnings: 3 packages succeeded with warnings.
[build] Abandoned: 1 packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 42.6 seconds total.
Probably due to the API changes. Maybe this requires upgrading to gazeb 9?