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.81k stars 526 forks source link

openbot functionalities #268

Closed robotixdevteam closed 2 years ago

robotixdevteam commented 2 years ago

Today, controller app has crashed which has been downloaded from QR code. previously app is working we have faced bluetooth connection stability issues, is there any update for this issues???

thias15 commented 2 years ago

Can you please provide further details. @izivkov can you help @robotixdevteam to figure out a solution?

izivkov commented 2 years ago

If you can give me a stack trace would be helpful.

On Tue, Mar 22, 2022 at 9:22 AM thias15 @.***> wrote:

Can you please provide further details. @izivkov https://github.com/izivkov can you help @robotixdevteam https://github.com/robotixdevteam to figure out a solution?

— Reply to this email directly, view it on GitHub https://github.com/isl-org/OpenBot/issues/268#issuecomment-1075174244, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7M37XCDUZYW3R64JARSNLVBHCSNANCNFSM5RKQNDCQ . You are receiving this because you were mentioned.Message ID: @.***>

robotixdevteam commented 2 years ago

sorry, now we have removed all the previous apps and installed new ones again now. They are installed. But now we are facing mobiles are not getting connected to each other?

izivkov commented 2 years ago

If you are talking about the controller phone not connecting to the robot phone: make sure both phones are on the same LAN, not using data connection. Make sure they are using the same router, i.e. not on a University WiFi network, or something like that. Then try a few times, sometimes they don't connect the first time.

If still doesn't work, please provide more information on what is going on and your setup.

Thanks

On Wed, Mar 23, 2022, 12:23 AM robotixdevteam @.***> wrote:

sorry, now we have removed all the previous apps and installed new ones again now. They are installed. But now we are facing mobiles are not getting connected to each other?

— Reply to this email directly, view it on GitHub https://github.com/isl-org/OpenBot/issues/268#issuecomment-1075900224, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7M37XZD4EAOSHQPXEH3T3VBKMCLANCNFSM5RKQNDCQ . You are receiving this because you were mentioned.Message ID: @.***>

robotixdevteam commented 2 years ago

we followed the steps that you have mentioned above but still we are not able to connect the mobiles to each other can you help us through it? Below we are attaching video of steps followed

https://user-images.githubusercontent.com/96867511/159683430-a8bc15b1-e56f-4a78-b334-f23dec9f6532.mp4

robotixdevteam commented 2 years ago

hi, another thing i would like to know is why you are using the arduino 33 iot, as the mobile has both wifi and bluetooth in openbot-lite?

izivkov commented 2 years ago

Ok, looks like you are doing the right steps, but also try the following:

  1. Restart the Controller App on the right phone each time you are trying to connect
  2. On the Main software, switch control between Gamepad and Phone a few times, The connection is getting initiated when the "Phone" control mode is selected.
  3. Another way to connect: from the main screen, selected "Free Roam" icon, and then switch the "Controller" icon (bottom left button) a few times.

Hope this helps

izivkov commented 2 years ago

https://user-images.githubusercontent.com/4115966/159732255-eadd8d57-75c6-4a7a-ba94-0a46891d1a87.mp4

robotixdevteam commented 2 years ago

is there any requirements for mobile phone we are using the mobiles like motog51, redmi 9a, oneplus nord, oneplus 6,huawei p30 pro, samsung m series? Other than huawei p30 pro rest of them are not connecting to each other.

thias15 commented 2 years ago

ng about the controller phone not connecting to the robot phone: make sure both phones are on the same LAN, not using data connection. Make sure they are using the same router, i.e. not on a University WiFi network, or something like that. Then try a few times, sometimes they don't connect the first time.

This is just since the Arduino 33 IOT can be used also for other things. But it can work with Arduino Nano as well.

thias15 commented 2 years ago

There should not be a specific requirement for which phones can be used, but we did not test with the phones you mentioned above. You closed the issue, so I just wanted to check if the issue is resolved now from your end?

robotixdevteam commented 2 years ago

No, the issue was not solved we are trying to understand where exactly is the problem if you have any ideas on how to solve it share with us?

robotixdevteam commented 2 years ago

we wanted to open a new issue regarding it so we closed the current one

izivkov commented 2 years ago

As I discussed with @robotixdevteam team last week, the problem seems to occur in only one of the phones: Redme. Since we cannot test all phones, we need to work together with the team on this issue. Maybe the team can provide some logs from this phone, to see if there are any crashes or what the problem is.

robotixdevteam commented 2 years ago

we tested the node-js .while testing node-js, we came across certain issue of connectivity with some windows laptops. It is working good with raspberry pi and ubuntu os. currently, Have you tested the node-js with windows laptops. Right now, we are testing the python controller. Oh yes, i forgot to mention the main issue connectivity among two mobile phones that issue has not been solved from our side. Is there any updates regarding it.

robotixdevteam commented 2 years ago

we tested the python code. some windows laptops there is connectivity issue and rest even though it is connected and popup-dialogue can be seen but the video is not streaming through both RTSP and WEBRTC. We have not tested the python code as well as node-js in real time.

izivkov commented 2 years ago

we tested the python code. some windows laptops there is connectivity issue and rest even though it is connected and popup-dialogue can be seen but the video is not streaming through both RTSP and WEBRTC. We have not tested the python code as well as node-js in real time.

The Python controller works with RTSP video only. Check and disable any firewall and virus protection on your Windows machines, maybe this will help. The NodeJS and Python controllers have been developed on and for Linux-based OS's so far. It would be great if we can get them working on Windows, though.

robotixdevteam commented 2 years ago

Prevously it connected to windows without video streaming but after disabling the protection and firewall it is not even getting connected.

thias15 commented 2 years ago

Any update on this?

izivkov commented 2 years ago

This looks more like a configuration or a firewall issue. We also do not have enough information to investigate this issue. So in my opinion, we should close this issue.