PickNikRobotics / ros2_robotiq_gripper

BSD 3-Clause "New" or "Revised" License
58 stars 43 forks source link

Failing to compile on foxy - cannot find serial #9

Closed shubhamsan closed 1 year ago

shubhamsan commented 1 year ago

Hello I am trying to use this package, but while 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]

Can any one help me with this, I also refered https://github.com/PickNikRobotics/ros2_robotiq_gripper/issues/3 but still facing the issue.

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.

Granted, we are using Humble so I can't guarantee this will also work on Foxy. Curious to know what happens if you get the chance to try!

moriarty commented 1 year ago

closing see #21