PX4 / PX4-Avoidance

PX4 avoidance ROS node for obstacle detection and avoidance.
http://px4.io
BSD 3-Clause "New" or "Revised" License
616 stars 321 forks source link

warning when I build the avoidance node #698

Open woong137 opened 1 year ago

woong137 commented 1 year ago

First of all, I am not good at English, so please understand.

When I build the avoidance node, the results of the implementation are as follows. It says, "4 packages succeeded with warnings." What should I do to make all packages successful?

jaewoong3@ubuntu:~/catkin_ws/src$ catkin build -w ~/catkin_ws
--------------------------------------------------------------
Profile:                     default
Extending:             [env] /opt/ros/noetic
Workspace:                   /home/jaewoong3/catkin_ws
--------------------------------------------------------------
Build Space:        [exists] /home/jaewoong3/catkin_ws/build
Devel Space:        [exists] /home/jaewoong3/catkin_ws/devel
Install Space:      [unused] /home/jaewoong3/catkin_ws/install
Log Space:         [missing] /home/jaewoong3/catkin_ws/logs
Source Space:       [exists] /home/jaewoong3/catkin_ws/src
DESTDIR:            [unused] None
--------------------------------------------------------------
Devel Space Layout:          linked
Install Space Layout:        None
--------------------------------------------------------------
Additional CMake Args:       None
Additional Make Args:        None
Additional catkin Make Args: None
Internal Make Job Server:    True
Cache Job Environments:      False
--------------------------------------------------------------
Buildlisted Packages:        None
Skiplisted Packages:         None
--------------------------------------------------------------
Workspace configuration appears valid.

NOTE: Forcing CMake to run for each package.
--------------------------------------------------------------
[build] Found 4 packages in 0.0 seconds.                                       
[build] Updating package table.                                                
Starting  >>> catkin_tools_prebuild                                            
Finished  <<< catkin_tools_prebuild                [ 4.4 seconds ]             
Starting  >>> avoidance                                                        
_______________________________________________________________________________
Warnings   << avoidance:cmake /home/jaewoong3/catkin_ws/logs/avoidance/build.cmake.000.log
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** io features related to libusb-1.0 will be disabled
cd /home/jaewoong3/catkin_ws/build/avoidance; catkin build --get-env avoidance | catkin env -si  /usr/bin/cmake /home/jaewoong3/catkin_ws/src/avoidance/avoidance --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/jaewoong3/catkin_ws/devel/.private/avoidance -DCMAKE_INSTALL_PREFIX=/home/jaewoong3/catkin_ws/install; cd -

...............................................................................
Finished  <<< avoidance                            [ 30.4 seconds ]            
Starting  >>> global_planner                                                   
Starting  >>> local_planner                                                    
_______________________________________________________________________________
Warnings   << local_planner:cmake /home/jaewoong3/catkin_ws/logs/local_planner/build.cmake.000.log
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** io features related to libusb-1.0 will be disabled
cd /home/jaewoong3/catkin_ws/build/local_planner; catkin build --get-env local_planner | catkin env -si  /usr/bin/cmake /home/jaewoong3/catkin_ws/src/avoidance/local_planner --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/jaewoong3/catkin_ws/devel/.private/local_planner -DCMAKE_INSTALL_PREFIX=/home/jaewoong3/catkin_ws/install; cd -

...............................................................................
_______________________________________________________________________________
Warnings   << global_planner:cmake /home/jaewoong3/catkin_ws/logs/global_planner/build.cmake.000.log
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** io features related to libusb-1.0 will be disabled
cd /home/jaewoong3/catkin_ws/build/global_planner; catkin build --get-env global_planner | catkin env -si  /usr/bin/cmake /home/jaewoong3/catkin_ws/src/avoidance/global_planner --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/jaewoong3/catkin_ws/devel/.private/global_planner -DCMAKE_INSTALL_PREFIX=/home/jaewoong3/catkin_ws/install; cd -

...............................................................................
_______________________________________________________________________________
Warnings   << global_planner:make /home/jaewoong3/catkin_ws/logs/global_planner/build.make.000.log
In file included from /home/jaewoong3/catkin_ws/src/avoidance/global_planner/include/global_planner/global_planner.h:27,
                 from /home/jaewoong3/catkin_ws/src/avoidance/global_planner/src/library/global_planner.cpp:1:
/home/jaewoong3/catkin_ws/src/avoidance/global_planner/include/global_planner/search_tools.h: In function ‘bool global_planner::reverseSearch(GlobalPlanner*, const global_planner::Cell&)’:
/home/jaewoong3/catkin_ws/src/avoidance/global_planner/include/global_planner/search_tools.h:262:1: warning: no return statement in function returning non-void [-Wreturn-type]
  262 | }
      | ^
In file included from /home/jaewoong3/catkin_ws/src/avoidance/global_planner/include/global_planner/global_planner.h:27,
                 from /home/jaewoong3/catkin_ws/src/avoidance/global_planner/include/global_planner/global_planner_node.h:32,
                 from /home/jaewoong3/catkin_ws/src/avoidance/global_planner/src/nodes/global_planner_node.cpp:1:
/home/jaewoong3/catkin_ws/src/avoidance/global_planner/include/global_planner/search_tools.h: In function ‘bool global_planner::reverseSearch(GlobalPlanner*, const global_planner::Cell&)’:
/home/jaewoong3/catkin_ws/src/avoidance/global_planner/include/global_planner/search_tools.h:262:1: warning: no return statement in function returning non-void [-Wreturn-type]
  262 | }
      | ^
In file included from /home/jaewoong3/catkin_ws/src/avoidance/global_planner/include/global_planner/global_planner.h:27,
                 from /home/jaewoong3/catkin_ws/src/avoidance/global_planner/include/global_planner/global_planner_node.h:32,
                 from /home/jaewoong3/catkin_ws/src/avoidance/global_planner/src/nodes/global_planner_node_main.cpp:1:
/home/jaewoong3/catkin_ws/src/avoidance/global_planner/include/global_planner/search_tools.h: In function ‘bool global_planner::reverseSearch(GlobalPlanner*, const global_planner::Cell&)’:
/home/jaewoong3/catkin_ws/src/avoidance/global_planner/include/global_planner/search_tools.h:262:1: warning: no return statement in function returning non-void [-Wreturn-type]
  262 | }
      | ^
cd /home/jaewoong3/catkin_ws/build/global_planner; catkin build --get-env global_planner | catkin env -si  /usr/bin/make --jobserver-auth=3,4; cd -

...............................................................................
Finished  <<< global_planner                       [ 1 minute and 20.4 seconds ]
Starting  >>> safe_landing_planner                                             
_______________________________________________________________________________
Warnings   << safe_landing_planner:cmake /home/jaewoong3/catkin_ws/logs/safe_landing_planner/build.cmake.000.log
** WARNING ** io features related to pcap will be disabled
** WARNING ** io features related to png will be disabled
** WARNING ** io features related to libusb-1.0 will be disabled
cd /home/jaewoong3/catkin_ws/build/safe_landing_planner; catkin build --get-env safe_landing_planner | catkin env -si  /usr/bin/cmake /home/jaewoong3/catkin_ws/src/avoidance/safe_landing_planner --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/jaewoong3/catkin_ws/devel/.private/safe_landing_planner -DCMAKE_INSTALL_PREFIX=/home/jaewoong3/catkin_ws/install; cd -

...............................................................................
Finished  <<< local_planner                        [ 1 minute and 47.1 seconds ]
Finished  <<< safe_landing_planner                 [ 1 minute and 19.0 seconds ]
[build] Summary: All 5 packages succeeded!                                     
[build]   Ignored:   None.                                                     
[build]   Warnings:  4 packages succeeded with warnings.                       
[build]   Abandoned: None.                                                     
[build]   Failed:    None.                                                     
[build] Runtime: 3 minutes and 14.5 seconds total.                             
[build] Note: Workspace packages have changed, please re-source setup files to use them.