ros-naoqi / naoqi_driver

c++ bridge based on libqi
Apache License 2.0
51 stars 93 forks source link

how to install naoqi_libqicore? #119

Closed 3038922 closed 4 years ago

3038922 commented 4 years ago

my system is ubuntu1804 ros --version is melodic . if i input rosdep install -i -y --from-paths ./naoqi_driver

ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
naoqi_driver: Cannot locate rosdep definition for [naoqi_libqicore]
mbusy commented 4 years ago

Hi,

The naoqi_libqicore package has not yet been released for melodic, you won't be able to get it through rosdep or apt-get.

To compile naoqi_driver for melodic, the only solution for now would be to compile naoqi_libqicore and naoqi_libqi for melodic, and then compile naoqi_driver

3038922 commented 4 years ago

https://github.com/aldebaran/libqicore ->naoqi_libqicore https://github.com/aldebaran/libqi -> naoqi_libqi I am a novice, can you tell me how to compile libqicore? How to compile is not written in the document

mbusy commented 4 years ago

To compile those packages for naoqi_driver, you would need to modify them so that they match the format of ROS packages (named naoqi_libqi and naoqi_libqicore instead of libqi and libqicore), put them in the catkin workspace of your naoqi_driver repo and compile everything with catkin.

But this is not an easy task, extra modifications should be brought to libqi and libqicore in order to compile them for ubuntu 18 (mainly because of boost compatibility issues). I've opened an issue regarding the release of naoqi_libqi and naoqi_libqicore for melodic. With those 2 packages released, compiling naoqi_driver for melodic should be way easier.

mbusy commented 4 years ago

This is a bit of a necropost, but naoqi_libqicore (along with naoqi_driver, naoqi_bridge_msgs and the robots meshes) has been released for ros melodic