mavlink / mavros

MAVLink to ROS gateway with proxy for Ground Control Station
Other
891 stars 992 forks source link

Raspberry Pi 4b install mavros -----catkin build problem and roslunch erro #1327

Open monster66666 opened 5 years ago

monster66666 commented 5 years ago

This is only bug and feature tracker, please use it to report bugs or request features.


Issue details

https://github.com/mavlink/mavros/blob/master/mavros/README.md#installation Follow the tutorial in the link above, Source installation,error。

MAVROS version and platform

Mavros: 0.32. ROS: Kinetic raspbian:buster

Autopilot type and version

PX4

Version: 3.7.1

Node logs

pi@raspberrypi:~ $ cd ~/catkin_ws
pi@raspberrypi:~/catkin_ws $ catkin build -DCATKIN_ENABLE_TESTING=0
-------------------------------------------------------
Profile:                     default
Extending:          [cached] /opt/ros/kinetic
Workspace:                   /home/pi/catkin_ws
-------------------------------------------------------
Build Space:        [exists] /home/pi/catkin_ws/build
Devel Space:        [exists] /home/pi/catkin_ws/devel
Install Space:      [unused] /home/pi/catkin_ws/install
Log Space:          [exists] /home/pi/catkin_ws/logs
Source Space:       [exists] /home/pi/catkin_ws/src
DESTDIR:            [unused] None
-------------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
-------------------------------------------------------
Additional CMake Args:       -DCATKIN_ENABLE_TESTING=0
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
-------------------------------------------------------
Whitelisted Packages:        None
Blacklisted Packages:        None
-------------------------------------------------------
Workspace configuration appears valid.
-------------------------------------------------------
[build] Found '48' packages in 0.0 seconds.                                    
[build] Package table is up to date.                                           
Starting  >>> actionlib_msgs                                                   
Starting  >>> angles                                                           
Starting  >>> diagnostic_msgs                                                  
Starting  >>> dynamic_reconfigure                                              
Finished  <<< angles                                    [ 0.6 seconds ]        
Finished  <<< actionlib_msgs                            [ 2.3 seconds ]        
Finished  <<< diagnostic_msgs                           [ 2.8 seconds ]        
Starting  >>> geometry_msgs                                                    
Starting  >>> mavlink                                                          
Starting  >>> orocos_kdl                                                       
Finished  <<< dynamic_reconfigure                       [ 3.4 seconds ]        
Starting  >>> realtime_tools                                                   
Finished  <<< realtime_tools                            [ 0.9 seconds ]        
Finished  <<< orocos_kdl                                [ 1.8 seconds ]        
Starting  >>> rosbag_migration_rule                                            
Starting  >>> urdf_parser_plugin                                               
Finished  <<< geometry_msgs                             [ 4.9 seconds ]        
Starting  >>> uuid_msgs                                                        
Finished  <<< mavlink                                   [ 5.6 seconds ]        
Starting  >>> actionlib                                                        
Finished  <<< rosbag_migration_rule                     [ 0.5 seconds ]        
Starting  >>> python_orocos_kdl                                                
Finished  <<< urdf_parser_plugin                        [ 0.5 seconds ]        
Starting  >>> nav_msgs                                                         
Finished  <<< python_orocos_kdl                         [ 1.5 seconds ]        
Finished  <<< uuid_msgs                                 [ 2.4 seconds ]        
Starting  >>> eigen_conversions                                                
Finished  <<< nav_msgs                                  [ 4.4 seconds ]        
Starting  >>> kdl_conversions                                                  
Finished  <<< actionlib                                 [ 5.6 seconds ]        
Starting  >>> sensor_msgs                                                      
Starting  >>> shape_msgs                                                       
Finished  <<< eigen_conversions                         [ 1.6 seconds ]        
Starting  >>> tf2_msgs                                                         
Finished  <<< kdl_conversions                           [ 1.4 seconds ]        
Starting  >>> visualization_msgs                                               
Finished  <<< shape_msgs                                [ 3.6 seconds ]        
Finished  <<< visualization_msgs                        [ 4.5 seconds ]        
Finished  <<< tf2_msgs                                  [ 5.3 seconds ]        
Starting  >>> libmavconn                                                       
Starting  >>> trajectory_msgs                                                  
Starting  >>> urdf                                                             
Finished  <<< sensor_msgs                               [ 6.7 seconds ]        
Starting  >>> orocos_kinematics_dynamics                                       
Finished  <<< libmavconn                                [ 1.1 seconds ]        
Finished  <<< urdf                                      [ 0.9 seconds ]        
Starting  >>> geographic_msgs                                                  
Starting  >>> tf2                                                              
Finished  <<< trajectory_msgs                           [ 2.2 seconds ]        
Starting  >>> stereo_msgs                                                      
Finished  <<< geographic_msgs                           [ 8.6 seconds ]        
Starting  >>> control_msgs                                                     
Finished  <<< orocos_kinematics_dynamics                [ 10.0 seconds ]       
Starting  >>> mavros_msgs                                                      
_______________________________________________________________________________
Errors     << tf2:make /home/pi/catkin_ws/logs/tf2/build.make.001.log          
In file included from /home/pi/ros_catkin_ws/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:28,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/shared_ptr.hpp:17,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format/alt_sstream.hpp:21,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format/internals.hpp:23,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format.hpp:38,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/policies/error_handling.hpp:31,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/kinetic/include/ros/time.h:58,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/transform_storage.h:39,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/buffer_core.h:35,
                 from /home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:32:
/home/pi/ros_catkin_ws/boost_1_58_0/boost/smart_ptr/detail/shared_count.hpp:395:33: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
                                 ^~~~~~~~
In file included from /usr/include/c++/8/bits/locale_conv.h:41,
                 from /usr/include/c++/8/locale:43,
                 from /usr/include/c++/8/iomanip:43,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/policies/error_handling.hpp:12,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/kinetic/include/ros/time.h:58,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/transform_storage.h:39,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/buffer_core.h:35,
                 from /home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:32:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/pi/ros_catkin_ws/boost_1_58_0/boost/shared_ptr.hpp:17,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format/alt_sstream.hpp:21,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format/internals.hpp:23,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format.hpp:38,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/policies/error_handling.hpp:31,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/kinetic/include/ros/time.h:58,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/transform_storage.h:39,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/buffer_core.h:35,
                 from /home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:32:
/home/pi/ros_catkin_ws/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:242:65: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
 template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
                                                                 ^~~~~~~~
In file included from /usr/include/c++/8/bits/locale_conv.h:41,
                 from /usr/include/c++/8/locale:43,
                 from /usr/include/c++/8/iomanip:43,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/policies/error_handling.hpp:12,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/kinetic/include/ros/time.h:58,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/transform_storage.h:39,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/buffer_core.h:35,
                 from /home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:32:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/pi/ros_catkin_ws/boost_1_58_0/boost/shared_ptr.hpp:17,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format/alt_sstream.hpp:21,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format/internals.hpp:23,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format.hpp:38,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/policies/error_handling.hpp:31,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/kinetic/include/ros/time.h:58,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/transform_storage.h:39,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/buffer_core.h:35,
                 from /home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:32:
/home/pi/ros_catkin_ws/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:441:31: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()
                               ^~~~~~~~
In file included from /usr/include/c++/8/bits/locale_conv.h:41,
                 from /usr/include/c++/8/locale:43,
                 from /usr/include/c++/8/iomanip:43,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/policies/error_handling.hpp:12,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/kinetic/include/ros/time.h:58,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/transform_storage.h:39,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/buffer_core.h:35,
                 from /home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:32:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/pi/ros_catkin_ws/boost_1_58_0/boost/shared_ptr.hpp:17,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format/alt_sstream.hpp:21,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format/internals.hpp:23,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format.hpp:38,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/policies/error_handling.hpp:31,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/kinetic/include/ros/time.h:58,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/transform_storage.h:39,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/buffer_core.h:35,
                 from /home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:32:
/home/pi/ros_catkin_ws/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:454:22: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()
                      ^~~~~~~~
In file included from /usr/include/c++/8/bits/locale_conv.h:41,
                 from /usr/include/c++/8/locale:43,
                 from /usr/include/c++/8/iomanip:43,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/policies/error_handling.hpp:12,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/kinetic/include/ros/time.h:58,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/transform_storage.h:39,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/buffer_core.h:35,
                 from /home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:32:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/pi/ros_catkin_ws/boost_1_58_0/boost/shared_ptr.hpp:17,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format/alt_sstream.hpp:21,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format/internals.hpp:23,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format.hpp:38,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/policies/error_handling.hpp:31,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/kinetic/include/ros/time.h:58,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/transform_storage.h:39,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/buffer_core.h:35,
                 from /home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:32:
