Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(object_validator): add glog #6773

Closed
wants to merge 3 commits into from
Closed

Conversation

kminoda
Copy link
Contributor

@kminoda kminoda commented Apr 9, 2024

Description

add glog

Tests performed

[obstacle_pointcloud_based_validator_node-1] [INFO 1712630889.475782523] [rclcpp]: signal_handler(signum=15) (signal_handler() at ./src/rclcpp/signal_handler.cpp:71)
[obstacle_pointcloud_based_validator_node-1] *** Aborted at 1712630889 (unix time) try "date -d @1712630889" if you are using GNU date ***
[obstacle_pointcloud_based_validator_node-1] PC: @                0x0 (unknown)
[obstacle_pointcloud_based_validator_node-1] *** SIGTERM (@0x3e80018fb62) received by PID 1636215 (TID 0x77da3dc6c740) from PID 1637218; stack trace: ***
[obstacle_pointcloud_based_validator_node-1]     @     0x77da3fe4f046 (unknown)
[obstacle_pointcloud_based_validator_node-1]     @     0x77da4000947d rclcpp::SignalHandler::signal_handler()
[obstacle_pointcloud_based_validator_node-1]     @     0x77da3f642520 (unknown)
[obstacle_pointcloud_based_validator_node-1]     @     0x77da3f691117 (unknown)
[obstacle_pointcloud_based_validator_node-1]     @     0x77da3f693a41 pthread_cond_wait
[obstacle_pointcloud_based_validator_node-1]     @     0x77da3d916a8d ddsrt_cond_wait
[obstacle_pointcloud_based_validator_node-1]     @     0x77da3d916b55 ddsrt_cond_waituntil
[obstacle_pointcloud_based_validator_node-1]     @     0x77da3d8fd45d (unknown)
[obstacle_pointcloud_based_validator_node-1]     @     0x77da3d9b974f rmw_wait
[obstacle_pointcloud_based_validator_node-1]     @     0x77da3fc8c848 rcl_wait
[obstacle_pointcloud_based_validator_node-1]     @     0x77da3ff8f6ac rclcpp::Executor::wait_for_work()
[obstacle_pointcloud_based_validator_node-1]     @     0x77da3ff923c3 rclcpp::Executor::get_next_executable()
[obstacle_pointcloud_based_validator_node-1]     @     0x77da3ff998a1 rclcpp::executors::SingleThreadedExecutor::spin()
[obstacle_pointcloud_based_validator_node-1]     @     0x607d40d88604 main
[obstacle_pointcloud_based_validator_node-1]     @     0x77da3f629d90 (unknown)
[obstacle_pointcloud_based_validator_node-1]     @     0x77da3f629e40 __libc_start_main
[obstacle_pointcloud_based_validator_node-1]     @     0x607d40d88805 _start
[obstacle_pointcloud_based_validator_node-1]     @                0x0 (unknown)
[ERROR] [obstacle_pointcloud_based_validator_node-1]: process has died [pid 1636215, exit code -15, cmd '/home/minoda/ghq/github.com/autowarefoundation/autoware/install/detected_object_validation/lib/detected_object_validation/obstacle_pointcloud_based_validator_node --ros-args -r __node:=obstacle_pointcloud_based_validator_node --params-file /home/minoda/ghq/github.com/autowarefoundation/autoware/install/detected_object_validation/share/detected_object_validation/config/obstacle_pointcloud_based_validator.param.yaml -r ~/input/detected_objects:=/perception/object_recognition/detection/objects -r ~/input/obstacle_pointcloud:=/perception/obstacle_segmentation/pointcloud -r ~/output/objects:=/perception/object_recognition/detection/validation/obstacle_pointcloud_based/objects'].
[occupancy_grid_based_validator_node-2] [INFO 1712631004.373808977] [rclcpp]: signal_handler(signum=15) (signal_handler() at ./src/rclcpp/signal_handler.cpp:71)
[occupancy_grid_based_validator_node-2] *** Aborted at 1712631004 (unix time) try "date -d @1712631004" if you are using GNU date ***
[occupancy_grid_based_validator_node-2] PC: @                0x0 (unknown)
[occupancy_grid_based_validator_node-2] *** SIGTERM (@0x3e800190b38) received by PID 1640304 (TID 0x79a362119200) from PID 1641272; stack trace: ***
[occupancy_grid_based_validator_node-2]     @     0x79a37176a046 (unknown)
[occupancy_grid_based_validator_node-2]     @     0x79a37192447d rclcpp::SignalHandler::signal_handler()
[occupancy_grid_based_validator_node-2]     @     0x79a370e42520 (unknown)
[occupancy_grid_based_validator_node-2]     @     0x79a370e91117 (unknown)
[occupancy_grid_based_validator_node-2]     @     0x79a370e93a41 pthread_cond_wait
[occupancy_grid_based_validator_node-2]     @     0x79a2c07bca8d ddsrt_cond_wait
[occupancy_grid_based_validator_node-2]     @     0x79a2c07bcb55 ddsrt_cond_waituntil
[occupancy_grid_based_validator_node-2]     @     0x79a2c07a345d (unknown)
[occupancy_grid_based_validator_node-2]     @     0x79a2c085f74f rmw_wait
[occupancy_grid_based_validator_node-2]     @     0x79a3715d3848 rcl_wait
[occupancy_grid_based_validator_node-2]     @     0x79a3718aa6ac rclcpp::Executor::wait_for_work()
[occupancy_grid_based_validator_node-2]     @     0x79a3718ad3c3 rclcpp::Executor::get_next_executable()
[occupancy_grid_based_validator_node-2]     @     0x79a3718b48a1 rclcpp::executors::SingleThreadedExecutor::spin()
[occupancy_grid_based_validator_node-2]     @     0x60978b41f5a4 main
[occupancy_grid_based_validator_node-2]     @     0x79a370e29d90 (unknown)
[occupancy_grid_based_validator_node-2]     @     0x79a370e29e40 __libc_start_main
[occupancy_grid_based_validator_node-2]     @     0x60978b41f7a5 _start
[occupancy_grid_based_validator_node-2]     @                0x0 (unknown)
[ERROR] [occupancy_grid_based_validator_node-2]: process has died [pid 1640304, exit code -15, cmd '/home/minoda/ghq/github.com/autowarefoundation/autoware/install/detected_object_validation/lib/detected_object_validation/occupancy_grid_based_validator_node --ros-args -r __node:=occupancy_grid_based_validator_node -r ~/input/detected_objects:=/perception/object_recognition/detection/objects -r ~/input/occupancy_grid_map:=/perception/object_recognition/detection/validation/occupancy_grid_based/single_frame_occupancy_grid_map -r ~/output/objects:=/perception/object_recognition/detection/validation/occupancy_grid_based/objects']
[object_lanelet_filter_node-1] *** Aborted at 1712631039 (unix time) try "date -d @1712631039" if you are using GNU date ***
[object_lanelet_filter_node-1] PC: @                0x0 (unknown)
[object_lanelet_filter_node-1] *** SIGTERM (@0x3e800191051) received by PID 1642404 (TID 0x71d349ca96c0) from PID 1642577; stack trace: ***
[object_lanelet_filter_node-1]     @     0x71d34ac8a046 (unknown)
[object_lanelet_filter_node-1]     @     0x71d34af6f47d rclcpp::SignalHandler::signal_handler()
[object_lanelet_filter_node-1]     @     0x71d34a642520 (unknown)
[object_lanelet_filter_node-1]     @     0x71d34a691117 (unknown)
[object_lanelet_filter_node-1]     @     0x71d34a693a41 pthread_cond_wait
[object_lanelet_filter_node-1]     @     0x71d349ba6a8d ddsrt_cond_wait
[object_lanelet_filter_node-1]     @     0x71d349ba6b55 ddsrt_cond_waituntil
[object_lanelet_filter_node-1]     @     0x71d349b8d45d (unknown)
[object_lanelet_filter_node-1]     @     0x71d349c4974f rmw_wait
[object_lanelet_filter_node-1]     @     0x71d34a9eb848 rcl_wait
[object_lanelet_filter_node-1]     @     0x71d34aef56ac rclcpp::Executor::wait_for_work()
[object_lanelet_filter_node-1]     @     0x71d34aef83c3 rclcpp::Executor::get_next_executable()
[object_lanelet_filter_node-1]     @     0x71d34aeff8a1 rclcpp::executors::SingleThreadedExecutor::spin()
[object_lanelet_filter_node-1]     @     0x5dd92f0215b4 main
[object_lanelet_filter_node-1]     @     0x71d34a629d90 (unknown)
[object_lanelet_filter_node-1]     @     0x71d34a629e40 __libc_start_main
[object_lanelet_filter_node-1]     @     0x5dd92f0217b5 _start
[object_lanelet_filter_node-1]     @                0x0 (unknown)
[ERROR] [object_lanelet_filter_node-1]: process has died [pid 1642404, exit code -15, cmd '/home/minoda/ghq/github.com/autowarefoundation/autoware/install/detected_object_validation/lib/detected_object_validation/object_lanelet_filter_node --ros-args -r __node:=object_lanelet_filter --params-file /home/minoda/ghq/github.com/autowarefoundation/autoware/install/detected_object_validation/share/detected_object_validation/config/object_lanelet_filter.param.yaml -r input/vector_map:=/map/vector_map -r input/object:=in_objects -r output/object:=out_objects'].
[object_position_filter_node-1] *** Aborted at 1712631081 (unix time) try "date -d @1712631081" if you are using GNU date ***
[object_position_filter_node-1] PC: @                0x0 (unknown)
[object_position_filter_node-1] *** SIGTERM (@0x3e8001914b9) received by PID 1643490 (TID 0x7954e8c7f6c0) from PID 1643705; stack trace: ***
[object_position_filter_node-1]     @     0x7954e954e046 (unknown)
[object_position_filter_node-1]     @     0x7954e97b847d rclcpp::SignalHandler::signal_handler()
[object_position_filter_node-1]     @     0x7954e8e42520 (unknown)
[object_position_filter_node-1]     @     0x7954e8e91117 (unknown)
[object_position_filter_node-1]     @     0x7954e8e93a41 pthread_cond_wait
[object_position_filter_node-1]     @     0x7954e8b8aa8d ddsrt_cond_wait
[object_position_filter_node-1]     @     0x7954e8b8ab55 ddsrt_cond_waituntil
[object_position_filter_node-1]     @     0x7954e8b7145d (unknown)
[object_position_filter_node-1]     @     0x7954e8c2d74f rmw_wait
[object_position_filter_node-1]     @     0x7954e94f4848 rcl_wait
[object_position_filter_node-1]     @     0x7954e973e6ac rclcpp::Executor::wait_for_work()
[object_position_filter_node-1]     @     0x7954e97413c3 rclcpp::Executor::get_next_executable()
[object_position_filter_node-1]     @     0x7954e97488a1 rclcpp::executors::SingleThreadedExecutor::spin()
[object_position_filter_node-1]     @     0x5ed1dca645a4 main
[object_position_filter_node-1]     @     0x7954e8e29d90 (unknown)
[object_position_filter_node-1]     @     0x7954e8e29e40 __libc_start_main
[object_position_filter_node-1]     @     0x5ed1dca647a5 _start
[object_position_filter_node-1]     @                0x0 (unknown)
[ERROR] [object_position_filter_node-1]: process has died [pid 1643490, exit code -15, cmd '/home/minoda/ghq/github.com/autowarefoundation/autoware/install/detected_object_validation/lib/detected_object_validation/object_position_filter_node --ros-args -r __node:=object_position_filter --params-file /home/minoda/ghq/github.com/autowarefoundation/autoware/install/detected_object_validation/share/detected_object_validation/config/object_position_filter.param.yaml -r input/object:=in_objects -r output/object:=out_objects'].

