Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 1.27 KB

README.md

File metadata and controls

42 lines (24 loc) · 1.27 KB

BioniCat

Introduction

This project aims at controlling my robot PiCar-X, built around a Rasperry Pi 4.

The is natively compatible with a proprietary software, but I chose to redevelop the features that interest me, based on the robot-hat library.

If you want to do the same installation, please follow this guide

Tools

Debugging tools are available in the tools folder.

Mechanics

  • motors.py : makes the two motors run forward and then backward
  • reset.py : resets the main controller
  • servo.py : moves the selected servo motor to the requested angle

Audio

  • speaker.py : reads the selected text using TTS
  • sing.py : plays the MP3 file passed in parameter

Sensors

  • distance.py : uses the distance sensor, and emits a faster and faster sound signal when an obstacle is approaching

Launching

Server

./start-server.sh server/main.py

Client

The client allows to control the robot via the browser. An XBox controller (or similar) is required.

The client project will be published later.