RemoDrive allows anyone to remotely control your FTC robot! Once you setup a room, anyone can join the room and control your robot using their keyboard or gamepad! This can be used for many things, like:
- Letting outreach participants control a real robot
- Letting remote team members control your team's robot
And more! If you want to create your own room, follow the setting up a room instructions, and if you want to join a room, follow the joining a room instructions!
- Head to the RemoDrive website
- Select the gamepad you want to use
- Enter in the name of the room, which will be provided by the host
- Press join!
Instructions on how to use your keyboard to emulate a gamepad will be on-screen.
RemoDrive has 3 parts: The Robot, The Host, and The Client.
In RemoDrive, the robot has a piece of code manipulating the gamepad.
- Download the class from the releases section
- Copy the class into your project. You can put it anywhere!
- Import the
RemoDrive
class. - Before
waitForStart()
make a new RemoDrive object, passing the OpMode:
RemoDrive rd = new RemoDrive(this);
You can change the port it uses by passing in an extra argument:
RemoDrive rd = new RemoDrive(this, port);
- After
waitForStart()
, call therun
method:
rd.run();
- Once the OpMode is complete, call the
stop()
method to cleanup:
rd.stop();
The Host needs to be connected to both the robot's WiFi Direct network and a network with internet connection. You can do this through USB wifi. Once you do that, perform the following steps:
- Download the host app from the releases section (named
RemoDrive_<Your OS>.zip
) - Open the host app. It will look something like this:
- Set the host to the URL of the robot controller. On Control Hubs this will be
192.168.43.1
- Set the port to the port used on the robot. By default it is
11039
, however if you changed it, change it here. - Enter in a unique room name.
- Press Host!
Your room is now live! Give the name of the room to anyone who wants to join, and have them follow the how to join instructions!
RemoDrive is heavily inspired by TeleDrive, which is developed by Mihir Chauhan. RemoDrive is mostly developed by Nv7 with contributions from the FTC 12611 Team