We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi ,
I am using ROS-Noetic on my Arch-Linux , I followed the guide for building and visualization tutorial in this section https://github.com/robopeak/rplidar_ros/wiki but when I try to build it I got this warning:
/home/user/Projects/ROS/catkin_ws/src/rplidar_ros-master/sdk/src/arch/linux/net_socket.cpp: In member function ‘virtual u_result rp::net::SocketAddress::getAddressAsString(char*, size_t) const’: /home/user/Projects/ROS/catkin_ws/src/rplidar_ros-master/sdk/src/arch/linux/net_socket.cpp:170:15: error: ordered comparison of pointer with integer zero (‘const char*’ and ‘int’) 170 | return ans<=0?RESULT_OPERATION_FAIL:RESULT_OK; | ~~~^~~ /home/user/Projects/ROS/catkin_ws/src/rplidar_ros-master/sdk/src/rplidar_driver.cpp: In member function ‘virtual u_result rp::standalone::rplidar::RPlidarDriverImplCommon::grabScanData(rplidar_response_measurement_node_t*, size_t&, _u32)’: /home/user/Projects/ROS/catkin_ws/src/rplidar_ros-master/sdk/src/rplidar_driver.cpp:1704:26: error: narrowing conversion of ‘rp::hal::Event::EVENT_TIMEOUT’ from ‘int’ to ‘long unsigned int’ [-Wnarrowing] 1704 | case rp::hal::Event::EVENT_TIMEOUT: | ^~~~~~~~~~~~~ /home/user/Projects/ROS/catkin_ws/src/rplidar_ros-master/sdk/src/rplidar_driver.cpp: In member function ‘virtual u_result rp::standalone::rplidar::RPlidarDriverImplCommon::grabScanDataHq(rplidar_response_measurement_node_hq_t*, size_t&, _u32)’: /home/user/Projects/ROS/catkin_ws/src/rplidar_ros-master/sdk/src/rplidar_driver.cpp:1733:26: error: narrowing conversion of ‘rp::hal::Event::EVENT_TIMEOUT’ from ‘int’ to ‘long unsigned int’ [-Wnarrowing] 1733 | case rp::hal::Event::EVENT_TIMEOUT: | ^~~~~~~~~~~~~ make[2]: *** [rplidar_ros-master/CMakeFiles/rplidarNode.dir/build.make:104: rplidar_ros-master/CMakeFiles/rplidarNode.dir/sdk/src/arch/linux/net_socket.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [rplidar_ros-master/CMakeFiles/rplidarNode.dir/build.make:146: rplidar_ros-master/CMakeFiles/rplidarNode.dir/sdk/src/rplidar_driver.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1489: rplidar_ros-master/CMakeFiles/rplidarNode.dir/all] Error 2 make: *** [Makefile:146: all] Error 2 Invoking "make -j8 -l8" failed
Any help ? thanks!
The text was updated successfully, but these errors were encountered:
Please use this repo:rplidar_ros
Sorry, something went wrong.
No branches or pull requests
Hi ,
I am using ROS-Noetic on my Arch-Linux , I followed the guide for building and visualization tutorial in this section https://github.com/robopeak/rplidar_ros/wiki but when I try to build it I got this warning:
Any help ? thanks!
The text was updated successfully, but these errors were encountered: