i cant catkin_make in my work space . i heve this error : howcan i fix that ??> [ 68%] Built target ecl_demo_poll [ 68%] [ 68%] Built target> ecl_demo_socketpair Built target> ecl_demo_sockets [ 68%] Built target> demo_time_functions [ 68%] Built> target demo_formatters [ 71%] Built> target ecl_time [ 71%] Built target> demo_container_formatters [ 71%] Built> target> ar_track_alvar_msgs_generate_messages> [ 71%] Built target> kobuki_msgs_generate_messages [ 72%]> Built target ecl_linear_algebra [ 72%]> Built target kobuki_msgs_gencpp [ 72%]> Built target> yocs_msgs_generate_messages [ 72%]> Built target joyop [ 72%] Built target> yocs_msgs_gencpp [ 73%] [ 73%] Built> target ecl_time_example_sleep Built> target> ecl_time_example_random_number_generator> [ 73%] Built target yocs_navi_toolkit> [ 74%] [ 74%] Built target ecl_threads> Built target ecl_ipc [ 74%] Built> target ecl_statistics [ 74%] Built> target keyop [ 74%] Built target> kobuki_bumper2pc_nodelet [ 77%] Built> target ecl_geometry [ 77%] [ 78%]> Built target> bump_blink_controller_nodelet Building> CXX object> kobuki_desktop-kinetic/kobuki_gazebo_plugins/CMakeFiles/gazebo_ros_kobuki.dir/src/gazebo_ros_kobuki_updates.cpp.o> [ 78%] Built target> kobuki_random_walker_nodelet [ 78%]> Built target> kobuki_safety_controller_nodelet [> 79%] Built target yocs_keyop [ 79%]> Built target yocs_math_toolkit [ 79%]> Building CXX object> kobuki_desktop-kinetic/kobuki_gazebo_plugins/CMakeFiles/gazebo_ros_kobuki.dir/src/gazebo_ros_kobuki_loads.cpp.o> [ 80%] Built target> yocs_safety_controller_nodelet [ 80%]> Built target> yocs_velocity_smoother_nodelet [ 80%]> Built target yocs_virtual_sensor_node> [ 81%] Built target> waypoint_provider_yaml_parser_lib [> 81%] Built target kobuki_qtestsuite [> 81%] Built target> waypoint_provider_lib [ 81%] Built> target demo_mutex [ 82%] Built target> yocs_waypoints_navi_node [ 82%] Built> target demo_thread [ 85%] Built target> ecl_devices [ 85%] Built target> demo_sigslots [ 85%] Built target> demo_sigslots_manager [ 86%] Built> target ecl_streams [ 86%] Built target> ecl_mobile_robot [ 86%] Built target> yocs_ar_marker_tracking [ 87%] Built> target kobuki_dock_drive [ 87%] [ 87%]> Built target> yocs_diff_drive_pose_controller Built> target yocs_ar_pair_tracking [ 88%]> Built target yocs_ar_pair_client [> 88%] Built target> yocs_basic_move_controller [ 88%]> Built target waypoint_provider [ 88%]> Built target demo_serial_timeouts [> 88%] [ 88%] Built target> demo_console_streams Built target> demo_log_streams [ 89%] Built target> bench_containers [ 89%] Built target> bench_eigen3_decompositions [ 89%]> Built target bench_eigen3_inverse [> 89%] Built target> bench_eigen3_transforms [ 89%] Built> target bench_exceptions [ 90%] Built> target bench_files [ 90%] Built target> bench_flops [ 90%] Built target> bench_snooze [ 90%] [ 90%] Built> target bench_streams Built target> bench_string_conversions [ 90%] Built> target ecl_process_statistics [ 90%]> Built target ecl_hex [ 91%] [ 91%]> Built target ecl_serial Built target> ecl_quaternion2yaw [ 91%] [ 91%] Built> target ecl_socket_client Built target> ecl_socket_server [ 91%] Built target> ecl_yaw2quaternion [ 94%] Built target> kobuki [ 94%] Built target> kobuki_auto_docking_ros [ 94%] Built> target yocs_ar_marker_tracking_node [> 94%] Built target> yocs_diff_drive_pose_controller_nodelet> [ 94%] Built target> yocs_ar_pair_tracking_node [ 94%]> Built target yocs_semantic_navigator [> 94%] Built target> demo_kobuki_initialisation [ 95%]> Built target kobuki_ros [ 96%] Built> target demo_kobuki_sigslots [ 97%]> Built target kobuki_velocity_commands> [ 97%] Built target> demo_kobuki_simple_loop [ 97%] Built> target simple_keyop [ 97%] Built> target version_info [ 98%] Built> target yocs_semantic_navigator_node [> 98%] Built target> kobuki_auto_docking_nodelet [ 98%]> Built target kobuki_nodelet> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:> In member function ‘void
> gazebo::GazeboRosKobuki::updateOdometry(gazebo::common::Time&)’:
>>> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:92:24:>> error: ‘class
>> gazebo::sensors::ImuSensor’ has no
>> member named ‘AngularVelocity’
>> vel_angular_ =>> imu_->AngularVelocity();>> ^ /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:>> In member function ‘bool
>> gazebo::GazeboRosKobuki::prepareCliffSensor()’:
>> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:216:93:>> error: no matching function for call>> to>>‘dynamic_pointer_cast(gazebo::sensors::SensorPtr)’
>> sensors::SensorManager::Instance()->GetSensor(cliff_sensor_left_name));>> ^>> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:216:93:>> note: candidates are: In file included>> from>> /usr/include/c++/4.8/bits/shared_ptr.h:52:0,>> from /usr/include/c++/4.8/memory:82,>> from /usr/include/boost/config/no_tr1/memory.hpp:21,>> from /usr/include/boost/get_pointer.hpp:14,>> from /usr/include/boost/bind/mem_fn.hpp:25,>> from /usr/include/boost/mem_fn.hpp:22,>> from /usr/include/boost/bind/bind.hpp:26,>> from /usr/include/boost/bind.hpp:22,>> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/include/kobuki_gazebo_plugins/gazebo_ros_kobuki.h:42,>> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:36:>> /usr/include/c++/4.8/bits/shared_ptr_b>> ase.h:1177:5: note: template _Tp, class _Tp1, __gnu_cxx::_Lock_policy _Lp> std::__shared_ptr<_Tp1, _Lp>> std::dynamic_pointer_cast(const> std::__shared_ptr<_Tp2, _Lp>&)> dynamic_pointer_cast(const __shared_ptr<_Tp1, _Lp>& __r) noexcept> ^ /usr/include/c++/4.8/bits/shared_ptr_base.h:1177:5:> note: template argument> deduction/substitution failed:> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:216:93:> note: ‘gazebo::sensors::SensorPtr
> {aka> boost::shared_ptr}’
> is not derived from ‘const
> std::__shared_ptr<_Tp2, _Lp>’
> sensors::SensorManager::Instance()->GetSensor(cliff_sensor_left_name));> ^>>> In file included from> /usr/include/c++/4.8/memory:82:0,> from /usr/include/boost/config/no_tr1/memory.hpp:21,> from /usr/include/boost/get_pointer.hpp:14,> from /usr/include/boost/bind/mem_fn.hpp:25,> from /usr/include/boost/mem_fn.hpp:22,> from /usr/include/boost/bind/bind.hpp:26,> from /usr/include/boost/bind.hpp:22,> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/include/kobuki_gazebo_plugins/gazebo_ros_kobuki.h:42,> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:36:> /usr/include/c++/4.8/bits/shared_ptr.h:447:5:> note: template> std::shared_ptr<_Tp1>> std::dynamic_pointer_cast(const> std::shared_ptr<_Tp2>&)> dynamic_pointer_cast(const shared_ptr<_Tp1>& __r) noexcept> ^> /usr/include/c++/4.8/bits/shared_ptr.h:447:5:> note: template argument> deduction/substitution failed:> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:216:93:> note: ‘gazebo::sensors::SensorPtr
> {aka> boost::shared_ptr}’
> is not derived from ‘const
> std::shared_ptr<_Tp2>’
> sensors::SensorManager::Instance()->GetSensor(cliff_sensor_left_name));> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:218:96:> error: no matching function for call> to>‘dynamic_pointer_cast(gazebo::sensors::SensorPtr)’
> sensors::SensorManager::Instance()->GetSensor(cliff_sensor_center_name));> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:218:96:> note: candidates are:> In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,> from /usr/include/c++/4.8/memory:82,> from /usr/include/boost/config/no_tr1/memory.hpp:21,> from /usr/include/boost/get_pointer.hpp:14,> from /usr/include/boost/bind/mem_fn.hpp:25,> from /usr/include/boost/mem_fn.hpp:22,> from /usr/include/boost/bind/bind.hpp:26,> from /usr/include/boost/bind.hpp:22,> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/include/kobuki_gazebo_plugins/gazebo_ros_kobuki.h:42,> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:36:> /usr/include/c++/4.8/bits/shared_ptr_base.h:1177:5:> note: template __gnu_cxx::_Lock_policy _Lp> std::__shared_ptr<_Tp1, _Lp>> std::dynamic_pointer_cast(const> std::__shared_ptr<_Tp2, _Lp>&)> dynamic_pointer_cast(const __shared_ptr<_Tp1, _Lp>& __r) noexcept> ^> /usr/include/c++/4.8/bits/shared_ptr_base.h:1177:5:> note: template argument> deduction/substitution failed:> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:218:96:> note: ‘gazebo::sensors::SensorPtr
> {aka> boost::shared_ptr}’
> is not derived from ‘const
> std::__shared_ptr<_Tp2, _Lp>’
> sensors::SensorManager::Instance()->GetSensor(cliff_sensor_center_name));> ^> In file included from /usr/include/c++/4.8/memory:82:0,> from /usr/include/boost/config/no_tr1/memory.hpp:21,> from /usr/inc
lude/boost/get_pointer.hpp:14,
> from /usr/include/boost/bind/mem_fn.hpp:25,> from /usr/include/boost/mem_fn.hpp:22,> from /usr/include/boost/bind/bind.hpp:26,> from /usr/include/boost/bind.hpp:22,> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/include/kobuki_gazebo_plugins/gazebo_ros_kobuki.h:42,> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:36:> /usr/include/c++/4.8/bits/shared_ptr.h:447:5:> note: template> std::shared_ptr<_Tp1>> std::dynamic_pointer_cast(const> std::shared_ptr<_Tp2>&)> dynamic_pointer_cast(const shared_ptr<_Tp1>& __r) noexcept> ^> /usr/include/c++/4.8/bits/shared_ptr.h:447:5:> note: template argument> deduction/substitution failed:> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:218:96:> note: ‘gazebo::sensors::SensorPtr
> {aka> boost::shared_ptr}’
> is not derived from ‘const
> std::shared_ptr<_Tp2>’
> sensors::SensorManager::Instance()->GetSensor(cliff_sensor_center_name));> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:220:95:> error: no matching function for call> to>‘dynamic_pointer_cast(gazebo::sensors::SensorPtr)’
> sensors::SensorManager::Instance()->GetSensor(cliff_sensor_right_name));> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:220:95:> note: candidates are:> In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,> from /usr/include/c++/4.8/memory:82,> from /usr/include/boost/config/no_tr1/memory.hpp:21,> from /usr/include/boost/get_pointer.hpp:14,> from /usr/include/boost/bind/mem_fn.hpp:25,> from /usr/include/boost/mem_fn.hpp:22,> from /usr/include/boost/bind/bind.hpp:26,>> from /usr/include/boost/bind.hpp:22,>> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/include/kobuki_gazebo_plugins/gazebo_ros_kobuki.h:42,>> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:36:>> /usr/include/c++/4.8/bits/shared_ptr_base.h:1177:5:>> note: template> __gnu_cxx::_Lock_policy _Lp> std::__shared_ptr<_Tp1, _Lp>>> std::dynamic_pointer_cast(const>> std::__shared_ptr<_Tp2, _Lp>&)>> dynamic_pointer_cast(const> __shared_ptr<_Tp1, _Lp>& __r) noexcept>> ^>> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:>> In member function ‘void
>> gazebo::GazeboRosKobuki::updateIMU()’:
>> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:147:33:>> error: ‘class
>> gazebo::sensors::ImuSensor’ has no
>> member named ‘Orientation’
>> math::Quaternion quat = imu_->Orientation();>> ^>> /usr/include/c++/4.8/bits/shared_ptr_base.h:1177:5:>> note: template argument>> deduction/substitution failed:>> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:220:95:>> note: ‘gazebo::sensors::SensorPtr
>> {aka>> boost::shared_ptr}’
>> is not derived from ‘const
>> std::__shared_ptr<_Tp2, _Lp>’
>> sensors::SensorManager::Instance()->GetSensor(cliff_sensor_right_name));>> ^>> In file included from /usr/include/c++/4.8/memory:82:0,>> from /usr/include/boost/config/no_tr1/memory.hpp:21,>> from /usr/include/boost/get_pointer.hpp:14,>> from /usr/include/boost/bind/mem_fn.hpp:25,>> from /usr/include/boost/mem_fn.hpp:22,>> from /usr/include/boost/bind/bind.hpp:26,>> from /usr/include/boost/bind.hpp:22,>> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/include/kobuki_gazebo_plugins/gazebo_ros_kobuki.h:42,>> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:36:>> /usr/include/c++/4.8/bits/shared_ptr.h:447:5:>> note: template>> std::shared_ptr<_Tp1>>> std::dynamic_pointer_cast(const>> std::shared_ptr<_Tp2>&)>> dynamic_pointer_cast(const> shared_ptr<_Tp1>& __r) noexcept>> ^>> /usr/include/c++/4.8/bits/shared_ptr.h:447:5:>> note: template argument>> deduction/substitution failed:>> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:220:95:>> note: ‘gazebo::sensors::SensorPtr
>> {aka>> boost::shared_ptr}’
>> is not derived from ‘const
>> std::shared_ptr<_Tp2>’
>> sensors::SensorManager::Instance()->GetSensor(cliff_sensor_right_name));>> ^>> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:161:33:>> error: ‘class
>> gazebo::sensors::ImuSensor’ has no
>> member named ‘LinearAcceleration’
>> math::Vector3 lin_acc = imu_->LinearAcceleration();>> ^>> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:>> In member function ‘void
>> gazebo::GazeboRosKobuki::updateCliffSensor()’:
>> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins>> /src/gazebo_ros_kobuki_updates.cpp:191:28:> error: ‘class
> gazebo::sensors::RaySensor’ has no
> member named ‘Range’
> (cliff_sensor_left_->Range(0) >=> cliff_detection_threshold_))> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:197:78:> error: ‘class
> gazebo::sensors::RaySensor’ has no
> member named ‘Range’
> cliff_event_.bottom = (int)(76123.0f * atan2(0.995f,> cliff_sensor_left_->Range(0)));> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:201:34:> error: ‘class
> gazebo::sensors::RaySensor’ has no
> member named ‘Range’
> (cliff_sensor_left_->Range(0) <> cliff_detection_threshold_))> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:207:78:> error: ‘class
> gazebo::sensors::RaySensor’ has no
> member named ‘Range’
> cliff_event_.bottom = (int)(76123.0f * atan2(0.995f,> cliff_sensor_left_->Range(0)));> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:212:30:> error: ‘class
> gazebo::sensors::RaySensor’ has no
> member named ‘Range’
> (cliff_sensor_center_->Range(0) >=> cliff_detection_threshold_))> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:218:80:> error: ‘class
> gazebo::sensors::RaySensor’ has no
> member named ‘Range’
> cliff_event_.bottom = (int)(76123.0f * atan2(0.995f,> cliff_sensor_center_->Range(0)));> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:222:36:> error: ‘class
> gazebo::sensors::RaySensor’ has no
> member named ‘Range’
> (cliff_sensor_center_->Range(0) <> cliff_detection_threshold_))> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:228:80:> error: ‘class
> gazebo::sensors::RaySensor’ has no
> member named ‘Range’
> cliff_event_.bottom = (int)(76123.0f * atan2(0.995f,> cliff_sensor_center_->Range(0)));> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:233:29:> error: ‘class
> gazebo::sensors::RaySensor’ has no
> member named ‘Range’
> (cliff_sensor_right_->Range(0) >=> cliff_detection_threshold_))> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:239:79:> error: ‘class
> gazebo::sensors::RaySensor’ has no
> member named ‘Range’
> cliff_event_.bottom = (int)(76123.0f * atan2(0.995f,> cliff_sensor_right_->Range(0)));> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:243:35:> error: ‘class
> gazebo::sensors::RaySensor’ has no
> member named ‘Range’
> (cliff_sensor_right_->Range(0) <> cliff_detection_threshold_))> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:249:79:> error: ‘class
> gazebo::sensors::RaySensor’ has no
> member named ‘Range’
> cliff_event_.bottom = (int)(76123.0f * atan2(0.995f,> cliff_sensor_right_->Range(0)));> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:> In member function ‘void
> gazebo::GazeboRosKobuki::updateBumper()’:
> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_updates.cpp:271:23:> error: ‘class
> gazebo::sensors::ContactSensor’ has no
> member named ‘Contacts’
> contacts = bumper_->Contacts();> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:> In member function ‘bool
> gazebo::GazeboRosKobuki::prepareBumper()’:
> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:271:71:> error: no matching function for call> to>‘dynamic_pointer_cast(gazebo::sensors::SensorPtr)’
> sensors::SensorManager::Instance()->GetSensor(bumper_name));> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:271:71:> note: candidates are:> In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,> from /usr/include/c++/4.8/memory:82,> from /usr/include/boost/config/no_tr1/memory.hpp:21,> from /usr/include/boost/get_pointer.hpp:14,> from /usr/include/boost/bind/mem_fn.hpp:25,> from /usr/include/boost/mem_fn.hpp:22,> from /usr/include/boost/bind/bind.hpp:26,> from /usr/include/boost/bind.hpp:22,> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/include/kobuki_gazebo_plugins/gazebo_ros_kobuki.h:42,> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:36:> /usr/include/c++/4.8/bits/shared_ptr_base.h:1177:5:> note: template __gnu_cxx::_Lock_policy _Lp> std::__shared_ptr<_Tp1, _Lp>> std::dynamic_pointer_cast(const> std::__shared_ptr<_Tp2, _Lp>&)> dynamic_pointer_cast(const
__shared_ptr<_Tp1, _Lp>& __r) noexcept> ^> /usr/include/c++/4.8/bits/shared_ptr_base.h:1177:5:> note: template argument> deduction/substitution failed:> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:271:71:> note: ‘gazebo::sensors::SensorPtr
> {aka> boost::shared_ptr}’
> is not derived from ‘const
> std::__shared_ptr<_Tp2, _Lp>’
> sensors::SensorManager::Instance()->GetSensor(bumper_name));> ^> In file included from /usr/include/c++/4.8/memory:82:0,> from /usr/include/boost/config/no_tr1/memory.hpp:21,> from /usr/include/boost/get_pointer.hpp:14,> from /usr/include/boost/bind/mem_fn.hpp:25,> from /usr/include/boost/mem_fn.hpp:22,> from /usr/include/boost/bind/bind.hpp:26,> from /usr/include/boost/bind.hpp:22,> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/include/kobuki_gazebo_plugins/gazebo_ros_kobuki.h:42,> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:36:> /usr/include/c++/4.8/bits/shared_ptr.h:447:5:> note: template> std::shared_ptr<_Tp1>> std::dynamic_pointer_cast(const> std::shared_ptr<_Tp2>&)> dynamic_pointer_cast(const shared_ptr<_Tp1>& __r) noexcept> ^> /usr/include/c++/4.8/bits/shared_ptr.h:447:5:> note: template argument> deduction/substitution failed:> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:271:71:> note: ‘gazebo::sensors::SensorPtr
> {aka> boost::shared_ptr}’
> is not derived from ‘const
> std::shared_ptr<_Tp2>’
> sensors::SensorManager::Instance()->GetSensor(bumper_name));> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:> In member function ‘bool
> gazebo::GazeboRosKobuki::prepareIMU()’:
> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:298:97:> error: no matching function for call> to>‘dynamic_pointer_cast(gazebo::sensors::SensorPtr)’
> sensors::get_sensor(world_->GetName()+"::"+node_name_+"::base_footprint::"+imu_name));> ^> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:298:97:> note: candidates are:> In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,> from /usr/include/c++/4.8/memory:82,> from /usr/include/boost/config/no_tr1/memory.hpp:21,> from /usr/include/boost/get_pointer.hpp:14,> from /usr/include/boost/bind/mem_fn.hpp:25,> from /usr/include/boost/mem_fn.hpp:22,> from /usr/include/boost/bind/bind.hpp:26,> from /usr/include/boost/bind.hpp:22,> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/include/kobuki_gazebo_plugins/gazebo_ros_kobuki.h:42,> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:36:> /usr/include/c++/4.8/bits/shared_ptr_base.h:1177:5:> note: template __gnu_cxx::_Lock_policy _Lp> std::__shared_ptr<_Tp1, _Lp>> std::dynamic_pointer_cast(const> std::__shared_ptr<_Tp2, _Lp>&)> dynamic_pointer_cast(const
__shared_ptr<_Tp1, _Lp>& __r) noexcept> ^> /usr/include/c++/4.8/bits/shared_ptr_base.h:1177:5:> note: template argument> deduction/substitution failed:> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:298:97:> note: ‘gazebo::sensors::SensorPtr
> {aka> boost::shared_ptr}’
> is not derived from ‘const
> std::__shared_ptr<_Tp2, _Lp>’
> sensors::get_sensor(world_->GetName()+"::"+node_name_+"::base_footprint::"+imu_name));> ^> In file included from /usr/include/c++/4.8/memory:82:0,> from /usr/include/boost/config/no_tr1/memory.hpp:21,> from /usr/include/boost/get_pointer.hpp:14,> from /usr/include/boost/bind/mem_fn.hpp:25,> from /usr/include/boost/mem_fn.hpp:22,> from /usr/include/boost/bind/bind.hpp:26,> from /usr/include/boost/bind.hpp:22,> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/include/kobuki_gazebo_plugins/gazebo_ros_kobuki.h:42,> from /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:36:> /usr/include/c++/4.8/bits/shared_ptr.h:447:5:> note: template> std::shared_ptr<_Tp1>> std::dynamic_pointer_cast(const> std::shared_ptr<_Tp2>&)> dynamic_pointer_cast(const shared_ptr<_Tp1>& __r) noexcept> ^> /usr/include/c++/4.8/bits/shared_ptr.h:447:5:> note: template argument> deduction/substitution failed:> /home/zakizadeh/catkin_ws2/src/kobuki_desktop-kinetic/kobuki_gazebo_plugins/src/gazebo_ros_kobuki_loads.cpp:298:97:> note: ‘gazebo::sensors::SensorPtr
> {aka> boost::shared_ptr}’
> is not derived from ‘const
> std::shared_ptr<_Tp2>’
> sensors::get_sensor(world_->GetName()+"::"+node_name_+"::base_footprint::"+imu_name));> ^> make[2]: *** [kobuki_desktop-kinetic/kobuki_gazebo_plugins/CMakeFiles/gazebo_ros_kobuki.dir/src/gazebo_ros_kobuki_updates.cpp.o]> Error 1> make[2]: *** Waiting for unfinished jobs....> make[2]: *** [kobuki_desktop-kinetic/kobuki_gazebo_plugins/CMakeFiles/gazebo_ros_kobuki.dir/src/gazebo_ros_kobuki_loads.cpp.o]> Error 1> make[1]: *** [kobuki_desktop-kinetic/kobuki_gazebo_plugins/CMakeFiles/gazebo_ros_kobuki.dir/all]> Error 2> make: *** [all] Error 2> Invoking "make -j4 -l4" failed
↧