RunMyRobot is a site where you can run or control robots. We are all about robots for anything, education, exploration, and other stuff.How to Add Your Own Robot to runmyrobot.com
you'll need to connect your robot to the internet and have a camera
so people can see what's going on via video stream. A script will be
provided to help with the streaming. You can mount a camera in the
room or on the robot, your choice. The robot control will work though
socket.io, and code will be provided to help with that.
1: Start a New Robot on runmyrobot.com
logging in, visit the New Robot page at runmyrobot.com
in the name of your robot.
2: Link your robot so that it can be controlled by anyone remotely
Up the Robot Controller
Install socketIO-client for python:
pip install -U socketIO-client
(I'm assuming you are using the adafruit dc and stepper motor HAT driver here. If you are not, you'll need to install the driver that matches your hardware.)
Install adafruit motor driver prerequisites
sudo apt-get install python-smbus
sudo apt-get install i2c-tools
Install the motor driver according to:
Be sure to follow the instructions about i2c:
RunMyRobot controller and video streaming which is on
is set up to use the motor controller from Adafruit and if you have
that with motor 1 and 2, it should be able to control the motors
immediately. If not you can just use controller.py as an example and
do things your own way.
the computer controlling the robot, run using your Robot ID:
click the left, right, forward, back buttons. They should be sending
signals to your controller.py program. You'll see that it's doing
something if your a viewing standard out (that is, running it from a
command line). And if you have motor attached using Adafruit's motor
controller HAT, it should make motor1 and motor2 move.
3: Set up video so others can see your robot
ffmpeg on the computer that's sending video. That could be onboard
the robot or a camera placed in the room looking at the robot.
the computer connected to the camera, if you haven't downloaded the
code yet, use this:
using your Camera ID:
you run this, you should see video appear on the new robot page.
4: Check to make sure your robot is online
when you visit the main page of runmyrobot.com, you'll see YOUR robot
in the drop down list. You can visit that robot, see it's live
stream, and control it. Anyone in the world can do the same. Let us
know if you have any issues by posting in the Disqus page or here!