Ask Your Question
0

Rosbridge doesnt work at SOME smartphones

asked 2016-11-01 05:47:46 -0500

NastyKhan gravatar image

Hello wise people,

I have made WEB application using HTML, JavaScript and Rosbridge to control my robot. Application works perfecty when launched on PC (windows/linux), netbook, laptop, some tablets and some smartphones. I repeat: IT WORKS PERFECTLY. However at SOME smartphones (both Android and Windows 8) the application launch, I can see all the graphics, I can use sliders and see numbers changing (witch means that JavaScript works) but no data is send or recieved. So i'm guessing ROS and Rosbridge are ok and the problem is with those phones.

My question is: Why my app doesn't work on SOME phones? Does it require a specific version of OS? Or maybe some special libraries?

I'm using ROS Indigo.

Thank you.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-11-02 03:36:17 -0500

jihoonl gravatar image

you might want to check if your smart phone supports websocket. rosbridge does not work without websocket.

edit flag offensive delete link more

Comments

Well it seems you might be right, thank you. I've done some research however and it look like websocket support it's not a matter of phone itself but rather it's intertet browser. Just look at these tables:

http://caniuse.com/#feat=websockets

NastyKhan gravatar image NastyKhan  ( 2016-11-02 07:47:21 -0500 )edit

I did some testing. Basically switching to another browser helps, which makes me happy enough. Pity, my old phone with Android 2.3.4 doesn't support any other/newer browser. (Dont worry, old pal, we will fight together once again. Another time.)

NastyKhan gravatar image NastyKhan  ( 2016-11-06 17:59:54 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2016-11-01 05:47:46 -0500

Seen: 156 times

Last updated: Nov 02 '16