ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Android_Core MasterChooser Java Invalid Syntax Error

asked 2019-02-11 06:57:12 -0500

iShauny gravatar image

I am using the basic masterchooser built into the android rosjava_core and I am struggling to connect the robot to my phone. I receive this error:

Caused by: java.net.URISyntaxException: Illegal character in authority at index 7: http://192.168.137.118 :51762/

I have set the ip in the master chooser as http://192.168.137.118:11311 and additionally have set the ip in the android hosts file but it still does not work. I am using the code from an open github repo that uses the base code https://github.com/ollide/rosjava_and...

Any help is appreciated, thank you. The robot is using ROS jade.

edit retag flag offensive close merge delete

Comments

I am unsure why this port is showing up if I am honest, I am not sure what part of the source code for the master chooser is adding that port into the url.

iShauny gravatar image iShauny  ( 2019-02-11 09:03:51 -0500 )edit

Hmm the URI contains both the protocol (http), the IP address or host, and the port; all of that is entered by the user manually in the master chooser. Try using pubsub tutorial as an example.

jubeira gravatar image jubeira  ( 2019-02-12 07:06:06 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-02-11 08:36:23 -0500

jubeira gravatar image

Caused by: java.net.URISyntaxException: Illegal character in authority at index 7: http://192.168.137.118 :51762/ --> there's a space between the address and the port; what about that?

edit flag offensive delete link more

Question Tools

Stats

Asked: 2019-02-11 06:57:12 -0500

Seen: 193 times

Last updated: Feb 11 '19