24navigation/log/build_2024-03-04_21-59-19/pcdmap2pgm/streams.log

35 lines
4.2 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[0.141s] Invoking command in '/home/firmament/codes/24navigation/build/pcdmap2pgm': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/firmament/codes/24navigation/build/pcdmap2pgm -- -j8 -l8
[0.208s] Consolidate compiler generated dependencies of target convert_pcd2pgm
[0.243s] [ 50%] Building CXX object CMakeFiles/convert_pcd2pgm.dir/src/pcd2pgm.cpp.o
[3.611s] /home/firmament/codes/24navigation/src/pcdmap2pgm/src/pcd2pgm.cpp: In function int main(int, char**):
[3.611s] /home/firmament/codes/24navigation/src/pcdmap2pgm/src/pcd2pgm.cpp:93:27: error: no matching function for call to rclcpp::Node::get_parameter_or(const char [11], double&, int)
[3.611s] 93 | node->get_parameter_or("thre_z_min", thre_z_min,-10); // 0.5 changed
[3.611s] | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[3.614s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:1321,
[3.614s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[3.614s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[3.614s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[3.614s] from /home/firmament/codes/24navigation/src/pcdmap2pgm/src/pcd2pgm.cpp:1:
[3.614s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:302:1: note: candidate: template<class ParameterT> bool rclcpp::Node::get_parameter_or(const string&, ParameterT&, const ParameterT&) const
[3.614s] 302 | Node::get_parameter_or(
[3.614s] | ^~~~
[3.615s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:302:1: note:  template argument deduction/substitution failed:
[3.615s] /home/firmament/codes/24navigation/src/pcdmap2pgm/src/pcd2pgm.cpp:93:27: note:  deduced conflicting types for parameter const ParameterT (double and int)
[3.615s] 93 | node->get_parameter_or("thre_z_min", thre_z_min,-10); // 0.5 changed
[3.615s] | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[3.615s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/executors/single_threaded_executor.hpp:28,
[3.615s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:22,
[3.615s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155,
[3.615s] from /home/firmament/codes/24navigation/src/pcdmap2pgm/src/pcd2pgm.cpp:1:
[3.615s] /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:721:3: note: candidate: template<class ParameterT> ParameterT rclcpp::Node::get_parameter_or(const string&, const ParameterT&) const
[3.615s] 721 | get_parameter_or(
[3.615s] | ^~~~~~~~~~~~~~~~
[3.615s] /opt/ros/humble/include/rclcpp/rclcpp/node.hpp:721:3: note:  template argument deduction/substitution failed:
[3.615s] /home/firmament/codes/24navigation/src/pcdmap2pgm/src/pcd2pgm.cpp:93:27: note:  candidate expects 2 arguments, 3 provided
[3.615s] 93 | node->get_parameter_or("thre_z_min", thre_z_min,-10); // 0.5 changed
[3.615s] | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[4.347s] gmake[2]: *** [CMakeFiles/convert_pcd2pgm.dir/build.make:76: CMakeFiles/convert_pcd2pgm.dir/src/pcd2pgm.cpp.o] Error 1
[4.347s] gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/convert_pcd2pgm.dir/all] Error 2
[4.347s] gmake: *** [Makefile:146: all] Error 2
[4.349s] Invoked command in '/home/firmament/codes/24navigation/build/pcdmap2pgm' returned '2': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/firmament/codes/24navigation/build/pcdmap2pgm -- -j8 -l8