Welcome to DOFBOT-JetsonNANO repository
2.USB handle control
USB Handle Control
Tutorial demonstrates USB handle control of the robotic arm!
1. Handle Connection
Insert the handle's USB port into the USB port of a Windows computer.

Note: Connect to the USB port of the Windows computer, not the USB interface of the Raspberry Pi motherboard.
2. Running the Program
Code path: /root/Dofbot/1.telecontrol/4.arm_handle/arm_handle.ipynb
xxxxxxxxxxThe following code content needs to be executed step by step according to each step, cannot run all at onceIf you are not familiar with Jupyter lab, you can first check the [6. Basic Programming Course: 3, Jupyter lab programming] tutorial
After starting docker, you can access the Jupyter lab in Docker by entering IP:9999 in the same LAN.
Find the code file according to the code path, and run step by step according to the cell prompts!
3. Handle Control
The left joystick controls servos 1 and 2. Left controls servo 1 to move left, right controls servo 1 to move right. Up controls servo 2 to move forward, down controls servo 2 to move backward.
The function of the left direction keys is the same as the left joystick.
The right joystick controls servos 5 and 6. Left controls servo 5 to turn left, right controls servo 5 to turn right. Up controls servo 6 to tighten the gripper, down controls servo 6 to loosen the gripper.
The right buttons have the same function as the right joystick.
L1 controls servo 3 to move forward, L2 controls servo 3 to move backward.
R1 controls servo 4 to move forward, R2 controls servo 4 to move backward.
SELECT key sets all servos of the robotic arm to 90 degrees, standing upright.
