ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Well after a while go on with problem I managed it with rosdep.yaml. For libusb in rosdep.yaml I should have something like:

libusb:

ubuntu: libusb-dev

But this is not enough. I should have also set the true linker for compile. So I went to CMakeLists.txt and add

target_link_libraries(joystick_talker usb-1.0) // joystick_talker is my node name

and my node started to compile very well with libusb.

With standart joy node, rosdep.yaml created for "joystick" library. But the main problem was here to set it to write permitted directory which is "ros_workspace", after I moved it to ros_workspace and try to rosmake everything gone well.