Ask Your Question

Install ros_lib into the Arduino Environment

asked 2016-07-16 06:11:14 -0500

Tianyun Xiong gravatar image

updated 2016-07-16 14:14:34 -0500

ahendrix gravatar image

Hi! When i run it in termial rosrun rosserial_arduino . it will occur:

** Warning, failed to generate libraries for the following packages: ***
    object_recognition_capture (missing dependency: xdot)
    pr2_description (missing dependency: convex_decomposition)
    moveit_core (missing dependency: moveit_resources)
Traceback (most recent call last):
  File "/home/aicrobo/catkin_ws/src/rosserial/rosserial_arduino/src/rosserial_arduino/", line 91, in <module>
    rosserial_generate(rospack, path+"/ros_lib", ROS_TO_EMBEDDED_TYPES)
  File "/home/aicrobo/catkin_ws/src/rosserial/rosserial_client/src/rosserial_client/", line 588, in rosserial_generate
    raise Exception("Failed to generate libraries for: " + str(failed))
Exception: Failed to generate libraries for: ['object_recognition_capture (missing dependency: xdot)', 'pr2_description (missing dependency: convex_decomposition)', 'moveit_core (missing dependency: moveit_resources)']



edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2016-07-16 14:26:46 -0500

ahendrix gravatar image

This error message says that the xdot, convex_decomposition and moveit_resources packages are missing. I suspect there are other packages that are missing too.

Since you're using ROS on Ubuntu, you can install all of the dependencies that are required by your workspace by using rosdep:

cd ~/catkin_ws
rosdep install --from-paths src -i

This should install xdot, convex_decomposition and moveit_resources via apt-get.

edit flag offensive delete link more


Thank you very much.I got it

Tianyun Xiong gravatar image Tianyun Xiong  ( 2016-07-16 21:34:49 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-07-16 06:11:14 -0500

Seen: 155 times

Last updated: Jul 16 '16