Welcome to DOFBOT SE repository
4. MoveIt Random Movement
MoveIt Random Movement
MoveIt Random Movement1. Environment2. Driving the Real Machine2.1 Starting the Real Device2.2 Starting MoveIt23 Random MovementStartup Command
1. Environment
Ubuntu 22.04
ROS2: Humble
2. Driving the Real Machine
Driving the real machine involves subscribing to the Moveit2 /joint_states topic to convert the joint state information of the robotic arm into control data for a real robotic arm.
Note: Since the real robotic arm lacks obstacle avoidance, some poses may encounter obstacles; therefore, the planned robotic arm movements should be as reasonable as possible and avoid obstacle-prone areas.
(It is recommended to use preset poses for the demonstration on the real device)
2.1 Starting the Real Device
If not driving the real device, demonstrate the robotic arm movements in MoveIt simulation (skip this startup step):
xxxxxxxxxxros2 run dofbot_driver dofbot_driver
2.2 Starting MoveIt2
xxxxxxxxxxros2 launch dofbot_pro_moveit demo.launch.py
3 Random Movement
It is not recommended to drive the real device for the random movement demonstration example, as some poses may encounter obstacles or hit the motherboard! **
Startup Command
After the robotic arm has successfully loaded MoveIt and displays You can start planning now!, run the following command: The robotic arm will automatically plan a random motion.
xxxxxxxxxxros2 run dofbot_moveit random_move
