Giter VIP home page Giter VIP logo

remote-controlled-robot's Introduction


Mosquitto Roboto Steamo Docko

The project is a small ESP32 wheeled robot remote controlled using an app on a SteamDeck

๐Ÿ“ƒ Table of content

๐ŸŽฎ Gameplau

The game is simple, you have to control the robot using the SteamDeck's joysticks. The left joystick controls the robot's speed and direction, while the right joystick controls the robot's turret.

Here is the video of the gameplay:

20240510_151716.mp4

๐Ÿš€ Getting started

Start the MQTT broker

First, install docker and run the containers with:

docker compose up

This will boot both MQTTX and Mosquitto.

Then, connect to MQTTX at http://127.0.0.1:9002, and create a new connection with the following information:

  • Name: Mosquitto
  • Host: ws://, 127.0.0.1
  • Port: 9001
  • Username: mosquitto
  • Password: mosquitto
  • SSL: no

Finally, subscribe a new topic : robot/#. Now the MQTT broker is ready.

Start the robot

To start the robot, you need to install Thonny and the ESP32 MicroPython firmware. Then, open the robot.py file and run it on the ESP32.

Start the SteamDeck app

  • Switch to Desktop Mode on SteamDeck.
  • Install linuxbrew.
  • Install rust using linuxbrew and compile the project.
  • Copy kontroller.vdf into /home/deck/.local/share/Steam/controller_config (create the folder if it doesn't exist), rename it to game_actions_480.vdf.
  • Run kontroller on SteamDeck. This should open a new window, but your input can't be captured now. Close the window.
  • Start steam client on the Desktop Mode. In your library, you should find a game called Spacewar. Edit its input mapping.
  • Run the remote control app again, you should get the input you want.
  • Run also mosquitto on another computer, and connect to the same broker as the robot.

๐Ÿ‘จ Authors

We are a group of three creators.


@Bricklou

@jvondermarck

@Aisamet
Louis Bailleau Julien Von Der Marck Isamet

remote-controlled-robot's People

Contributors

bricklou avatar jvondermarck 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.