Effects on system behavior

Not applicable.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@github-actions github-actions bot added the component:perception Advanced sensor data processing and environment understanding. (auto-assigned) label Apr 9, 2024
@kminoda
Copy link
Contributor Author

kminoda commented Apr 9, 2024

Memo:
current commit will output the following build error:

--- stderr: detected_object_validation                                                                                                                                                                             
In file included from /usr/include/c++/11/vector:67,                                                                                                                                                               
                 from /usr/include/c++/11/functional:62,                                                                                                                                                           
                 from /usr/include/c++/11/pstl/glue_algorithm_defs.h:13,                                                                                                                                           
                 from /usr/include/c++/11/algorithm:74,                                                                                                                                                            
                 from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:18,                                                                                                                                       
                 from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25,                                                                                                              
                 from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21,                                                                                                                                      
                 from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,                                                                                                                                        
                 from /home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/include/detected_object_validation/detected_object_filter/object
_lanelet_filter.hpp:20,                                                                                                                                                                                            
                 from /home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/src/object_lanelet_filter_node.cpp:15:                          
/usr/include/c++/11/bits/stl_vector.h: In instantiation of ‘std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = lanelet::ConstLanelet; _Alloc = std::allocator<lanelet::ConstLanelet>]’:                   
/usr/include/c++/11/bits/stl_vector.h:683:7:   required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = lanelet::ConstLanelet; _Alloc = std::allocator<lanelet::ConstLanelet>]’                              
/home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/include/detected_object_validation/detected_object_filter/object_lanelet_filter.hpp:42
:7:   required from ‘void __gnu_cxx::new_allocator<_Tp>::destroy(_Up*) [with _Up = object_lanelet_filter::ObjectLaneletFilterNode; _Tp = object_lanelet_filter::ObjectLaneletFilterNode]’                          
/usr/include/c++/11/bits/alloc_traits.h:535:15:   required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::destroy(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*) [with _Up =
 object_lanelet_filter::ObjectLaneletFilterNode; _Tp = object_lanelet_filter::ObjectLaneletFilterNode; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<object_lanelet_filter::ObjectL
aneletFilterNode>]’                                                                                                                                                                                                
/usr/include/c++/11/bits/shared_ptr_base.h:528:35:   required from ‘void std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_M_dispose() [with _Tp = object_lanelet_filter::ObjectLaneletFilterNode; _Alloc = std::all
ocator<object_lanelet_filter::ObjectLaneletFilterNode>; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’                                                                                                       
/usr/include/c++/11/bits/shared_ptr_base.h:526:7:   required from here                                                                                                                                             
/usr/include/c++/11/bits/stl_vector.h:336:49: error: invalid use of incomplete type ‘class lanelet::ConstLanelet’                                                                                                  
  336 |                       _M_impl._M_end_of_storage - _M_impl._M_start);                                                                                                                                       
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~        
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~                                                                                                                                         
In file included from /home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/include/detected_object_validation/detected_object_filter/object
_lanelet_filter.hpp:28,                             
                 from /home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/src/object_lanelet_filter_node.cpp:15:
