Follow the previous steps to install the virtual machine. After decompressing the system files, open the virtual machine and use it. The environment has been set up and the relevant code has been placed in the Ubuntu system, in the file path /home/dofbot/dofbot_ws/src directory.
Just refer to the distributed communication tutorial in ros basics
roslaunch dofbot_config demo.launch #virtual machine
rosrun dofbot_moveit 00_dofbot_move.py #Host side
The corresponding relationship between the robotic arm servo and the joints: from the lowest end of the robotic arm to the end of the gripper.
Robotic arm servo | joint | |
---|---|---|
NO.1 SERVO | joint1 | |
NO.2 SERVO | joint2 | |
NO.3 SERVO | joint3 | |
NO.4 SERVO | joint4 | |
NO.5 SERVO | joint5 | |
NO.6 SERVO | grip_joint |
The MoveIt simulation environment starts slowly, so wait patiently and observe the terminal. An error occurs as shown in the figure below. The solution is as shown in the figure. If the terminal reports an error and the motion planning library is not loaded, click [Reset] in the lower left corner and reload. At first, it is during the loading process. Don't rush to click [Reset]. If you click it before loading is complete, the system will reload and it will not start.