| 11 | |
| 12 | == Abstract |
| 13 | |
| 14 | The most common usages of remotely piloted systems come in the form of drones and aircraft. This project dives into the concept of remotely piloting a car from one local network. With a local network, we can control a car from anywhere as long both computers (laptop and Raspberry Pi) are on the same network. |
| 15 | |
| 16 | |
| 17 | == Hardware & Software |
| 18 | |
| 19 | |
| 20 | Robotic Car: Osoyoo Servo Steer Smart Car |
| 21 | |
| 22 | Computer System: Raspberry Pi 4 Model B |
| 23 | |
| 24 | Camera: Runcam2, used as a USB camera |
| 25 | |
| 26 | Local Area Network: //// |
| 27 | |
| 28 | Also includes a Micro Servo Motor so the camera has a more peripheral view |
| 29 | |
| 30 | |
| 31 | == Sockets |
| 32 | |
| 33 | We used UDP sockets to communicate between the Raspberry Pi on the car and a laptop. With sockets, we can connect with the local virtual network. The server side would be on the Raspberry Pi running, while the client side would run on the laptop. |
| 34 | |
| 35 | |
| 36 | == OpenCV and Camera |
| 37 | |
| 38 | OpenCV is a Python library that allows image processing through a camera. When using the Runcam2, there were two modes: USB memory card, and USB camera. Using USB camera mode allows the display of the camera to be seen when plugged into the Raspberry Pi. |
| 39 | |
| 40 | |
| 41 | == Challenges |
| 42 | |
| 43 | Downloading CV2 to the Raspberry Pi |
| 44 | |
| 45 | Switching the camera between the two different modes |
| 46 | |
| 47 | Installing the basic code between the older and newer versions of the Raspberry Pi |
| 48 | |
| 49 | Socket binding between the computer and the Raspberry Pi. |