doosan-robotics / doosan-robot2

ROS 2 for Doosan Robot
BSD 3-Clause "New" or "Revised" License
81 stars 56 forks source link

[ERROR] No module named 'DR_init' while running examples #106

Open M1nTeG1 opened 1 month ago

M1nTeG1 commented 1 month ago

I am trying to execute the examples provided but I have the same error in both of them (dance and single_robot_simple). The error that appears is ModuleNotFoundError: No module named 'DR_init'. I have followed the instructions of the README.md file, but it continues.

I have executed the "ros2 launch dsr_bringup2 dsr_bringup2_rviz.launch.py mode:=virtual host:=127.0.0.1 port:=12345 model:=m1013" and the Rviz model is opened, but then I am not able to move the robot with the example nodes due to the error mentioned.

I will be glateful if someones help me with this issue.

Thank you,

@doosan-robotics

doosan-robotics commented 4 weeks ago

Hello @M1nTeG1 ,

Thank you for using Doosan robotics ros2. I recommand to excute "export PYTHONPATH=$PYTHONPATH:~/ros2_ws/install/common2/lib/common2/imp" that you can find in README of dsr_example.

Thank you