Skip to content

Compile LWR_hardware in ROS Hydro via Catkin #2

Description

@amine-abm

Hello,

I am trying to compile Orocos and rrt in ROS hydro to run LWR packages, but i get errors :

CMake Error at /opt/ros/hydro/share/catkin/cmake/catkin_package.cmake:159 (message):
catkin_package() DEPENDS on 'rtt' which must be find_package()-ed before.
If it is a catkin package it can be declared as CATKIN_DEPENDS instead
without find_package()-ing it.
Call Stack (most recent call first):
/opt/ros/hydro/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
lwr_packages/lwr_hardware/lwr_fri/CMakeLists.txt:9 (catkin_package)

So I modified src/lwr_packages/lwr_hardware/lwr_fri/CMakeLists.txt and remove the rtt dependancy from line 10

Then I get the following error:
/home/vision/ws/underlay/src/lwr_packages/lwr_hardware/lwr_fri/src/FRIComponent.cpp: In member function ‘void FRIComponent::doComm()’:
/home/vision/ws/underlay/src/lwr_packages/lwr_hardware/lwr_fri/src/FRIComponent.cpp:164:11: warning: ‘void tf::PoseKDLToMsg(const KDL::Frame&, geometry_msgs::Pose&)’ is deprecated (declared at /opt/ros/hydro/include/kdl_conversions/kdl_msg.h:96) [-Wdeprecated-declarations]

/home/vision/ws/underlay/src/lwr_packages/lwr_hardware/lwr_fri/src/FRIComponent.cpp:43:23: fatal error: rtdm/rtdm.h: No such file or directory
compilation terminated.
make[2]: *** [lwr_packages/lwr_hardware/lwr_fri/CMakeFiles/fricomponent.dir/src/FRIComponent.cpp.o] Error 1
make[1]: *** [lwr_packages/lwr_hardware/lwr_fri/CMakeFiles/fricomponent.dir/all] Error 2

So I commented the #ifndef HAVE_RTNET in FRIComponent.cpp file (line 33)

Is it ok to do that or I am missing other libraries or packages?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions