/smart_car

Customized scripts to play with a smart car kit for Raspberry Pi

Primary LanguagePythonOtherNOASSERTION

Description

This repo contains refined code for server to control Freenove 4WD Smart Car Kit for Raspberry Pi.

Freenove 4WD Smart Car

How to use

Install all dependencies according to original tutorial, then connect to your Raspberry Pi and run in terminal:

cd server
sudo python main.py

To exit, press Ctrl+C.

Additional scripts

There are some additional scripts which can be used for experimentation:

  • pan_tilt_camera: play with a better camera and Pan Tilt HAT (see dedicated README.md)

  • playground: a jupyter notebook to experiment with hardware controlling scripts in isolation

Motivation

I'm planning to play a bit with extra capabilities just for fun, so would need to adjust server/client code a bit, but found original quite difficult to extend. Also refactoring helps to understand code and logic a bit more.

The code in the repo is not very idiomatic too, I'm planning to address this later (maybe).

Status

Experimental. No warranty.