/home/pi/ros_catkin_ws/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:520:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     shared_ptr & operator=( std::auto_ptr<Y> & r )
                                  ^~~~~~~~
In file included from /usr/include/c++/8/bits/locale_conv.h:41,
                 from /usr/include/c++/8/locale:43,
                 from /usr/include/c++/8/iomanip:43,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/policies/error_handling.hpp:12,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/kinetic/include/ros/time.h:58,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/transform_storage.h:39,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/buffer_core.h:35,
                 from /home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:32:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/pi/ros_catkin_ws/boost_1_58_0/boost/shared_ptr.hpp:17,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format/alt_sstream.hpp:21,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format/internals.hpp:23,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format.hpp:38,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/policies/error_handling.hpp:31,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/kinetic/include/ros/time.h:58,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/transform_storage.h:39,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/buffer_core.h:35,
                 from /home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:32:
/home/pi/ros_catkin_ws/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:529:34: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     shared_ptr & operator=( std::auto_ptr<Y> && r )
                                  ^~~~~~~~
In file included from /usr/include/c++/8/bits/locale_conv.h:41,
                 from /usr/include/c++/8/locale:43,
                 from /usr/include/c++/8/iomanip:43,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/policies/error_handling.hpp:12,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/kinetic/include/ros/time.h:58,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/transform_storage.h:39,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/buffer_core.h:35,
                 from /home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:32:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/pi/ros_catkin_ws/boost_1_58_0/boost/shared_ptr.hpp:17,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format/alt_sstream.hpp:21,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format/internals.hpp:23,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/format.hpp:38,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/policies/error_handling.hpp:31,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/kinetic/include/ros/time.h:58,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/transform_storage.h:39,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/buffer_core.h:35,
                 from /home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:32:
/home/pi/ros_catkin_ws/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)’:
/home/pi/ros_catkin_ws/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:531:38: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
         this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );
                                      ^~~~~~~~
In file included from /usr/include/c++/8/bits/locale_conv.h:41,
                 from /usr/include/c++/8/locale:43,
                 from /usr/include/c++/8/iomanip:43,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/policies/error_handling.hpp:12,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/kinetic/include/ros/time.h:58,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/transform_storage.h:39,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/buffer_core.h:35,
                 from /home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:32:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/pi/ros_catkin_ws/boost_1_58_0/boost/bind/mem_fn.hpp:25,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/mem_fn.hpp:22,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/function/detail/prologue.hpp:18,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/function.hpp:24,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/signals2/signal.hpp:18,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/signals2.hpp:19,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/buffer_core.h:37,
                 from /home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:32:
/home/pi/ros_catkin_ws/boost_1_58_0/boost/get_pointer.hpp: At global scope:
/home/pi/ros_catkin_ws/boost_1_58_0/boost/get_pointer.hpp:27:40: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
 template<class T> T * get_pointer(std::auto_ptr<T> const& p)
                                        ^~~~~~~~
In file included from /usr/include/c++/8/bits/locale_conv.h:41,
                 from /usr/include/c++/8/locale:43,
                 from /usr/include/c++/8/iomanip:43,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/policies/error_handling.hpp:12,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/kinetic/include/ros/time.h:58,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/transform_storage.h:39,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/buffer_core.h:35,
                 from /home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:32:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from /home/pi/ros_catkin_ws/boost_1_58_0/boost/scoped_ptr.hpp:14,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/signals2/detail/foreign_ptr.hpp:17,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/signals2/slot_base.hpp:17,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/signals2/detail/tracked_objects_visitor.hpp:18,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/signals2/slot.hpp:22,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/signals2/connection.hpp:23,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/signals2/signal.hpp:22,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/signals2.hpp:19,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/buffer_core.h:37,
                 from /home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:32:
/home/pi/ros_catkin_ws/boost_1_58_0/boost/smart_ptr/scoped_ptr.hpp:68:31: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     explicit scoped_ptr( std::auto_ptr<T> p ) BOOST_NOEXCEPT : px( p.release() )
                               ^~~~~~~~
In file included from /usr/include/c++/8/bits/locale_conv.h:41,
                 from /usr/include/c++/8/locale:43,
                 from /usr/include/c++/8/iomanip:43,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/policies/error_handling.hpp:12,
                 from /home/pi/ros_catkin_ws/boost_1_58_0/boost/math/special_functions/round.hpp:14,
                 from /opt/ros/kinetic/include/ros/time.h:58,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/transform_storage.h:39,
                 from /home/pi/catkin_ws/src/geometry2/tf2/include/tf2/buffer_core.h:35,
                 from /home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:32:
