Welcome to JetCobot repository
6.Handle remote control robotic arm
Handle remote control robot arm
1. Hardware connection
Make sure that the USB wireless handle receiver has been inserted into the USB port of the motherboard before turning on the computer.

Install the battery of the wireless handle and turn the power switch of the wireless handle to [ON].

2. Start the handle program
Before starting the handle control program, you need to make sure that the APP control program is closed, otherwise it will cause interference.
Run the handle control program
xxxxxxxxxxros2 launch jetcobot_ctrl yahboom_joy.launch.py

3. Key operation
Press the [START] key to activate the handle.
You can now start controlling the robot arm. The key functions are shown in the figure below:

①: Up and down control joint 2, left and right control joint 1.
②: Up and down control joint 3, left and right have no function.
③: Up and down control joint 4, left and right control joint 5.
④: Y A controls joint 7 (gripper), X B controls joint 6.
⑤: L1 controls the robot arm speed to increase, L2 controls the robot arm speed to decrease.
⑥: R1 controls the gripper to clamp immediately, and R2 controls the gripper to release immediately.
⑦: [SELECT] button controls the arm joint angle to return to the initial position.
[START] activates the handle.
[MODE] mode switch, do not press this button.
Note: When the wireless handle is idle for a few minutes, it will automatically enter the sleep state. At this time, you need to press the [START] button to activate the handle before you can control the arm.