AuboRobot / aubo_robot

Developed for aubo robot (http://www.aubo-robotics.cn/)
http://wiki.ros.org/aubo_robot
BSD 3-Clause "New" or "Revised" License
207 stars 92 forks source link

''aubo_robot_simulator''node process has died #68

Open zewg123 opened 2 years ago

zewg123 commented 2 years ago

Dear author, there is a problem about ROS Melodic operation that cannot be solved. I tried running roslaunch aubo_i5_moveit_config moveit_planning_execution.launch sim:=false robot_IP :=192.168.1.2 to drive the real arm. But RVIz reported this error:

[aubo_robot_simulator-2] process has died [pid 173422, exit code 1, cmd /home/wkf/robot/aubo_melodic/devel/lib/aubo_controller/aubo_robot_simulator name:=aubo_robot_simulator log:=/home/wkf/.ros/log/baf84084-6a07-11ec-a81d-7783587e98b7/aubo_robot_simulator-2.log]. log file: /home/wkf/.ros/log/baf84084-6a07-11ec-a81d-7783587e98b7/aubo_robot_simulator-2*.log

I have tried to configure the environment according to the aubo_melodic version on B station. The url is https://www.bilibili.com/video/BV1TR4y1n7rL?from=search&seid=8052975772081815533&spm_id_from=333.337.0.0, the command is used

  1. sudo apt-get install build-essential cmake pkg-config unzip yasm git checkinstall curl wget exfat-utils gparted

  2. sudo apt install libvtk6-jni libvtk6-java libvtk6-dev libvtk6-qt-dev libpcl-dev

  3. sudo apt install ros-melodic-pcl-conversions ros-melodic-pcl-ros ros-melodic-perception-pcl ros-melodic-perception ros-melodic-rqt

  4. sudo apt install ros-melodic-desktop-full

  5. Sudo apt install python-rosdep

  6. sudo apt install python-rosinstall python-rosinstall-generator python-wstool build-essential ros-melodic-catkin

  7. sudo apt install python-dev python-pip

  8. sudo pip3 install -U catkin_tools

  9. sudo pip install rosdepc

  10. sudo rosdepc init

  11. sudo rosdepc update

  12. Industrial depends on installation sudo apt install ros-melodic-industrial-* sudo apt install ros-melodic-gazebo-ros sudo apt install ros-melodic-gazebo-plugins sudo apt install ros-melodic-gazebo-ros-control

  13. Modify system Eigen3 soft link sudo ln -sf /usr/include/eigen3/Eigen/ /usr/include/Eigen sudo ln -sf /usr/include/eigen3/unsupported/ /usr/include/unsupported

  14. Install libprotobuf9 wget http://archive.ubuntu.com/ubuntu/pool/main/p/protobuf/libprotobuf9v5_2.6.1-1.3_amd64.deb sudo dpkg -i libprotobuf9v5_2.6.1-1.3_amd64.deb

  15. Install source package dependencies through Rosdep cd catkin_ws/src rosdep install -y --from-paths ~/robot/aubo_ag95_melodic/src --ignore-src -r

    After the repair, the compilation passes normally, but the Aubo_robot_simulator still fails, as shown below

    [aubo_robot_simulator-2] process has died [pid 173422, exit code 1, cmd /home/wkf/robot/aubo_melodic/devel/lib/aubo_controller/aubo_robot_simulator name:=aubo_robot_simulator log:=/home/wkf/.ros/log/baf84084-6a07-11ec-a81d-7783587e98b7/aubo_robot_simulator-2.log]. log file: /home/wkf/.ros/log/baf84084-6a07-11ec-a81d-7783587e98b7/aubo_robot_simulator-2*.log

capf-2011 commented 2 years ago

are you solve the problem?how do?

ian-chuang commented 1 year ago

I was able to resolve this problem following this post: https://blog.csdn.net/sinat_15213441/article/details/109837416

I had to add these libraries that were in the aubo_driver package:

sudo cp aubo_ws/src/aubo_robot/aubo_driver/lib/lib64/config/liblog4cplus-1.2.so.5 /usr/lib sudo cp aubo_ws/src/aubo_robot/aubo_driver/lib/lib64/log4cplus/libconfig.so.11 /usr/lib