/opt/ros/humble/include/lanelet2_core/Forward.h:110:7: note: forward declaration of ‘class lanelet::ConstLanelet’
  110 | class ConstLanelet;
      |       ^~~~~~~~~~~~
In file included from /usr/include/c++/11/bits/move.h:57,
                 from /usr/include/c++/11/bits/stl_pair.h:59,
                 from /usr/include/c++/11/bits/stl_algobase.h:64,
                 from /usr/include/c++/11/memory:63, 
                 from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:153,
                 from /home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/include/detected_object_validation/detected_object_filter/object
_lanelet_filter.hpp:20,                             
                 from /home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/src/object_lanelet_filter_node.cpp:15:
/usr/include/c++/11/type_traits: In instantiation of ‘struct std::is_destructible<lanelet::ConstLanelet>’:
/usr/include/c++/11/bits/stl_construct.h:188:51:   required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = lanelet::ConstLanelet*]’
/usr/include/c++/11/bits/alloc_traits.h:848:15:   required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = lanelet::ConstLanelet*; _Tp = lanelet::Const
Lanelet]’                                           
/usr/include/c++/11/bits/stl_vector.h:680:15:   required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = lanelet::ConstLanelet; _Alloc = std::allocator<lanelet::ConstLanelet>]’
/home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/include/detected_object_validation/detected_object_filter/object_lanelet_filter.hpp:42
:7:   required from ‘void __gnu_cxx::new_allocator<_Tp>::destroy(_Up*) [with _Up = object_lanelet_filter::ObjectLaneletFilterNode; _Tp = object_lanelet_filter::ObjectLaneletFilterNode]’
/usr/include/c++/11/bits/alloc_traits.h:535:15:   required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::destroy(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*) [with _Up =
 object_lanelet_filter::ObjectLaneletFilterNode; _Tp = object_lanelet_filter::ObjectLaneletFilterNode; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<object_lanelet_filter::ObjectL
aneletFilterNode>]’                                 
/usr/include/c++/11/bits/shared_ptr_base.h:528:35:   required from ‘void std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_M_dispose() [with _Tp = object_lanelet_filter::ObjectLaneletFilterNode; _Alloc = std::all
ocator<object_lanelet_filter::ObjectLaneletFilterNode>; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’
/usr/include/c++/11/bits/shared_ptr_base.h:526:7:   required from here
/usr/include/c++/11/bits/stl_vector.h:336:49: error: invalid use of incomplete type ‘class lanelet::ConstLanelet’                                                                                                  
  336 |                       _M_impl._M_end_of_storage - _M_impl._M_start);                                                                                                                                       
      |                       ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~                                                                                                                                         
