The function initializes the quadruped robot object in Python and maps the 8 servos to the specified pins. As the default, the servo motors should be connected to the following pins:
- Front Right Hip – Servo Pin 4
- Front Left Hip – Servo Pin 1
- Front Right Leg – Servo Pin 8
- Front Left Leg – Servo Pin 5
- Back Right Hip – Servo Pin 3
- Back Left Hip – Servo Pin 2
- Back Right Leg – Servo Pin 7
- Back Left Leg – Servo Pin 6
Alert: If the connection is not done as specified, then you have to change the pin for the code in this block.