PickNikRobotics / ros2_robotiq_gripper

BSD 3-Clause "New" or "Revised" License
50 stars 40 forks source link

Failing to compile on Humble - cannot find `serial` #3

Closed jakobbak closed 1 year ago

jakobbak commented 2 years ago

Hello

Hope it is ok asking through an issue here. I am interested in using this package, but trying to compile the source in a workspace fails with the classic

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

    serialConfig.cmake
    serial-config.cmake

I tried running $ rosdep install --from-paths src -y --ignore-src but get a response:

$ rosdep install --from-paths src -y --ignore-src
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
robotiq_description: Cannot locate rosdep definition for [serial]
robotiq_driver: Cannot locate rosdep definition for [serial]

I tried installing both ros-humble-serial-driver and libserial-dev, but neither of them seems to provide the requested serialConfig.cmake file.

May I ask you to point me in the right direction of what package you are using and how to get hold of it?

jakobbak commented 2 years ago

Immediately after posting this I did the obvious and searched for serial within the Picknik repositories and found https://github.com/PickNikRobotics/serial-release. May I ask then, if it is indeed one of the various forks of William Woodall and John Harrison's serial library? Perhaps https://github.com/PickNikRobotics/serial-release/tree/release/humble/serial?

danzimmerman commented 1 year ago

I'm working with Robostack, where the ros-humble-serial release isn't available.

I've found that https://github.com/RFRIEDM-Trimble/serial-ros2 builds with colcon and works with this repo.

sea-bass commented 1 year ago

In our repos, we are using the ros2 branch of https://github.com/tylerjw/serial/tree/ros2, and building it from source in the same workspace as ros2_robotiq_gripper.

moriarty commented 1 year ago

closing see #21