1.8 KiB
1.8 KiB
/home/firmament/codes/24navigation/src/livox_ros_driver2/src/pointcloud_flipper.cpp: In constructor ‘PointCloudFlipper::PointCloudFlipper()’:
/home/firmament/codes/24navigation/src/livox_ros_driver2/src/pointcloud_flipper.cpp:21:24: error: ‘class PointCloudFlipper’ has no member named ‘create_111publisher’; did you mean ‘create_publisher’?
21 | publisher_ = this->create_111publisher<sensor_msgs::msg::PointCloud2>("/flipped_pointcloud", 10);
| ^~~~~~~~~~~~~~~~~~~
| create_publisher
/home/firmament/codes/24navigation/src/livox_ros_driver2/src/pointcloud_flipper.cpp:21:73: error: expected primary-expression before ‘>’ token
21 | r_ = this->create_111publisher<sensor_msgs::msg::PointCloud2>("/flipped_pointcloud", 10);
| ^
/home/firmament/codes/24navigation/src/livox_ros_driver2/src/pointcloud_flipper.cpp:21:75: warning: left operand of comma operator has no effect [-Wunused-value]
21 | = this->create_111publisher<sensor_msgs::msg::PointCloud2>("/flipped_pointcloud", 10);
| ^~~~~~~~~~~~~~~~~~~~~
gmake[2]: *** [CMakeFiles/pointcloud_flipper.dir/build.make:76: CMakeFiles/pointcloud_flipper.dir/src/pointcloud_flipper.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:186: CMakeFiles/pointcloud_flipper.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
/home/firmament/codes/24navigation/src/livox_ros_driver2/src/pointcloud_flipper.cpp:21:24: error: ‘class PointCloudFlipper’ has no member named ‘create_111publisher’; did you mean ‘create_publisher’?
21 | publisher_ = this->create_111publisher<sensor_msgs::msg::PointCloud2>("/flipped_pointcloud", 10);
| ^~~~~~~~~~~~~~~~~~~
| create_publisher
/home/firmament/codes/24navigation/src/livox_ros_driver2/src/pointcloud_flipper.cpp:21:73: error: expected primary-expression before ‘>’ token
21 | r_ = this->create_111publisher<sensor_msgs::msg::PointCloud2>("/flipped_pointcloud", 10);
| ^
/home/firmament/codes/24navigation/src/livox_ros_driver2/src/pointcloud_flipper.cpp:21:75: warning: left operand of comma operator has no effect [-Wunused-value]
21 | = this->create_111publisher<sensor_msgs::msg::PointCloud2>("/flipped_pointcloud", 10);
| ^~~~~~~~~~~~~~~~~~~~~
gmake[2]: *** [CMakeFiles/pointcloud_flipper.dir/build.make:76: CMakeFiles/pointcloud_flipper.dir/src/pointcloud_flipper.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:186: CMakeFiles/pointcloud_flipper.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2