-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App freeze on connecting to Thymio on some devices #98
Comments
Having problems with |
Hi Stephane, |
For the workaround:
Also on some android device, because Thymio try to recharge when is connect by cable, the system cut the USB. The solution is to use a powered USB hub. The simplest solution is to connect by Wireless Thymio using the dongle so that you haven't problem of power. The freezing App could also perhaps come from there. |
Thanks, Michael. Here are the results of running asebaswitch and ipconfig. C:\Program Files (x86)\AsebaStudio>asebaswitch -v "ser:name=Thymio" Wireless LAN adapter Wireless Network Connection: |
@motib your computer is on a local network (i.e. behind a NAT/router). You must have the tablet on the same network (so also an IP in the form of 10.0.0.x). |
Yes, the tablet is connected to the same router. But ... it has a slightly different ip address: the computer has 10.0.0.3 and the tablet has 10.0.0.5. I don't know how to "force" one or the other to have a specific address. Would they both still work with the same address?? |
@motib you need to use "tcp:10.0.0.3;33333" as Dashel target on the tablet. |
Didn't work |
Do you see any information on the terminal in which you launched asebaswitch on the computer? If not, maybe there is a firewall blocking incoming connections on your computer. |
There was a warning message when I first ran it, |
Works very well with my Samsung galaxy s6 android, except with thymio wireless (freeze, crash, nothing is possible). The USB port of my smartphone is an USB Host which only accept USB key formatted in FAT. It is connected with Thymio by micro-usb (phone) /usb (thymio wire). |
It seems that there is regression with this issue. On device where it was working it seems that the dongle is disconnect after a while and reconnect. It makes that even if you say that the default program to use is VPL it reopen continuously the windows. The robot begin to send its description but it never ends. |
Regression with respect to what? A previous commit of vpl2? |
It seems but I am not sure that the connection was working on some device and now not. So difficult to me if it is coming from a android or VPL2. |
Agreed, note that there was no change on the connection code for the last 6 months. |
A table of tested device can be updated here: |
There are actually 2 issues here
|
Actually the freeze/crash do not appears anymore, it is just not connecting |
On some devices, once the Thymio is plugged and the connection accepted on the tablet, the app freeze.
Cause
This problem might be triggered because of three causes:
android:
target. However, it does not work on some devices, for a currently-unknown error.How to help
Please list your devices having problems here: https://github.com/aseba-community/thymio-vpl2/wiki Tell us what connection method you use. If possible, add the Android version, kernel version, build number, and android security patch level (see Settings -> About -> Software information -> More). Tell us whether your devices has a USB3 port. If you have a similar device and it works, please also list these informations, it will help us to narrow down the problem.
Work-around
If your device has this problem, and you want to test this app nonetheless, you can make a bridge on a computer, and connect to the computer from the app. Assuming your computer's IP or hostname is
MYCOMPUTER
, first connect your robot to your computer (by plugging it to USB or using the USB dongle) and launch a switch:On the tablet in the VPL Mobile app, click on the robot icon on top left to change the connection configuration. Change the Dashel target to
tcp:MYCOMPUTER;33333
.The text was updated successfully, but these errors were encountered: