Teleop other than Pestolink

Having no luck with Pestolink I wonder if there is currently a sure fire way to operate an XRP robot using a computer or phone. Any suggestions? I work with middle schoolers so it can’t be too overly complex. Thanks!

I can get a computer and phone to connect to a robot but get no response from the interface with Pestolink.

Maybe @jrw4561 can help troubleshoot PestoLink? I’m not aware of any remote control applications that are so simple.

Are you using the latest version of XRPCode and the Bluetooth that comes with it? If so, then it makes sense that you can’t connect using Pesto link, as you are already using the Bluetooth antenna for connecting to XRPCode.

In that scenario, I would suggest clearing the xrp of files and using my version of Xrpcode that doesn’t have Bluetooth and Pestolink until the official XRPCode has controller integration.

I also had trouble controlling the robot after following the instructions for PestoLink. I was able to run the program and connect via Bluetooth using https://pestol.ink/, but the robot wouldn’t respond to the WASD keys or buttons.

The issue turned out to be a missing import. Once connected, the shell displayed this error:
NameError: name 'ADC' isn't defined

To fix it, I updated the import statement at the top of the file to:

from machine import Pin, ADC

After that, the program ran correctly, and I could control the robot with WASD and see the battery voltage.

For context, I’m editing and uploading the code via USB while connecting to the robot over Bluetooth.

I hope this helps.