/usr/include/c++/8/bits/unique_ptr.h:53:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp: In member function ‘bool tf2::BufferCore::warnFrameId(const char*, const string&) const’:
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:126:5: error: ‘logWarn’ was not declared in this scope
     logWarn("%s",ss.str().c_str());
     ^~~~~~~
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:134:5: error: ‘logWarn’ was not declared in this scope
     logWarn("%s",ss.str().c_str());
     ^~~~~~~
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp: In member function ‘bool tf2::BufferCore::setTransform(const TransformStamped&, const string&, bool)’:
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:221:5: error: ‘logError’ was not declared in this scope
     logError("TF_SELF_TRANSFORM: Ignoring transform from authority \"%s\" with frame_id and child_frame_id  \"%s\" because they are the same",  authority.c_str(), stripped.child_frame_id.c_str());
     ^~~~~~~~
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:221:5: note: suggested alternative: ‘strerror’
     logError("TF_SELF_TRANSFORM: Ignoring transform from authority \"%s\" with frame_id and child_frame_id  \"%s\" because they are the same",  authority.c_str(), stripped.child_frame_id.c_str());
     ^~~~~~~~
     strerror
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:227:5: error: ‘logError’ was not declared in this scope
     logError("TF_NO_CHILD_FRAME_ID: Ignoring transform from authority \"%s\" because child_frame_id not set ", authority.c_str());
     ^~~~~~~~
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:227:5: note: suggested alternative: ‘strerror’
     logError("TF_NO_CHILD_FRAME_ID: Ignoring transform from authority \"%s\" because child_frame_id not set ", authority.c_str());
     ^~~~~~~~
     strerror
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:233:5: error: ‘logError’ was not declared in this scope
     logError("TF_NO_FRAME_ID: Ignoring transform with child_frame_id \"%s\"  from authority \"%s\" because frame_id not set", stripped.child_frame_id.c_str(), authority.c_str());
     ^~~~~~~~
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:233:5: note: suggested alternative: ‘strerror’
     logError("TF_NO_FRAME_ID: Ignoring transform with child_frame_id \"%s\"  from authority \"%s\" because frame_id not set", stripped.child_frame_id.c_str(), authority.c_str());
     ^~~~~~~~
     strerror
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:240:5: error: ‘logError’ was not declared in this scope
     logError("TF_NAN_INPUT: Ignoring transform for child_frame_id \"%s\" from authority \"%s\" because of a nan value in the transform (%f %f %f) (%f %f %f %f)",
     ^~~~~~~~
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:240:5: note: suggested alternative: ‘strerror’
     logError("TF_NAN_INPUT: Ignoring transform for child_frame_id \"%s\" from authority \"%s\" because of a nan value in the transform (%f %f %f) (%f %f %f %f)",
     ^~~~~~~~
     strerror
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:255:5: error: ‘logError’ was not declared in this scope
     logError("TF_DENORMALIZED_QUATERNION: Ignoring transform for child_frame_id \"%s\" from authority \"%s\" because of an invalid quaternion in the transform (%f %f %f %f)",
     ^~~~~~~~
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:255:5: note: suggested alternative: ‘strerror’
     logError("TF_DENORMALIZED_QUATERNION: Ignoring transform for child_frame_id \"%s\" from authority \"%s\" because of an invalid quaternion in the transform (%f %f %f %f)",
     ^~~~~~~~
     strerror
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:277:7: error: ‘logWarn’ was not declared in this scope
       logWarn("TF_OLD_DATA ignoring data from the past for frame %s at time %g according to authority %s\nPossible reasons are listed at http://wiki.ros.org/tf/Errors%%20explained", stripped.child_frame_id.c_str(), stripped.header.stamp.toSec(), authority.c_str());
       ^~~~~~~
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp: In member function ‘geometry_msgs::TransformStamped tf2::BufferCore::lookupTransform(const string&, const string&, const ros::Time&) const’:
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:636:7: error: ‘logError’ was not declared in this scope
       logError("Unknown error code: %d", retval);
       ^~~~~~~~
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:636:7: note: suggested alternative: ‘strerror’
       logError("Unknown error code: %d", retval);
       ^~~~~~~~
       strerror
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp: In member function ‘void tf2::BufferCore::_chainAsVector(const string&, ros::Time, const string&, ros::Time, const string&, std::vector<std::__cxx11::basic_string<char> >&) const’:
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:1607:7: error: ‘logError’ was not declared in this scope
       logError("Unknown error code: %d", retval);
       ^~~~~~~~
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:1607:7: note: suggested alternative: ‘strerror’
       logError("Unknown error code: %d", retval);
       ^~~~~~~~
       strerror
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:1626:7: error: ‘logError’ was not declared in this scope
       logError("Unknown error code: %d", retval);
       ^~~~~~~~
/home/pi/catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:1626:7: note: suggested alternative: ‘strerror’
       logError("Unknown error code: %d", retval);
       ^~~~~~~~
       strerror
make[2]: *** [CMakeFiles/tf2.dir/build.make:76: CMakeFiles/tf2.dir/src/buffer_core.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:156: CMakeFiles/tf2.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
cd /home/pi/catkin_ws/build/tf2; catkin build --get-env tf2 | catkin env -si  /usr/bin/make --jobserver-auth=6,7; cd -
...............................................................................
Failed     << tf2:make                                  [ Exited with code 2 ] 
Failed    <<< tf2                                       [ 15.4 seconds ]       
Abandoned <<< tf2_bullet                                [ Unrelated job failed ]
Abandoned <<< tf2_eigen                                 [ Unrelated job failed ]
Abandoned <<< tf2_py                                    [ Unrelated job failed ]
Abandoned <<< tf2_ros                                   [ Unrelated job failed ]
Abandoned <<< tf                                        [ Unrelated job failed ]
Abandoned <<< tf2_geometry_msgs                         [ Unrelated job failed ]
Abandoned <<< tf2_kdl                                   [ Unrelated job failed ]
Abandoned <<< test_tf2                                  [ Unrelated job failed ]
Abandoned <<< tf2_sensor_msgs                           [ Unrelated job failed ]
Abandoned <<< tf2_tools                                 [ Unrelated job failed ]
Abandoned <<< tf_conversions                            [ Unrelated job failed ]
Abandoned <<< control_toolbox                           [ Unrelated job failed ]
Abandoned <<< mavros                                    [ Unrelated job failed ]
Abandoned <<< mavros_extras                             [ Unrelated job failed ]
Abandoned <<< test_mavros                               [ Unrelated job failed ]
Finished  <<< stereo_msgs                               [ 17.7 seconds ]       
Finished  <<< control_msgs                              [ 55.5 seconds ]                                 rFinished  <<< mavros_msgs                               [ 1 minute and 23.8 seconds ]                    
[build] Summary: 28 of 44 packages succeeded.                                                            
[build]   Ignored:   4 packages were skipped or are blacklisted.                                         
[build]   Warnings:  None.                                                                               
[build]   Abandoned: 15 packages were abandoned.                                                         
[build]   Failed:    1 packages failed.                                                                  
[build] Runtime: 1 minute and 58.0 seconds total.                                                        
[build] Note: Workspace packages have changed, please re-source setup files to use them.

--------------------------------------------------------------------------------------------------
then
second problem
 * /mavros/imu/orientation_stdev: 1.0
 * /mavros/landing_target/camera/fov_x: 2.0071286398
 * /mavros/landing_target/camera/fov_y: 2.0071286398
 * /mavros/landing_target/image/height: 480
 * /mavros/landing_target/image/width: 640
 * /mavros/landing_target/land_target_type: VISION_FIDUCIAL
 * /mavros/landing_target/listen_lt: False
 * /mavros/landing_target/mav_frame: LOCAL_NED
 * /mavros/landing_target/target_size/x: 0.3
 * /mavros/landing_target/target_size/y: 0.3
 * /mavros/landing_target/tf/child_frame_id: camera_center
 * /mavros/landing_target/tf/frame_id: landing_target
 * /mavros/landing_target/tf/listen: False
 * /mavros/landing_target/tf/rate_limit: 10.0
 * /mavros/landing_target/tf/send: True
 * /mavros/local_position/frame_id: map
 * /mavros/local_position/tf/child_frame_id: base_link
 * /mavros/local_position/tf/frame_id: map
 * /mavros/local_position/tf/send: False
 * /mavros/local_position/tf/send_fcu: False
 * /mavros/mission/pull_after_gcs: True
 * /mavros/mocap/use_pose: True
 * /mavros/mocap/use_tf: False
 * /mavros/odometry/fcu/odom_child_id_des: base_link
 * /mavros/odometry/fcu/odom_parent_id_des: map
 * /mavros/plugin_blacklist: ['safety_area', '...
 * /mavros/plugin_whitelist: []
 * /mavros/px4flow/frame_id: px4flow
 * /mavros/px4flow/ranger_fov: 0.118682
 * /mavros/px4flow/ranger_max_range: 5.0
 * /mavros/px4flow/ranger_min_range: 0.3
 * /mavros/safety_area/p1/x: 1.0
 * /mavros/safety_area/p1/y: 1.0
 * /mavros/safety_area/p1/z: 1.0
 * /mavros/safety_area/p2/x: -1.0
 * /mavros/safety_area/p2/y: -1.0
 * /mavros/safety_area/p2/z: -1.0
 * /mavros/setpoint_accel/send_force: False
 * /mavros/setpoint_attitude/reverse_thrust: False
 * /mavros/setpoint_attitude/tf/child_frame_id: target_attitude
 * /mavros/setpoint_attitude/tf/frame_id: map
 * /mavros/setpoint_attitude/tf/listen: False
 * /mavros/setpoint_attitude/tf/rate_limit: 50.0
 * /mavros/setpoint_attitude/use_quaternion: False
 * /mavros/setpoint_position/mav_frame: LOCAL_NED
 * /mavros/setpoint_position/tf/child_frame_id: target_position
 * /mavros/setpoint_position/tf/frame_id: map
 * /mavros/setpoint_position/tf/listen: False
 * /mavros/setpoint_position/tf/rate_limit: 50.0
 * /mavros/setpoint_raw/thrust_scaling: 1.0
 * /mavros/setpoint_velocity/mav_frame: LOCAL_NED
 * /mavros/startup_px4_usb_quirk: True
 * /mavros/sys/disable_diag: False
 * /mavros/sys/min_voltage: 10.0
 * /mavros/target_component_id: 1
 * /mavros/target_system_id: 1
 * /mavros/tdr_radio/low_rssi: 40
 * /mavros/time/time_ref_source: fcu
 * /mavros/time/timesync_avg_alpha: 0.6
 * /mavros/time/timesync_mode: MAVLINK
 * /mavros/vibration/frame_id: base_link
 * /mavros/vision_pose/tf/child_frame_id: vision_estimate
 * /mavros/vision_pose/tf/frame_id: odom
 * /mavros/vision_pose/tf/listen: False
 * /mavros/vision_pose/tf/rate_limit: 10.0
 * /mavros/vision_speed/listen_twist: True
 * /mavros/vision_speed/twist_cov: True
 * /mavros/wheel_odometry/child_frame_id: base_link
 * /mavros/wheel_odometry/count: 2
 * /mavros/wheel_odometry/frame_id: odom
 * /mavros/wheel_odometry/send_raw: True
 * /mavros/wheel_odometry/send_twist: False
 * /mavros/wheel_odometry/tf/child_frame_id: base_link
 * /mavros/wheel_odometry/tf/frame_id: odom
 * /mavros/wheel_odometry/tf/send: False
 * /mavros/wheel_odometry/use_rpm: False
 * /mavros/wheel_odometry/vel_error: 0.1
 * /mavros/wheel_odometry/wheel0/radius: 0.05
 * /mavros/wheel_odometry/wheel0/x: 0.0
 * /mavros/wheel_odometry/wheel0/y: -0.15
 * /mavros/wheel_odometry/wheel1/radius: 0.05
 * /mavros/wheel_odometry/wheel1/x: 0.0
 * /mavros/wheel_odometry/wheel1/y: 0.15
 * /rosdistro: kinetic
 * /rosversion: 1.12.14

NODES
  /
    mavros (mavros/mavros_node)

auto-starting new master
process[master]: started with pid [11502]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to c8a68cc8-e74a-11e9-8f2e-dca63225c0b9
process[rosout-1]: started with pid [11515]
started core service [/rosout]
ERROR: cannot launch node of type [mavros/mavros_node]: can't locate node [mavros_node] in package [mavros]

I spent four days and Installed many times with different tutorials, the problem remains OTZ

monster66666 commented 5 years ago

Is it the reason for the buster system?