tier4 / autoware.universe Goto Github PK
View Code? Open in Web Editor NEWThis project forked from autowarefoundation/autoware.universe
License: Apache License 2.0
This project forked from autowarefoundation/autoware.universe
License: Apache License 2.0
All the references to the std
namespace inside the cuda_utils.hpp
files are encased inside the cuda
namespace causing compilation issues.
https://github.com/tier4/autoware.universe/blob/tier4/main/perception/tensorrt_yolo/lib/include/cuda_utils.hpp#L60
https://github.com/tier4/autoware.universe/blob/tier4/main/perception/lidar_centerpoint/include/lidar_centerpoint/cuda_utils.hpp#L59
Successful compilation.
Errors such as:
error: namespace "cuda::std" has no member "stringstream"
error: namespace "cuda::std" has no member "runtime_error"
error: namespace "cuda::std" has no member "unique_ptr"
error: namespace "cuda::std" has no member "runtime_error"
Compile colcon build
Incorrect namespace resolution due to missing ::
before any call to methods contained in std
.
Prepend ::
before any call to std
namespace cuda
{
inline void check_error(const ::cudaError_t e, const char * f, int n)
{
if (e != ::cudaSuccess) {
- std::stringstream s;
+ ::std::stringstream s;
s << ::cudaGetErrorName(e) << " (" << e << ")@" << f << "#L" << n << ": "
<< ::cudaGetErrorString(e);
- throw std::runtime_error{s.str()};
+ ::throw std::runtime_error{s.str()};
}
.....
No response
The names of some parameters in ground_segmentation.param.yaml are different from the actual ones.
This is due to the changes in 0e1761a.
ground_segmentation.param.yaml should provide ros__parameters/common_crop_box_filter/parameters/margin_max_z
and ros__parameters/common_crop_box_filter/parameters/margin_min_z
.
ground_segmentation.param.yaml provide ros__parameters/common_crop_box_filter/parameters/max_z
and ros__parameters/common_crop_box_filter/parameters/min_z
.
Not applicable.
No response
No response
No response
It's a strange error I could only get on one out of three machines.
When tested on two freshly installed ubuntu + ros2, one passes second one does not.
Following build instructions, I got missing package pacmod3-msgs - not installing from rosdep. I have installed manually from repository instruction. Then when compiling I got a linking error.
Build awapi_awiv_adapter
--- stderr: awapi_awiv_adapter
/usr/bin/ld: CMakeFiles/awapi_awiv_adapter.dir/src/awapi_awiv_adapter_core.cpp.o: in function `rclcpp::Publisher<pacmod3_msgs::msg::SystemCmdInt_<std::allocator<void> >, std::allocator<void> >::Publisher(rclcpp::node_interfaces::NodeBaseInterface*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rclcpp::QoS const&, rclcpp::PublisherOptionsWithAllocator<std::allocator<void> > const&)':
awapi_awiv_adapter_core.cpp:(.text._ZN6rclcpp9PublisherIN12pacmod3_msgs3msg13SystemCmdInt_ISaIvEEES4_EC2EPNS_15node_interfaces17NodeBaseInterfaceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_3QoSERKNS_29PublisherOptionsWithAllocatorIS4_EE[_ZN6rclcpp9PublisherIN12pacmod3_msgs3msg13SystemCmdInt_ISaIvEEES4_EC5EPNS_15node_interfaces17NodeBaseInterfaceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_3QoSERKNS_29PublisherOptionsWithAllocatorIS4_EE]+0x17d): undefined reference to `rosidl_message_type_support_t const* rosidl_typesupport_cpp::get_message_type_support_handle<pacmod3_msgs::msg::SystemCmdInt_<std::allocator<void> > >()'
/usr/bin/ld: CMakeFiles/awapi_awiv_adapter.dir/src/awapi_awiv_adapter_core.cpp.o: in function `std::_Function_handler<std::shared_ptr<rclcpp::SubscriptionBase> (rclcpp::node_interfaces::NodeBaseInterface*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rclcpp::QoS const&), rclcpp::create_subscription_factory<pacmod3_msgs::msg::GlobalRpt_<std::allocator<void> >, std::_Bind<void (autoware_api::AutowareIvAdapter::*(autoware_api::AutowareIvAdapter*, std::_Placeholder<1>))(std::shared_ptr<pacmod3_msgs::msg::GlobalRpt_<std::allocator<void> > const>)>, std::allocator<void>, pacmod3_msgs::msg::GlobalRpt_<std::allocator<void> >, rclcpp::Subscription<pacmod3_msgs::msg::GlobalRpt_<std::allocator<void> >, std::allocator<void>, rclcpp::message_memory_strategy::MessageMemoryStrategy<pacmod3_msgs::msg::GlobalRpt_<std::allocator<void> >, std::allocator<void> > >, rclcpp::message_memory_strategy::MessageMemoryStrategy<pacmod3_msgs::msg::GlobalRpt_<std::allocator<void> >, std::allocator<void> > >(std::_Bind<void (autoware_api::AutowareIvAdapter::*(autoware_api::AutowareIvAdapter*, std::_Placeholder<1>))(std::shared_ptr<pacmod3_msgs::msg::GlobalRpt_<std::allocator<void> > const>)>&&, rclcpp::SubscriptionOptionsWithAllocator<std::allocator<void> > const&, rclcpp::message_memory_strategy::MessageMemoryStrategy<pacmod3_msgs::msg::GlobalRpt_<std::allocator<void> >, std::allocator<void> >::SharedPtr, std::shared_ptr<rclcpp::topic_statistics::SubscriptionTopicStatistics<pacmod3_msgs::msg::GlobalRpt_<std::allocator<void> > > >)::{lambda(rclcpp::node_interfaces::NodeBaseInterface*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rclcpp::QoS const&)#1}>::_M_invoke(std::_Any_data const&, rclcpp::node_interfaces::NodeBaseInterface*&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rclcpp::QoS const&)':
awapi_awiv_adapter_core.cpp:(.text._ZNSt17_Function_handlerIFSt10shared_ptrIN6rclcpp16SubscriptionBaseEEPNS1_15node_interfaces17NodeBaseInterfaceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS1_3QoSEEZNS1_27create_subscription_factoryIN12pacmod3_msgs3msg10GlobalRpt_ISaIvEEESt5_BindIFMN12autoware_api17AutowareIvAdapterEFvS0_IKSO_EEPSR_St12_PlaceholderILi1EEEESN_SO_NS1_12SubscriptionISO_SN_NS1_23message_memory_strategy21MessageMemoryStrategyISO_SN_EEEES14_EENS1_19SubscriptionFactoryEOT0_RKNS1_32SubscriptionOptionsWithAllocatorIT1_EENT4_9SharedPtrES0_INS1_16topic_statistics27SubscriptionTopicStatisticsIT2_EEEEUlS6_SE_SH_E_E9_M_invokeERKSt9_Any_dataOS6_SE_SH_[_ZNSt17_Function_handlerIFSt10shared_ptrIN6rclcpp16SubscriptionBaseEEPNS1_15node_interfaces17NodeBaseInterfaceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS1_3QoSEEZNS1_27create_subscription_factoryIN12pacmod3_msgs3msg10GlobalRpt_ISaIvEEESt5_BindIFMN12autoware_api17AutowareIvAdapterEFvS0_IKSO_EEPSR_St12_PlaceholderILi1EEEESN_SO_NS1_12SubscriptionISO_SN_NS1_23message_memory_strategy21MessageMemoryStrategyISO_SN_EEEES14_EENS1_19SubscriptionFactoryEOT0_RKNS1_32SubscriptionOptionsWithAllocatorIT1_EENT4_9SharedPtrES0_INS1_16topic_statistics27SubscriptionTopicStatisticsIT2_EEEEUlS6_SE_SH_E_E9_M_invokeERKSt9_Any_dataOS6_SE_SH_]+0x4a): undefined reference to `rosidl_message_type_support_t const* rosidl_typesupport_cpp::get_message_type_support_handle<pacmod3_msgs::msg::GlobalRpt_<std::allocator<void> > >()'
/usr/bin/ld: CMakeFiles/awapi_awiv_adapter.dir/src/awapi_awiv_adapter_core.cpp.o: in function `std::_Function_handler<std::shared_ptr<rclcpp::SubscriptionBase> (rclcpp::node_interfaces::NodeBaseInterface*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rclcpp::QoS const&), rclcpp::create_subscription_factory<pacmod3_msgs::msg::SystemRptInt_<std::allocator<void> >, std::_Bind<void (autoware_api::AutowareIvAdapter::*(autoware_api::AutowareIvAdapter*, std::_Placeholder<1>))(std::shared_ptr<pacmod3_msgs::msg::SystemRptInt_<std::allocator<void> > const>)>, std::allocator<void>, pacmod3_msgs::msg::SystemRptInt_<std::allocator<void> >, rclcpp::Subscription<pacmod3_msgs::msg::SystemRptInt_<std::allocator<void> >, std::allocator<void>, rclcpp::message_memory_strategy::MessageMemoryStrategy<pacmod3_msgs::msg::SystemRptInt_<std::allocator<void> >, std::allocator<void> > >, rclcpp::message_memory_strategy::MessageMemoryStrategy<pacmod3_msgs::msg::SystemRptInt_<std::allocator<void> >, std::allocator<void> > >(std::_Bind<void (autoware_api::AutowareIvAdapter::*(autoware_api::AutowareIvAdapter*, std::_Placeholder<1>))(std::shared_ptr<pacmod3_msgs::msg::SystemRptInt_<std::allocator<void> > const>)>&&, rclcpp::SubscriptionOptionsWithAllocator<std::allocator<void> > const&, rclcpp::message_memory_strategy::MessageMemoryStrategy<pacmod3_msgs::msg::SystemRptInt_<std::allocator<void> >, std::allocator<void> >::SharedPtr, std::shared_ptr<rclcpp::topic_statistics::SubscriptionTopicStatistics<pacmod3_msgs::msg::SystemRptInt_<std::allocator<void> > > >)::{lambda(rclcpp::node_interfaces::NodeBaseInterface*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rclcpp::QoS const&)#1}>::_M_invoke(std::_Any_data const&, rclcpp::node_interfaces::NodeBaseInterface*&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, rclcpp::QoS const&)':
awapi_awiv_adapter_core.cpp:(.text._ZNSt17_Function_handlerIFSt10shared_ptrIN6rclcpp16SubscriptionBaseEEPNS1_15node_interfaces17NodeBaseInterfaceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS1_3QoSEEZNS1_27create_subscription_factoryIN12pacmod3_msgs3msg13SystemRptInt_ISaIvEEESt5_BindIFMN12autoware_api17AutowareIvAdapterEFvS0_IKSO_EEPSR_St12_PlaceholderILi1EEEESN_SO_NS1_12SubscriptionISO_SN_NS1_23message_memory_strategy21MessageMemoryStrategyISO_SN_EEEES14_EENS1_19SubscriptionFactoryEOT0_RKNS1_32SubscriptionOptionsWithAllocatorIT1_EENT4_9SharedPtrES0_INS1_16topic_statistics27SubscriptionTopicStatisticsIT2_EEEEUlS6_SE_SH_E_E9_M_invokeERKSt9_Any_dataOS6_SE_SH_[_ZNSt17_Function_handlerIFSt10shared_ptrIN6rclcpp16SubscriptionBaseEEPNS1_15node_interfaces17NodeBaseInterfaceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS1_3QoSEEZNS1_27create_subscription_factoryIN12pacmod3_msgs3msg13SystemRptInt_ISaIvEEESt5_BindIFMN12autoware_api17AutowareIvAdapterEFvS0_IKSO_EEPSR_St12_PlaceholderILi1EEEESN_SO_NS1_12SubscriptionISO_SN_NS1_23message_memory_strategy21MessageMemoryStrategyISO_SN_EEEES14_EENS1_19SubscriptionFactoryEOT0_RKNS1_32SubscriptionOptionsWithAllocatorIT1_EENT4_9SharedPtrES0_INS1_16topic_statistics27SubscriptionTopicStatisticsIT2_EEEEUlS6_SE_SH_E_E9_M_invokeERKSt9_Any_dataOS6_SE_SH_]+0x4a): undefined reference to `rosidl_message_type_support_t const* rosidl_typesupport_cpp::get_message_type_support_handle<pacmod3_msgs::msg::SystemRptInt_<std::allocator<void> > >()'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/awapi_awiv_adapter.dir/build.make:484: awapi_awiv_adapter] Error 1
make[1]: *** [CMakeFiles/Makefile2:78: CMakeFiles/awapi_awiv_adapter.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
---
Failed <<< awapi_awiv_adapter [3.68s, exited with code 2]
When the same version of pacmod3-msgs is installed on other machines it passes build. Another issue with rosdep - rosdep is unable to locate logsim: Cannot locate rosdep definition for [ndt_convergence_evaluation]
.
I have no time to investigate, also it is not crucial and necessary for me to work. Please do not rush to solve this.
An environment variable name tier4_simulator_launch_param_path
is defined HERE.
And the name is used in HERE. You can see the config
directory is conflicting.
When I tried to use fault injection in the scenario simulator, I could not use the fault injection because of duplicate "config" directories.
I can use Fault Injection in the scenario simulator.
I cannot use Fault Injection in the scenario simulator.
No response
No response
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.