rossihwang / ros2_camsense_x1

9 stars 8 forks source link

CMake error #2

Closed dayvsonsilva closed 3 years ago

dayvsonsilva commented 3 years ago

Hi, could you name which package you are using for serial communication? When compiling the workspace I get the following error:

--- stderr: camsense_x1                                               
CMake Error at CMakeLists.txt:22 (find_package):
  By not providing "Findserial.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "serial", but
  CMake did not find one.

  Could not find a package configuration file provided by "serial" with any
  of the following names:

    serialConfig.cmake
    serial-config.cmake

  Add the installation prefix of "serial" to CMAKE_PREFIX_PATH or set
  "serial_DIR" to a directory containing one of the above files.  If "serial"
  provides a separate development package or SDK, be sure it has been
  installed.

what packages should i install on ros2 to solve this problem?

rossihwang commented 3 years ago

hi, you'd better install this package https://github.com/RoverRobotics-forks/serial-ros2

Dayvson Leandro notifications@github.com 于2020年10月12日周一 上午10:37写道:

Hi, could you name which package you are using for serial communication? When compiling the workspace I get the following error:

--- stderr: camsense_x1 CMake Error at CMakeLists.txt:22 (find_package): By not providing "Findserial.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "serial", but CMake did not find one.

Could not find a package configuration file provided by "serial" with any of the following names:

serialConfig.cmake
serial-config.cmake

Add the installation prefix of "serial" to CMAKE_PREFIX_PATH or set "serial_DIR" to a directory containing one of the above files. If "serial" provides a separate development package or SDK, be sure it has been installed.

what packages should i install on ros2 to solve this problem?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rossihwang/ros2_camsense_x1/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOTZUORXHSMEQIP7PMQI53SKJTXHANCNFSM4SMGU4GA .

-- regards

HUANG RUOXI

dayvsonsilva commented 3 years ago

Hi, thank you very much for returning. I installed the indicated package and compiled the packages. Now I can see the data in the rqt, but I couldn't see the points in the rviz. Do you have any idea what I might be doing wrong?

rossihwang commented 3 years ago

if the topic is right, I guess it may be something wrong with the QoS setting of this topic in rviz. please set the it according to that in the lidar data publisher.

Dayvson Leandro notifications@github.com 于2020年10月13日周二 上午6:15写道:

Hi, thank you very much for returning. I installed the indicated package and compiled the packages. Now I can see the data in the rqt, but I couldn't see the points in the rviz. Do you have any idea what I might be doing wrong?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rossihwang/ros2_camsense_x1/issues/2#issuecomment-707372092, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOTZULEDZTC3WTHQ3ERAW3SKN5WNANCNFSM4SMGU4GA .

-- regards

HUANG RUOXI