User Manual
Table Of Contents
- 1. Premise
- 2. Raspberry Pi System Installation and Developmen
- 3 Log In to The Raspberry Pi and Install The App
- 4 Raspberry Pi Structure Assembly and Precautions
- 5 Controlling A Robot via WEB App
- 6 Common Problems and Solutions(Q&A)
- 7 Set The Program to Start Automatically
- 8 Remote Operation of Raspberry Pi Via MobaXterm
- 9 How to Control WS2812 RGB LED
- 10 How to Control The Servo
- 11 Calling the API to Control the Robot
- 12 Automatic Stabilization Function
- 13 Gait Generation Method of A Hexapod Robot
- 14 Make A Police Light or Breathing Light
- 15 Real-Time Video Transmission
- 16 Why OpenCV Uses Multi-threading to Process Vide
- 17 OpenCV Learn to Use OpenCV
- 18 Using OpenCV to Realize Color Recognition and T
- 19 Machine Line Tracking Based on OpenCV
- 20 Create A WiFi Hotspot on The Raspberry Pi
- 21 Install GUI Dependent Item under Window
- 22 How to Use GUI
- 23 Enable UART
- 24 Control Your Adeept_RaspClaws with An Android D
- Conclusion
117
22 How to Use GUI
●Because the web and the GUI are not connected, if you want to use the GUI to control the robot product,
you need to manually run server.py. (The method is the same as manually running webserver.py, except that
the object is changed to server.py).
●When the server.py in the Raspberry Pi runs successfully, enter the IP address of the Raspberry Pi on
the GUI control terminal on the PC, and then click Connect to control the robot.
● Python running window: This window will accompany each GUI when it is opened. Any runtime
exceptions will be displayed here. If this window is closed, the GUI will be exited.
● Camera video streaming window: Display the picture captured by the camera. Depending on the
product type, the window rendering method may be different, and some products can also interact with this
window.
●IP address input box: Enter the IP address of the Raspberry Pi here. Clicking Connect will allow the GUI
to connect to the Raspberry Pi. Raspberry Pi status and connection status display bar: Shows some hardware
information of the Raspberry Pi and the current connection status.
●Mobile control:
·Forward: Control the robot to move forward; the shortcut key is W.
·Backward: Control the robot to move backwards; the shortcut key is S.
·Left: Control the robot to turn left; the shortcut key is A.
·Right: Control the robot to turn right; the shortcut key is D.
●camera control (due to different layouts, the shortcut keys here are different from WEB applications):
·Up: Control the camera to move upwards; the shortcut key is I.
·Down: Control the camera to move downwards; the shortcut key is K.
·<--: Control the mechanical arm forward; the shortcut key is Q.
·-->: Control the mechanical arm backward; the shortcut key is E.
·Home: Control all servos to return to the neutral position; the shortcut key is H.
●Action starting:
·Steady: For maintaining self-balance of robot.
·FindColor: For selecting the color to be found.
When this function is started, the robot will automatically lock a certain color object in the camera
screen. The default is bright yellow. You can choose the color that needs to be locked. When the object is
locked, the LED on the robot body will turn orange.
·WatchDog: Based on the motion detection function of OpencCV's, when an object moves in the camera
screen, the program will circle the moving part in the `Video` window, and the LED on the robot will also change
accordingly.
·CV FL:Based on the visual line patrol function of openCV , the default is to patrol black lines on white
backgrounds.(white background is a plane that reflects infrared light, and the black line is a line that does not
reflect infrared light. The width is about 1cm).
·Render:Open the binary interface.