GithubHelp home page GithubHelp logo

indy2222 / irro Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 6.95 MB

My hobby robot project.

License: MIT License

C++ 6.22% Rust 79.94% Dockerfile 1.37% Shell 2.73% Kotlin 9.74%
actix-web android android-app arduino kotlin kotlin-android raspberry-pi robotics rust rust-lang rustlang

irro's Introduction

Hi, I am Martin Indra or Indy.

I am currently working on Digital Extinction, an RTS game written in Rust.

You can find more info about me at my personal website & blog: mgn.cz.

irro's People

Contributors

indy2222 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

irro's Issues

Bootstrap Android Kotlin App

The app will discover Irro from UDP broadcast packet (it will display loading activity with some explanation text at this stage) and then move to a single-button activity (LED turn on/off) after discovery.

This ticket includes initial app setup with a simple Kotlin client to Irro's API.

Move irro.mgn.cz to https

Not as easy as it should be. I have a feeling that GH Pages cannot handle both mgn.cz and irro.mgn.cz used in two different repositories. Do not forget to replace http with https in all links after it gets fixed.

Automatically deploy new code to Arduino

Create a command similar to irro-cli update which downloads the newest Arduino source and pushes it to Arduino automatically. Call this command in PreExec state of Irro's systemd unit file.

UDP boradcasting: recover from network error

The broadcasting thread panics after a single unsuccessful broadcast packet (e.g. due to a network glitch). It should recover for short-timed network issues.

Logs:

Jul 18 17:03:59 ubuntu irro-cli[1354]: panicked at 'Error while sending broadcast UDP packet: Network is unreachable (os error 101)', src/network/mod.rs:22:13

Implement motor command

  • Arduino logic: read command and appropriately set motor's H-bridges and power
  • Rust command: Serial port command implementation (and documentation and tests)
  • Rust HTTP API: HTTP endpoint and its documentation

Automate and/or Describe Raspberry Pi Setup

Everything from unboxing to running robot:

  • How to setup [wifi] network
  • How to install dependencies
  • How to create the server user and give it appropriate permissions
  • How to pull Irro server / and set up its systemd unit file
  • How to connect other HW (power source, Arduino via USB, ...)

Automatically load newest Irro server

  • Load manually created "debug version" when available. Otherwise, go to next step.
  • If there is network connection download the newest version (build by CI) before starting the program.

Design, document and test v1 electrical wiring

  • Test motors, motor control unit, batteries & BMS, bucks, current and voltage sensors, Arduino, RPI and camera
  • Create a high-level wiring diagram, document & describe, link e-shop pages of the individual circuits & components

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.