reinterpretcat / smart_car

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:Other


Languages

Language:Python 77.7%Language:Jupyter Notebook 18.4%Language:HTML 4.0%