ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

ImportError: No module named dynamixel_serial_proxy

asked 2022-05-06 03:10:44 -0600

onkheisen gravatar image

updated 2022-05-10 04:44:51 -0600

Hello, I am trying to launch one file, that inside it, uses node controller_manager.py, with:

roslaunch dxl_tutorial controller_manager.launch

 ========

PARAMETERS
 * /dynamixel_manager/namespace: dxl_manager
 * /dynamixel_manager/serial_ports/dxl_port/baud_rate: 1000000

NODES
 * /dynamixel_manager (dynamixel_controllers/controller_manager.py)

File "/home/frauas/ws_moveit/src/dynamixel_motor_pkg/dynamixel_controllers/nodes/controller_manager.py", line 52, in <module>
    from dynamixel_driver.dynamixel_serial_proxy import SerialProxy
ImportError: No module named dynamixel_serial_proxy
================================================================================
>REQUIRED process [dynamixel_manager-2] has died!
process has died [pid 4115, exit code 1, cmd /home/frauas/ws_moveit/src/dynamixel_motor_pkg/dynamixel_controllers/nodes/controller_manager.py __name:=dynamixel_manager __log:=/home/frauas/.ros/log/33e587c2-cd09-11ec-b34a-d8cb8aa1a38f/dynamixel_manager-2.log].
log file: /home/frauas/.ros/log/33e587c2-cd09-11ec-b34a-d8cb8aa1a38f/dynamixel_manager-2*.log
Initiating shutdown!
================================================================================

I tried to fix it with this tips: https://answers.ros.org/question/2632..., but it keeps here. I would be very glad if someone could help me.

The .pythat I have a trouble with is here: https://github.com/arebgun/dynamixel_...

edit retag flag offensive close merge delete

Comments

I included these packages, run rosdep, but apparently everything is installed, the output of rosdep install --from-paths src --ignore-src -r -y is:

All required rosdeps installed successfully

Now I have another error, so using rosdep helped me with this. Thank you so much.

onkheisen gravatar image onkheisen  ( 2022-05-21 04:02:53 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-05-09 14:23:28 -0600

ljaniec gravatar image

Do you have this package installed?

https://wiki.ros.org/dynamixel_contro...

Do you have every run dependency from it installed?

  <run_depend>rospy</run_depend>
  <run_depend>actionlib</run_depend>
  <run_depend>std_msgs</run_depend>
  <run_depend>trajectory_msgs</run_depend>
  <run_depend>diagnostic_msgs</run_depend>
  <run_depend>dynamixel_msgs</run_depend>
  <run_depend>control_msgs</run_depend>
  <run_depend>dynamixel_driver</run_depend>
edit flag offensive delete link more

Comments

Yes, I think so. Actually this is the package.xml that I am currently using

https://github.com/sergiodelgadoheras...

I do not really know how run dependency if not by catkin_make.

onkheisen gravatar image onkheisen  ( 2022-05-10 04:57:34 -0600 )edit
1

You can read about rosdepthere: http://wiki.ros.org/rosdep - try to set it up and check if the missing dependencies can be solved with it. You can also try to add these dynamixel packages to your catkin_ws/src/ folder and build them from source.

ljaniec gravatar image ljaniec  ( 2022-05-10 05:51:58 -0600 )edit

I included these packages, run rosdep, but apparently everything is installed, the output of rosdep install --from-paths src --ignore-src -r -y is:

#All required rosdeps installed successfully

Now I have another error, so using rosdep helped me with this. Thnak you so much.

onkheisen gravatar image onkheisen  ( 2022-05-12 10:09:46 -0600 )edit

Can you please add this problem in the question edit? Or link to a new post with the question if it's something completely different + rate and accept this answer to mark it as solved in the question queue.

ljaniec gravatar image ljaniec  ( 2022-05-12 13:58:01 -0600 )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

Stats

Asked: 2022-05-06 03:10:44 -0600

Seen: 72 times

Last updated: May 10