Welcome to Rider Pi Robot repository
3. Adjust car height
Adjust the height of the car
1. Experimental purpose
Adjust the height of the car
2. Experimental path source code
Enter the car system, end the car program, enter "ip (ip is the car's ip): 8888" in the browser, enter the password "yahboom"
Then log in
Enter Rider-pi_class/3.Base Motion/3. Adjust the height of the car and run car height.ipynb.
3. Experimental phenomenon
After running the code, adjust the size of the slider to adjust the height of the car.
The car cannot be in a stopped state (that is, not in a standing balance state), otherwise it cannot move.
Highest:
Lowest:

4. Analysis of main source code parameters
x#Adjust heightdef set_height(value):g_car.rider_height(value)#Create sliders to control the motor Create four sliders to control the motorinteract(set_height, \value=widgets.IntSlider(min=75,max=115,step=1,value=85));rider_height: This function controls the height of the vehicle body, ranging from 75 to 115.