isl-org / OpenBot

OpenBot leverages smartphones as brains for low-cost robots. We have designed a small electric vehicle that costs about $50 and serves as a robot body. Our software stack for Android smartphones supports advanced robotics workloads such as person following and real-time autonomous navigation.
https://www.openbot.org
MIT License
2.82k stars 529 forks source link

Unable to Connect Android App Openbot to Controller App #377

Closed A-janjan closed 7 months ago

A-janjan commented 11 months ago

I have encountered an issue where the Openbot app is unable to connect to the Controller app. I have installed both of them and connected them to the same network, but they aren't connected to each other. Additionally, I have changed the controller type to phone.

What should I do?

Is there any log?

Eashika2504 commented 11 months ago

Make sure to open the controller app first and then connect to OpenBot by switching the controller mode to phone. If you're still facing issues, consider switching to a different device.

A-janjan commented 11 months ago

It didn't work for 3 devices; Are there any logs or things that can show me what happened backstage?

hardikgarg02 commented 9 months ago

Yes, When successful connection establishes, in robot app log appears as "Client connected: IPv6 address of wifi". And if there comes any error it shows "Got exception: erorr ".

abhijeetmhatre commented 8 months ago

I am also facing the same issue.

The setup is pixel6a(controller) running a WiFi hotspot. Samsung Galaxy M31(robot) and also a laptop. Tried reversing the two phones. Also tried third phone hosting the hotspot instead of one of the two

I am able to control the car using the python scripts. in laptop but not with the controller app.

M-S-10 commented 7 months ago

It works fine for me! Make sure that both the phones are on the same WiFi Network.

A-janjan commented 7 months ago

Thanks

M-S-10 commented 7 months ago

Did it work? if yes then please close this issue.

A-janjan commented 7 months ago

Yeah, but the main solution is changing the stream mode from RTSP to WebRTC. Thanks to all.