1.5 KiB
1.5 KiB
[ 20%] Built target laserscan_to_pointcloud_node
[ 40%] Built target laserscan_to_pointcloud
[ 60%] Built target pointcloud_to_laserscan_node
[ 70%] Building CXX object CMakeFiles/pointcloud_to_laserscan.dir/src/pointcloud_to_laserscan_node.cpp.o
/home/firmament/codes/24navigation/src/pointcloud_to_laserscan/src/pointcloud_to_laserscan_node.cpp: In constructor ‘pointcloud_to_laserscan::PointCloudToLaserScanNode::PointCloudToLaserScanNode(const rclcpp::NodeOptions&)’:
/home/firmament/codes/24navigation/src/pointcloud_to_laserscan/src/pointcloud_to_laserscan_node.cpp:68:30: error: declaration of ‘rclcpp::PublisherOptions options’ shadows a parameter
68 | rclcpp::PublisherOptions options;
| ^~~~~~~
/home/firmament/codes/24navigation/src/pointcloud_to_laserscan/src/pointcloud_to_laserscan_node.cpp:60:82: note: ‘const rclcpp::NodeOptions& options’ previously declared here
60 | canNode::PointCloudToLaserScanNode(const rclcpp::NodeOptions & options)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
gmake[2]: *** [CMakeFiles/pointcloud_to_laserscan.dir/build.make:76: CMakeFiles/pointcloud_to_laserscan.dir/src/pointcloud_to_laserscan_node.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:197: CMakeFiles/pointcloud_to_laserscan.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
[ 40%] Built target laserscan_to_pointcloud
[ 60%] Built target pointcloud_to_laserscan_node
[ 70%] Building CXX object CMakeFiles/pointcloud_to_laserscan.dir/src/pointcloud_to_laserscan_node.cpp.o
/home/firmament/codes/24navigation/src/pointcloud_to_laserscan/src/pointcloud_to_laserscan_node.cpp: In constructor ‘pointcloud_to_laserscan::PointCloudToLaserScanNode::PointCloudToLaserScanNode(const rclcpp::NodeOptions&)’:
/home/firmament/codes/24navigation/src/pointcloud_to_laserscan/src/pointcloud_to_laserscan_node.cpp:68:30: error: declaration of ‘rclcpp::PublisherOptions options’ shadows a parameter
68 | rclcpp::PublisherOptions options;
| ^~~~~~~
/home/firmament/codes/24navigation/src/pointcloud_to_laserscan/src/pointcloud_to_laserscan_node.cpp:60:82: note: ‘const rclcpp::NodeOptions& options’ previously declared here
60 | canNode::PointCloudToLaserScanNode(const rclcpp::NodeOptions & options)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
gmake[2]: *** [CMakeFiles/pointcloud_to_laserscan.dir/build.make:76: CMakeFiles/pointcloud_to_laserscan.dir/src/pointcloud_to_laserscan_node.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:197: CMakeFiles/pointcloud_to_laserscan.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2