Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Network configuration ros android

Hi everyone,

I just complied the image_transport example of the android_core package and run it on my (non rooted) Android 4.X device. But I have problems to configure the network - rxgraph shows only a "red node" and a communication error.

Both devices are in the same wireless network. The /etc/hosts looks like:

127.0.0.1        localhost
192.168.178.41   htc
192.168.178.21   Latitude-E6410

Consequently, the PC can ping the htc but not vice versa. Or is their a possibility to include new hosts in android without rooting the device?

Roscore runs on the PC. The .bashrc defines:

export ROS_MASTER_URI="http://Latitude-E6410:11311"
export ROS_HOSTNAME="Latitude-E6410"

In the Android program I answer the question for the "Master" with:

http://192.168.178.21:11311/

I can receive messages from the phone but not receive one.

Any ideas? Best wishes

Poseidonius

Network configuration ros android

Hi everyone,

I just complied the image_transport pubsub example of the android_core package and run it on my (non rooted) Android 4.X device. Hence, I guess I have to use IP numbers to configure the connection.

But I have problems to configure the the Android device get not included in the ROS network - rxgraph correctly. Rxgraph shows only a "red node" and a communication error.

Both devices are in the same wireless network. The /etc/hosts looks like:

127.0.0.1        localhost
192.168.178.41   htc
192.168.178.21   Latitude-E6410

Consequently, the PC can ping the htc but not vice versa. Or is their a possibility to include new hosts in android without rooting the device?

Roscore runs on the PC. The .bashrc defines:defines here:

export ROS_MASTER_URI="http://Latitude-E6410:11311"
export ROS_HOSTNAME="Latitude-E6410"
ROS_IP=192.168.178.21

In the Android program I answer the question for the "Master" with:

http://192.168.178.21:11311/

I can receive messages from the phone ... but I do not receive one.

any message. roswtf generates the following results

