Console Output
+ source /opt/ros/foxy/setup.bash
++ AMENT_SHELL=bash
++++ dirname /opt/ros/foxy/setup.bash
+++ builtin cd /opt/ros/foxy
+++ pwd
++ AMENT_CURRENT_PREFIX=/opt/ros/foxy
++ '[' -n '' ']'
++ . /opt/ros/foxy/setup.sh
+++ : /opt/ros/foxy
+++ : bash
+++ _prefix_setup_IFS='
'
+++ IFS='
'
+++ _UNIQUE_PREFIX_PATH=
+++ '[' -z SKIP_PARENT_PREFIX_PATH ']'
+++ ament_append_unique_value _UNIQUE_PREFIX_PATH /opt/ros/foxy
+++ _listname=_UNIQUE_PREFIX_PATH
+++ _value=/opt/ros/foxy
+++ eval '_values=$_UNIQUE_PREFIX_PATH'
++++ _values=
+++ _duplicate=
+++ _ament_append_unique_value_IFS='
'
+++ IFS=:
+++ '[' bash = zsh ']'
+++ unset _item
+++ '[' -z '' ']'
+++ '[' -z '' ']'
+++ eval '_UNIQUE_PREFIX_PATH="/opt/ros/foxy"'
++++ _UNIQUE_PREFIX_PATH=/opt/ros/foxy
+++ IFS='
'
+++ unset _ament_append_unique_value_IFS
+++ unset _duplicate
+++ unset _values
+++ unset _value
+++ unset _listname
+++ unset AMENT_CURRENT_PREFIX
+++ _prefix_setup_AMENT_SHELL=bash
+++ IFS=:
+++ '[' bash = zsh ']'
+++ for _path in $_UNIQUE_PREFIX_PATH
+++ '[' -n '' ']'
+++ '[' -f /opt/ros/foxy/local_setup.bash ']'
+++ '[' bash = sh ']'
+++ IFS='
'
+++ . /opt/ros/foxy/local_setup.bash
++++ AMENT_SHELL=bash
++++++ dirname /opt/ros/foxy/local_setup.bash
+++++ builtin cd /opt/ros/foxy
+++++ pwd
++++ AMENT_CURRENT_PREFIX=/opt/ros/foxy
++++ '[' -n '' ']'
++++ . /opt/ros/foxy/local_setup.sh
+++++ _ament_prefix_sh_AMENT_CURRENT_PREFIX=/opt/ros/foxy
+++++ '[' -z /opt/ros/foxy ']'
+++++ _ament_prefix_sh_AMENT_CURRENT_PREFIX=/opt/ros/foxy
+++++ : bash
+++++ _ament_python_executable=/usr/bin/python3
+++++ '[' -n '' ']'
+++++ '[' '!' -f /usr/bin/python3 ']'
+++++ _ament_additional_extension=
+++++ '[' bash '!=' sh ']'
+++++ _ament_additional_extension=bash
++++++ /usr/bin/python3 /opt/ros/foxy/_local_setup_util.py sh bash
+++++ _ament_ordered_commands='AMENT_CURRENT_PREFIX="/opt/ros/foxy" _ament_prefix_sh_source_script "/opt/ros/foxy/share/ros2cli/environment/ros2-argcomplete.bash"
AMENT_CURRENT_PREFIX="/opt/ros/foxy" _ament_prefix_sh_source_script "/opt/ros/foxy/share/ros_environment/environment/0.ros_distro_check.sh"
export ROS_DISTRO="foxy"
# export ROS_LOCALHOST_ONLY="0"
export ROS_PYTHON_VERSION="3"
export ROS_VERSION="2"'
+++++ unset _ament_additional_extension
+++++ unset _ament_python_executable
+++++ '[' -n '' ']'
+++++ eval 'AMENT_CURRENT_PREFIX="/opt/ros/foxy" _ament_prefix_sh_source_script "/opt/ros/foxy/share/ros2cli/environment/ros2-argcomplete.bash"
AMENT_CURRENT_PREFIX="/opt/ros/foxy" _ament_prefix_sh_source_script "/opt/ros/foxy/share/ros_environment/environment/0.ros_distro_check.sh"
export ROS_DISTRO="foxy"
# export ROS_LOCALHOST_ONLY="0"
export ROS_PYTHON_VERSION="3"
export ROS_VERSION="2"'
++++++ AMENT_CURRENT_PREFIX=/opt/ros/foxy
++++++ _ament_prefix_sh_source_script /opt/ros/foxy/share/ros2cli/environment/ros2-argcomplete.bash
++++++ '[' -f /opt/ros/foxy/share/ros2cli/environment/ros2-argcomplete.bash ']'
++++++ '[' -n '' ']'
++++++ . /opt/ros/foxy/share/ros2cli/environment/ros2-argcomplete.bash
+++++++ type register-python-argcomplete3
++++++++ register-python-argcomplete3 ros2
+++++++ eval '
_python_argcomplete() {
local IFS=$'\''\013'\''
local SUPPRESS_SPACE=0
if compopt +o nospace 2> /dev/null; then
SUPPRESS_SPACE=1
fi
COMPREPLY=( $(IFS="$IFS" \
COMP_LINE="$COMP_LINE" \
COMP_POINT="$COMP_POINT" \
COMP_TYPE="$COMP_TYPE" \
_ARGCOMPLETE_COMP_WORDBREAKS="$COMP_WORDBREAKS" \
_ARGCOMPLETE=1 \
_ARGCOMPLETE_SUPPRESS_SPACE=$SUPPRESS_SPACE \
"$1" 8>&1 9>&2 1>/dev/null 2>/dev/null) )
if [[ $? != 0 ]]; then
unset COMPREPLY
elif [[ $SUPPRESS_SPACE == 1 ]] && [[ "$COMPREPLY" =~ [=/:]$ ]]; then
compopt -o nospace
fi
}
complete -o nospace -o default -F _python_argcomplete "ros2"'
++++++++ complete -o nospace -o default -F _python_argcomplete ros2
++++++ AMENT_CURRENT_PREFIX=/opt/ros/foxy
++++++ _ament_prefix_sh_source_script /opt/ros/foxy/share/ros_environment/environment/0.ros_distro_check.sh
++++++ '[' -f /opt/ros/foxy/share/ros_environment/environment/0.ros_distro_check.sh ']'
++++++ '[' -n '' ']'
++++++ . /opt/ros/foxy/share/ros_environment/environment/0.ros_distro_check.sh
+++++++ '[' -n foxy -a foxy '!=' foxy ']'
++++++ export ROS_DISTRO=foxy
++++++ ROS_DISTRO=foxy
++++++ export ROS_PYTHON_VERSION=3
++++++ ROS_PYTHON_VERSION=3
++++++ export ROS_VERSION=2
++++++ ROS_VERSION=2
+++++ unset _ament_ordered_commands
+++++ unset _ament_prefix_sh_source_script
+++++ unset _ament_prefix_sh_AMENT_CURRENT_PREFIX
+++ AMENT_SHELL=bash
+++ unset _path
+++ IFS='
'
+++ unset _prefix_setup_IFS
+++ unset _prefix_setup_AMENT_SHELL
+++ unset _UNIQUE_PREFIX_PATH
+++ unset AMENT_SHELL
+ colcon build --parallel-workers 15
Starting >>> comm_msgs
Starting >>> diagnose_msgs
Starting >>> perception_msgs
Starting >>> highway_msgs
Starting >>> localization_msgs
Starting >>> hdmap_cloud_msgs
Starting >>> align_msgs
Starting >>> cloud_msgs
Starting >>> hdmap_msgs
Starting >>> msf_localization_msgs
Starting >>> peripheral_msgs
Starting >>> platoon_msgs
Starting >>> port_msgs
Starting >>> simulate_msgs
Starting >>> spreader_msgs
Finished <<< simulate_msgs [17.4s]
Starting >>> v2x_msgs
Finished <<< spreader_msgs [18.5s]
Starting >>> visual_msgs
Finished <<< highway_msgs [23.3s]
Finished <<< diagnose_msgs [25.2s]
Starting >>> highway_core
Finished <<< port_msgs [25.6s]
Finished <<< localization_msgs [25.9s]
Finished <<< platoon_msgs [27.4s]
Finished <<< align_msgs [29.5s]
Finished <<< msf_localization_msgs [30.1s]
Finished <<< perception_msgs [44.7s]
Finished <<< v2x_msgs [29.1s]
Finished <<< peripheral_msgs [47.3s]
Finished <<< highway_core [23.3s]
Starting >>> highway_seg
Finished <<< visual_msgs [33.6s]
Finished <<< cloud_msgs [52.5s]
Finished <<< hdmap_msgs [55.9s]
Finished <<< hdmap_cloud_msgs [59.0s]
Finished <<< comm_msgs [1min 13s]
Starting >>> vehicle_msgs
Starting >>> ads_msgs
Starting >>> prediction_msgs
Starting >>> tos_msgs
Finished <<< prediction_msgs [9.61s]
Finished <<< highway_seg [39.7s]
Finished <<< vehicle_msgs [31.0s]
Starting >>> highway_detect
Starting >>> guardian_msgs
Starting >>> pnc_debug_msg
Finished <<< tos_msgs [32.3s]
Finished <<< ads_msgs [40.2s]
Finished <<< guardian_msgs [13.8s]
Finished <<< pnc_debug_msg [16.0s]
--- stderr: highway_detect
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp: In function ���std::vector<char> highway::trt::{anonymous}::BuildSerialized(const string&)���:
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:68:29: warning: ���void nvinfer1::IBuilder::setMaxBatchSize(int32_t)��� is deprecated [-Wdeprecated-declarations]
68 | builder->setMaxBatchSize(1);
| ^
In file included from /senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:3:
/usr/include/aarch64-linux-gnu/NvInfer.h:8795:25: note: declared here
8795 | TRT_DEPRECATED void setMaxBatchSize(int32_t batchSize) noexcept
| ^~~~~~~~~~~~~~~
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:69:46: warning: ���void nvinfer1::IBuilderConfig::setMaxWorkspaceSize(std::size_t)��� is deprecated [-Wdeprecated-declarations]
69 | config->setMaxWorkspaceSize(size_t(1) << 30);
| ^
In file included from /senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:3:
/usr/include/aarch64-linux-gnu/NvInfer.h:8192:25: note: declared here
8192 | TRT_DEPRECATED void setMaxWorkspaceSize(std::size_t workspaceSize) noexcept
| ^~~~~~~~~~~~~~~~~~~
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:70:66: warning: ���nvinfer1::ICudaEngine* nvinfer1::IBuilder::buildEngineWithConfig(nvinfer1::INetworkDefinition&, nvinfer1::IBuilderConfig&)��� is deprecated [-Wdeprecated-declarations]
70 | auto* engine = builder->buildEngineWithConfig(*network, *config);
| ^
In file included from /senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:3:
/usr/include/aarch64-linux-gnu/NvInfer.h:8899:43: note: declared here
8899 | TRT_DEPRECATED nvinfer1::ICudaEngine* buildEngineWithConfig(
| ^~~~~~~~~~~~~~~~~~~~~
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:75:17: warning: ���void nvinfer1::IHostMemory::destroy()��� is deprecated [-Wdeprecated-declarations]
75 | plan->destroy();
| ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
from /senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:3:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:172:25: note: declared here
172 | TRT_DEPRECATED void destroy() noexcept
| ^~~~~~~
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:76:19: warning: ���void nvinfer1::ICudaEngine::destroy()��� is deprecated [-Wdeprecated-declarations]
76 | engine->destroy();
| ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
from /senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:3:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:1522:25: note: declared here
1522 | TRT_DEPRECATED void destroy() noexcept
| ^~~~~~~
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:77:19: warning: ���void nvinfer1::IBuilderConfig::destroy()��� is deprecated [-Wdeprecated-declarations]
77 | config->destroy();
| ^
In file included from /senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:3:
/usr/include/aarch64-linux-gnu/NvInfer.h:8395:25: note: declared here
8395 | TRT_DEPRECATED void destroy() noexcept
| ^~~~~~~
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:78:19: warning: ���virtual void nvonnxparser::IParser::destroy()��� is deprecated [-Wdeprecated-declarations]
78 | parser->destroy();
| ^
In file included from /senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:4:
/usr/include/aarch64-linux-gnu/NvOnnxParser.h:199:33: note: declared here
199 | TRT_DEPRECATED virtual void destroy() = 0;
| ^~~~~~~
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:79:20: warning: ���void nvinfer1::INetworkDefinition::destroy()��� is deprecated [-Wdeprecated-declarations]
79 | network->destroy();
| ^
In file included from /senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:3:
/usr/include/aarch64-linux-gnu/NvInfer.h:6572:25: note: declared here
6572 | TRT_DEPRECATED void destroy() noexcept
| ^~~~~~~
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:80:20: warning: ���void nvinfer1::IBuilder::destroy()��� is deprecated [-Wdeprecated-declarations]
80 | builder->destroy();
| ^
In file included from /senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:3:
/usr/include/aarch64-linux-gnu/NvInfer.h:8838:25: note: declared here
8838 | TRT_DEPRECATED void destroy() noexcept
| ^~~~~~~
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp: In member function ���void highway::trt::EngineDeleter::operator()(highway::trt::Engine*) const���:
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:95:39: warning: ���void nvinfer1::IExecutionContext::destroy()��� is deprecated [-Wdeprecated-declarations]
95 | if (p->context) p->context->destroy();
| ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
from /senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:3:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:2014:25: note: declared here
2014 | TRT_DEPRECATED void destroy() noexcept
| ^~~~~~~
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:96:37: warning: ���void nvinfer1::ICudaEngine::destroy()��� is deprecated [-Wdeprecated-declarations]
96 | if (p->engine) p->engine->destroy();
| ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
from /senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:3:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:1522:25: note: declared here
1522 | TRT_DEPRECATED void destroy() noexcept
| ^~~~~~~
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:97:39: warning: ���void nvinfer1::IRuntime::destroy()��� is deprecated [-Wdeprecated-declarations]
97 | if (p->runtime) p->runtime->destroy();
| ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
from /senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:3:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:682:25: note: declared here
682 | TRT_DEPRECATED void destroy() noexcept
| ^~~~~~~
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp: In function ���highway::trt::EnginePtr highway::trt::Build(const string&, const string&)���:
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:163:82: warning: ���nvinfer1::ICudaEngine* nvinfer1::IRuntime::deserializeCudaEngine(const void*, std::size_t, nvinfer1::IPluginFactory*)��� is deprecated [-Wdeprecated-declarations]
163 | p->engine = p->runtime->deserializeCudaEngine(plan.data(), plan.size(), nullptr);
| ^
In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:17,
from /senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/platform/trt_runtime.cpp:3:
/usr/include/aarch64-linux-gnu/NvInferRuntime.h:637:43: note: declared here
637 | TRT_DEPRECATED nvinfer1::ICudaEngine* deserializeCudaEngine(
| ^~~~~~~~~~~~~~~~~~~~~
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/detector/centerpoint/preprocess.cu(425): warning: variable "grid_z_size" was declared but never referenced
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/detector/centerpoint/preprocess.cu(478): warning: variable "grid_z_size" was declared but never referenced
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/detector/centerpoint/postprocess.cu: In function ���int generateFinalBoxesFromRois_launch(unsigned int*, float*, float*, float*, float*, float*, unsigned int*, float*, const int*, int, unsigned int, unsigned int, float, float, float, float, int, const float*, float*, int&)���:
/senior/workspace/orin-module-ros2/src/new_detection_highway/new_detection_highway/highway_detect/src/detector/centerpoint/postprocess.cu:234:8: warning: format ���%d��� expects argument of type ���int���, but argument 2 has type ���size_t��� {aka ���long unsigned int���} [-Wformat=]
234 | printf("The number of Rois after min-threshold filter (%d) is Larger than preset size (400)", i);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~
| |
| size_t {aka long unsigned int}
---
[Processing: highway_detect]
Finished <<< highway_detect [1min 0s]
Starting >>> highway_launch
Finished <<< highway_launch [1.22s]
Summary: 27 packages finished [2min 46s]
1 package had stderr output: highway_detect