Welcome to Rider Pi Robot repository
4. Car recording video
Car recording video
1. Experimental purpose
Car recording video.
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 the path of Rider-pi_class/2.Basic Control Ooperations/4.Record a video and run car recode videos.ipynb.
3. Experimental phenomenon
After running the code, the car will turn on the camera and collect 5 seconds of camera images, which will be saved in the file /home/pi/xgoVideos/. The name is myvidoes.mp4

4. Main source code analysis
xgoVideoRecord(filename="myvidoes",seconds=5)
| Parameter name | Format | Input range | Description |
|---|---|---|---|
| filename (optional) defaults to "recode" | string | / | The file name of the recorded video will automatically add the extension mp4, and the recorded file path is /home/pi/xgoVideos |
| seconds (optional) defaults to 5 | number | / | The length of the recorded file (seconds) |