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
80
return
if command == 'no':
'''
When the speed is positive, the robot moves forward. When the speed is negative, the robot move
s backward.
'''
right_I(step_I, speed, 0)
left_II(step_I, speed, 0)
right_III(step_I, speed, 0)
left_I(step_II, speed, 0)
right_II(step_II, speed, 0)
left_III(step_II, speed, 0)
elif command == 'left':
right_I(step_I, speed, 0)
left_II(step_I, -speed, 0)
right_III(step_I, speed, 0)
left_I(step_II, -speed, 0)
right_II(step_II, speed, 0)
left_III(step_II, -speed, 0)
elif command == 'right':
right_I(step_I, -speed, 0)
left_II(step_I, speed, 0)
right_III(step_I, -speed, 0)
left_I(step_II, speed, 0)
right_II(step_II, -speed, 0)
left_III(step_II, speed, 0)
#Slow gait
def dove(step_input, speed, timeLast, dpi, command):
step_I = step_input
step_II = step_input + 2
if step_II > 4:
step_II = step_II - 4
if speed > 0:
if step_input == 1:
for speed_I in range(0, (speed+int(speed/dpi)), int(speed/dpi)):
if move_stu and command == 'no':
speed_II = speed_I