Beginning tests of your ROS graph. These may take awhile...
analyzing graph...
... done analyzing graph
running graph rules...
ERROR: connection refused to [http://127.0.0.1:40446/]
ERROR: connection refused to [http://127.0.0.1:43793/]
... done running graph rules

Online checks summary:

Found 3 error(s).

ERROR Communication with [/rosout] raised an error: 
ERROR Could not contact the following nodes:
 * /android_gingerbread/ros_text_view
 * /rosjava_tutorial_pubsub/talker

ERROR The following nodes should be connected but aren't:
 * /rosjava_tutorial_pubsub/talker->/android_gingerbread/ros_text_view (/chatter)
 * /android_gingerbread/ros_text_view->/rosout (/rosout)
 * /rosjava_tutorial_pubsub/talker->/rosout (/rosout)

Any ideas? Best wishes

Poseidonius

Network configuration ros android

Hi everyone,

I just complied the pubsub example of the android_core package and run it on my (non rooted) Android 4.X device. Hence, I guess I have to use IP numbers to configure the connection.

But the Android device get not included in the ROS network correctly. Rxgraph shows only a "red node" and a communication error.

Roscore runs on the PC. The .bashrc defines here:

export ROS_IP=192.168.178.21

In the Android program I answer the question for the "Master" with:

http://192.168.178.21:11311/

... but I do not receive any message. roswtf generates the following results

Beginning tests of your ROS graph. These may take awhile...
analyzing graph...
... done analyzing graph
running graph rules...
ERROR: connection refused to [http://127.0.0.1:40446/]
ERROR: connection refused to [http://127.0.0.1:43793/]
... done running graph rules

Online checks summary:

Found 3 error(s).

ERROR Communication with [/rosout] raised an error: 
ERROR Could not contact the following nodes:
 * /android_gingerbread/ros_text_view
 * /rosjava_tutorial_pubsub/talker

ERROR The following nodes should be connected but aren't:
 * /rosjava_tutorial_pubsub/talker->/android_gingerbread/ros_text_view (/chatter)
 * /android_gingerbread/ros_text_view->/rosout (/rosout)
 * /rosjava_tutorial_pubsub/talker->/rosout (/rosout)

I do not understand the origin of "127.0.0.1". Any ideas? ideas?

Best wishes

Poseidonius

Network configuration ros android<--> android_core

Hi everyone,

I just complied the pubsub example of the android_core package and run it on my (non rooted) Android 4.X device. Hence, I guess I have to use IP numbers to configure the connection.

But the Android device get not included in the ROS network correctly. Rxgraph shows only a "red node" and a communication error.

Roscore runs on the PC. The .bashrc defines here:

export ROS_IP=192.168.178.21

In the Android program I answer the question for the "Master" with:

http://192.168.178.21:11311/

... but I do not receive any message. roswtf generates the following results

Beginning tests of your ROS graph. These may take awhile...
analyzing graph...
... done analyzing graph
running graph rules...
ERROR: connection refused to [http://127.0.0.1:40446/]
ERROR: connection refused to [http://127.0.0.1:43793/]
... done running graph rules

Online checks summary:

Found 3 error(s).

ERROR Communication with [/rosout] raised an error: 
ERROR Could not contact the following nodes:
 * /android_gingerbread/ros_text_view
 * /rosjava_tutorial_pubsub/talker

ERROR The following nodes should be connected but aren't:
 * /rosjava_tutorial_pubsub/talker->/android_gingerbread/ros_text_view (/chatter)
 * /android_gingerbread/ros_text_view->/rosout (/rosout)
 * /rosjava_tutorial_pubsub/talker->/rosout (/rosout)

I do not understand the origin of "127.0.0.1". Any ideas?

Best wishes

Poseidonius

Network configuration ros <--> android_core

Hi everyone,

I just complied the pubsub example of the android_core package and run it on my (non rooted) Android 4.X 4.0.3 device. Hence, I guess I have to use IP numbers to configure the connection.

But the Android device get not included in the ROS network correctly. Rxgraph shows only a "red node" and a communication error.

Roscore runs on the PC. The .bashrc defines here:

export ROS_IP=192.168.178.21

In the Android program I answer the question for the "Master" with:

http://192.168.178.21:11311/

... but I do not receive any message. roswtf generates the following results

Beginning tests of your ROS graph. These may take awhile...
analyzing graph...
... done analyzing graph
running graph rules...
ERROR: connection refused to [http://127.0.0.1:40446/]
ERROR: connection refused to [http://127.0.0.1:43793/]
... done running graph rules

Online checks summary:

Found 3 error(s).

ERROR Communication with [/rosout] raised an error: 
ERROR Could not contact the following nodes:
 * /android_gingerbread/ros_text_view
 * /rosjava_tutorial_pubsub/talker

ERROR The following nodes should be connected but aren't:
 * /rosjava_tutorial_pubsub/talker->/android_gingerbread/ros_text_view (/chatter)
 * /android_gingerbread/ros_text_view->/rosout (/rosout)
 * /rosjava_tutorial_pubsub/talker->/rosout (/rosout)

I do not understand the origin of "127.0.0.1". Any ideas?

Best wishes

Poseidonius

Network configuration ros <--> android_core

Hi everyone,

I just complied the pubsub example of the android_core package and run it on my (non rooted) Android 4.0.3 device. Hence, I guess I have to use IP numbers to configure the connection.

But the Android device get not included in the ROS network correctly. Rxgraph shows only a "red node" and a communication error.

Roscore runs on the PC. The .bashrc defines here:

export ROS_IP=192.168.178.21

In the Android program I answer the question for the "Master" with:

http://192.168.178.21:11311/

... but I do not receive any message. roswtf generates the following results

Beginning tests of your ROS graph. These may take awhile...
analyzing graph...
... done analyzing graph
running graph rules...
ERROR: connection refused to [http://127.0.0.1:40446/]
ERROR: connection refused to [http://127.0.0.1:43793/]
... done running graph rules

Online checks summary:

Found 3 error(s).

ERROR Communication with [/rosout] raised an error: 
ERROR Could not contact the following nodes:
 * /android_gingerbread/ros_text_view
 * /rosjava_tutorial_pubsub/talker

ERROR The following nodes should be connected but aren't:
 * /rosjava_tutorial_pubsub/talker->/android_gingerbread/ros_text_view (/chatter)
 * /android_gingerbread/ros_text_view->/rosout (/rosout)
 * /rosjava_tutorial_pubsub/talker->/rosout (/rosout)

I do not understand the origin of "127.0.0.1". Any ideas?

Best wishes

Poseidonius