remo.tv is an open telerobotics platform designed for controling and sharing control of robots online in real time.
Install ev3dev on your ev3 and establish an SSH connection before proceeding. Guides for this are at ev3dev.org
-
Install the required software libraries and tools. Make sure you don’t get any errors in the console when doing the step below. If you have an issue, you can run this line again, and that will usually fix it!
sudo apt update sudo apt upgrade -y sudo apt install ffmpeg python-serial python-dev libgnutls28-dev espeak python-smbus python-pip git
-
Download the remotv control scripts from our github
git clone https://github.com/DanGamingTV/ev3-controller.git ~/remotv
-
Install python requirements
sudo python -m pip install -r ~/remotv/requirements.txt
-
Open the new
remotv
directorycd remotv
-
Copy
controller.sample.conf
tocontroller.conf
cp controller.sample.conf controller.conf
-
Edit the
controller.conf
file created in the previous section.nano controller.conf
-
Configure the
[robot]
sectionowner
should be the username you have registered the robot under on the remo.tv site.robot_key
is the API key for your robot that you made on the site.- Your API key is LONG. It should look something like
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6InJib3QtNTVjZjJmMjUtNjBhNS00ZDJkLTk5YzMtOGZmOGRiYWU4ZDQ1IiwiaWF0IjoxNTczNTExMDA2LCJzdWIiOiIifQ.LGXSBSyQ4T4X5xU_w3QJD6R3lLjrrkw_QktOIDzRW5U
. If it is not this long, you have not copied the full key.
- Your API key is LONG. It should look something like
SSH into your robot, and make sure it has internet access. Navigate into the ~/remotv folder
cd ~/remotv
Then run this
brickrun -- echo YOURLINUXPASSWORDHERE | python3 controller.py