In file included from /home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/include/detected_object_validation/detected_object_filter/object
_lanelet_filter.hpp:28,                                                                                                                                                                                            
                 from /home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/src/object_lanelet_filter_node.cpp:15:                          
/opt/ros/humble/include/lanelet2_core/Forward.h:110:7: note: forward declaration of ‘class lanelet::ConstLanelet’                                                                                                  
  110 | class ConstLanelet;                                                                                                                                                                                        
      |       ^~~~~~~~~~~~                                                                                                                                                                                         
In file included from /usr/include/c++/11/bits/move.h:57,                                                                                                                                                          
                 from /usr/include/c++/11/bits/stl_pair.h:59,                                                                                                                                                      
                 from /usr/include/c++/11/bits/stl_algobase.h:64,                                                                                                                                                  
                 from /usr/include/c++/11/memory:63,                                                                                                                                                               
                 from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:153,                                                                                                                                        
                 from /home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/include/detected_object_validation/detected_object_filter/object
_lanelet_filter.hpp:20,                                                                                                                                                                                            
                 from /home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/src/object_lanelet_filter_node.cpp:15:                          
/usr/include/c++/11/type_traits: In instantiation of ‘struct std::is_destructible<lanelet::ConstLanelet>’:
/usr/include/c++/11/bits/stl_construct.h:188:51:   required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = lanelet::ConstLanelet*]’
/usr/include/c++/11/bits/alloc_traits.h:848:15:   required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = lanelet::ConstLanelet*; _Tp = lanelet::Const
Lanelet]’                                           
/usr/include/c++/11/bits/stl_vector.h:680:15:   required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = lanelet::ConstLanelet; _Alloc = std::allocator<lanelet::ConstLanelet>]’
/home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/include/detected_object_validation/detected_object_filter/object_lanelet_filter.hpp:42
:7:   required from ‘void __gnu_cxx::new_allocator<_Tp>::destroy(_Up*) [with _Up = object_lanelet_filter::ObjectLaneletFilterNode; _Tp = object_lanelet_filter::ObjectLaneletFilterNode]’
/usr/include/c++/11/bits/alloc_traits.h:535:15:   required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::destroy(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*) [with _Up =
 object_lanelet_filter::ObjectLaneletFilterNode; _Tp = object_lanelet_filter::ObjectLaneletFilterNode; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<object_lanelet_filter::ObjectL
aneletFilterNode>]’                     
/usr/include/c++/11/bits/shared_ptr_base.h:528:35:   required from ‘void std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_M_dispose() [with _Tp = object_lanelet_filter::ObjectLaneletFilterNode; _Alloc = std::all
ocator<object_lanelet_filter::ObjectLaneletFilterNode>; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’
/usr/include/c++/11/bits/shared_ptr_base.h:526:7:   required from here
/usr/include/c++/11/type_traits:885:52: error: static assertion failed: template argument must be a complete class or an unbounded array
  885 |       static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/11/type_traits:885:52: note: ‘std::__is_complete_or_unbounded<std::__type_identity<lanelet::ConstLanelet> >((std::__type_identity<lanelet::ConstLanelet>{}, std::__type_identity<lanelet::ConstLan
elet>()))’ evaluates to false                       
In file included from /usr/include/c++/11/memory:65, 
                 from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:153,
                 from /home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/include/detected_object_validation/detected_object_filter/object
_lanelet_filter.hpp:20,                             
                 from /home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/src/object_lanelet_filter_node.cpp:15:
/usr/include/c++/11/bits/stl_construct.h: In instantiation of ‘void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = lanelet::ConstLanelet*]’:
/usr/include/c++/11/bits/alloc_traits.h:848:15:   required from ‘void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>&) [with _ForwardIterator = lanelet::ConstLanelet*; _Tp = lanelet::Const
Lanelet]’                                           
/usr/include/c++/11/bits/stl_vector.h:680:15:   required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = lanelet::ConstLanelet; _Alloc = std::allocator<lanelet::ConstLanelet>]’
/home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/include/detected_object_validation/detected_object_filter/object_lanelet_filter.hpp:42
:7:   required from ‘void __gnu_cxx::new_allocator<_Tp>::destroy(_Up*) [with _Up = object_lanelet_filter::ObjectLaneletFilterNode; _Tp = object_lanelet_filter::ObjectLaneletFilterNode]’
/usr/include/c++/11/bits/alloc_traits.h:535:15:   required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::destroy(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*) [with _Up =
 object_lanelet_filter::ObjectLaneletFilterNode; _Tp = object_lanelet_filter::ObjectLaneletFilterNode; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<object_lanelet_filter::ObjectL
aneletFilterNode>]’                                 
/usr/include/c++/11/bits/shared_ptr_base.h:528:35:   required from ‘void std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_M_dispose() [with _Tp = object_lanelet_filter::ObjectLaneletFilterNode; _Alloc = std::all
ocator<object_lanelet_filter::ObjectLaneletFilterNode>; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’
/usr/include/c++/11/bits/shared_ptr_base.h:526:7:   required from here
/usr/include/c++/11/bits/stl_construct.h:188:51: error: static assertion failed: value type is destructible
  188 |       static_assert(is_destructible<_Value_type>::value,
      |                                                   ^~~~~
/usr/include/c++/11/bits/stl_construct.h:188:51: note: ‘std::integral_constant<bool, false>::value’ evaluates to false
/usr/include/c++/11/bits/stl_construct.h:195:25: error: invalid use of incomplete type ‘std::iterator_traits<lanelet::ConstLanelet*>::value_type’ {aka ‘class lanelet::ConstLanelet’}
  195 |       std::_Destroy_aux<__has_trivial_destructor(_Value_type)>::
      |                                                   ^~~~~
/usr/include/c++/11/bits/stl_construct.h:188:51: note: ‘std::integral_constant<bool, false>::value’ evaluates to false
/usr/include/c++/11/bits/stl_construct.h:195:25: error: invalid use of incomplete type ‘std::iterator_traits<lanelet::ConstLanelet*>::value_type’ {aka ‘class lanelet::ConstLanelet’}
  195 |       std::_Destroy_aux<__has_trivial_destructor(_Value_type)>::
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/include/detected_object_validation/detected_object_filter/object
_lanelet_filter.hpp:28,                             
                 from /home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/src/object_lanelet_filter_node.cpp:15:
/opt/ros/humble/include/lanelet2_core/Forward.h:110:7: note: forward declaration of ‘std::iterator_traits<lanelet::ConstLanelet*>::value_type’ {aka ‘class lanelet::ConstLanelet’}
  110 | class ConstLanelet;
      |       ^~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/c++/11/bits/c++allocator.h:33,
                 from /usr/include/c++/11/bits/allocator.h:46,
                 from /usr/include/c++/11/memory:64, 
                 from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:153,
                 from /home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/include/detected_object_validation/detected_object_filter/object
_lanelet_filter.hpp:20,                             
                 from /home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/src/object_lanelet_filter_node.cpp:15:
/usr/include/c++/11/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::deallocate(_Tp*, __gnu_cxx::new_allocator<_Tp>::size_type) [with _Tp = lanelet::ConstLanelet; __gnu_cxx::new_allo
cator<_Tp>::size_type = long unsigned int]’:        
/usr/include/c++/11/bits/alloc_traits.h:496:23:   required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::deallocate(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, std::allocator
_traits<std::allocator<_Tp1> >::pointer, std::allocator_traits<std::allocator<_Tp1> >::size_type) [with _Tp = lanelet::ConstLanelet; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<
lanelet::ConstLanelet>; std::allocator_traits<std::allocator<_Tp1> >::pointer = lanelet::ConstLanelet*; std::allocator_traits<std::allocator<_Tp1> >::size_type = long unsigned int]’
/usr/include/c++/11/bits/stl_vector.h:354:19:   required from ‘void std::_Vector_base<_Tp, _Alloc>::_M_deallocate(std::_Vector_base<_Tp, _Alloc>::pointer, std::size_t) [with _Tp = lanelet::ConstLanelet; _Alloc =
 std::allocator<lanelet::ConstLanelet>; std::_Vector_base<_Tp, _Alloc>::pointer = lanelet::ConstLanelet*; std::size_t = long unsigned int]’
/usr/include/c++/11/bits/stl_vector.h:335:2:   required from ‘std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = lanelet::ConstLanelet; _Alloc = std::allocator<lanelet::ConstLanelet>]’
/usr/include/c++/11/bits/stl_vector.h:683:7:   required from ‘std::vector<_Tp, _Alloc>::~vector() [with _Tp = lanelet::ConstLanelet; _Alloc = std::allocator<lanelet::ConstLanelet>]’
/home/minoda/ghq/github.com/autowarefoundation/autoware/src/universe/autoware.universe/perception/detected_object_validation/include/detected_object_validation/detected_object_filter/object_lanelet_filter.hpp:42
:7:   required from ‘void __gnu_cxx::new_allocator<_Tp>::destroy(_Up*) [with _Up = object_lanelet_filter::ObjectLaneletFilterNode; _Tp = object_lanelet_filter::ObjectLaneletFilterNode]’
/usr/include/c++/11/bits/alloc_traits.h:535:15:   required from ‘static void std::allocator_traits<std::allocator<_Tp1> >::destroy(std::allocator_traits<std::allocator<_Tp1> >::allocator_type&, _Up*) [with _Up =
 object_lanelet_filter::ObjectLaneletFilterNode; _Tp = object_lanelet_filter::ObjectLaneletFilterNode; std::allocator_traits<std::allocator<_Tp1> >::allocator_type = std::allocator<object_lanelet_filter::ObjectL
aneletFilterNode>]’                                 
/usr/include/c++/11/bits/shared_ptr_base.h:528:35:   required from ‘void std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_M_dispose() [with _Tp = object_lanelet_filter::ObjectLaneletFilterNode; _Alloc = std::all
ocator<object_lanelet_filter::ObjectLaneletFilterNode>; __gnu_cxx::_Lock_policy _Lp = __gnu_cxx::_S_atomic]’
/usr/include/c++/11/bits/shared_ptr_base.h:526:7:   required from here
/usr/include/c++/11/ext/new_allocator.h:135:13: error: invalid application of ‘__alignof__’ to incomplete type ‘lanelet::ConstLanelet’
  135 |         if (alignof(_Tp) > __STDCPP_DEFAULT_NEW_ALIGNMENT__)
      |             ^~~~~~~~~~~~
/usr/include/c++/11/ext/new_allocator.h:139:37: error: invalid application of ‘sizeof’ to incomplete type ‘lanelet::ConstLanelet’
  139 |                               __t * sizeof(_Tp),
      |                                     ^~~~~~~~~~~
/usr/include/c++/11/ext/new_allocator.h:141:48: error: invalid application of ‘__alignof__’ to incomplete type ‘lanelet::ConstLanelet’
  141 |                               std::align_val_t(alignof(_Tp)));
      |                                                ^~~~~~~~~~~~
/usr/include/c++/11/ext/new_allocator.h:147:35: error: invalid application of ‘sizeof’ to incomplete type ‘lanelet::ConstLanelet’
  147 |                           , __t * sizeof(_Tp)
      |                                   ^~~~~~~~~~~
gmake[2]: *** [CMakeFiles/object_lanelet_filter_node.dir/build.make:76: CMakeFiles/object_lanelet_filter_node.dir/src/object_lanelet_filter_node.cpp.o] エラー 1
gmake[1]: *** [CMakeFiles/Makefile2:290: CMakeFiles/object_lanelet_filter_node.dir/all] エラー 2
gmake: *** [Makefile:146: all] エラー 2
---                                                 
Failed   <<< detected_object_validation [5.96s, exited with code 2]

Signed-off-by: kminoda <[email protected]>
@kminoda kminoda changed the title feat(object_validator): add glog (not working) feat(object_validator): add glog Apr 9, 2024
@kminoda kminoda added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Apr 9, 2024
@kminoda kminoda closed this Jun 6, 2024
@kminoda kminoda deleted the feat/object_validator/add_glog branch June 6, 2024 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:perception Advanced sensor data processing and environment understanding. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant