GithubHelp home page GithubHelp logo

robotsanta's Introduction

RobotSanta

This is a face tracking Santa Head project for my YouTube channel. Built using a Raspberry PI 4 and Raspberry PI Pico.

Cloning

Please clone with the --recurse-submodules switch to include the libraries.

Pico - Firmware

This is dependent on three libraries:

  • MicroROS - Allow Pico to see and communicate with ROS Nodes
  • FreeRTOS Kernel - Allow multi threading tasks on Pico
  • Eigen - Used to do some Robot maths

To build binary

mkdir build
cd build
cmake ..
make

RPI - High-level function

The Raspberry PI needs to be running MicroROS bridget to connect to the Pico. See the repo MicroROS or my video walkthrough on MicroROS

You will also need to install ROS Humble.

The py folder contains two python programms.

pose.py

This will instruct the head to move to a possition. It takes pitch and yaw as parameters in radians. (-PI/2 to PI/2).

facePan.py

This uses openCV to detect faces on a camera and instruct the Robot to turn towards that face.

robotsanta's People

Contributors

jondurrant avatar

Stargazers

Pablo Iñigo Blasco avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.