Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Communication occurs only one way between devices

Hello,

I am using the talker and listener nodes to check that the communication occurs between my raspberry pi and my system. I am running Kinetic in the system and using ubiquity robotics image in the RPi which has ROS pre-installed. I am only able to send data from the RPi to the system but not vice-versa.

Here are the setup lines in my .bashrc files:

In System

export ROS_IP=172.20.10.8
export ROS_HOSTNAME=172.20.10.8
export ROS_MASTER_URI=http://172.20.10.9:11311/

In RPi (Master)

export ROS_IP=172.20.10.9
export ROS_HOSTNAME=172.20.10.9
export ROS_MASTER_URI=http://172.20.10.9:11311/

Here are my etc/hosts files

In System

127.0.0.1   localhost
127.0.1.1   01HW822483
172.20.10.9     172.20.10.9
172.20.10.8     172.20.10.8

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.20.10.9 172.20.10.9

In RPi

127.0.0.1         localhost
::1                  localhost ip6-localhost ip6-lookback
ff02::1            ip6-allnodes
ff02::2            ip6-allrouters

172.20.10.9   172.20.10.9
172.20.10.8   172.20.10.8

I have also included the rqt_graphs. When i run talker on the Pi and listener on the system, i can echo the /chatter topic. But when I do the reverse, i cannot observe anything in the topic.

C:\fakepath\pc2pi.png

C:\fakepath\pi2pc.png

Communication occurs only one way between devices

Hello,

I am using the talker and listener nodes to check that the communication occurs between my raspberry pi and my system. I am running Kinetic in the system and using ubiquity robotics image in the RPi which has ROS pre-installed. I am only able to send data from the RPi to the system but not vice-versa.

Here are the setup lines in my .bashrc files:

In System

export ROS_IP=172.20.10.8
export ROS_HOSTNAME=172.20.10.8
export ROS_MASTER_URI=http://172.20.10.9:11311/

In RPi (Master)

export ROS_IP=172.20.10.9
export ROS_HOSTNAME=172.20.10.9
export ROS_MASTER_URI=http://172.20.10.9:11311/

Here are my etc/hosts files

In System

127.0.0.1   localhost
127.0.1.1   01HW822483
172.20.10.9     172.20.10.9
172.20.10.8     172.20.10.8

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.20.10.9 172.20.10.9

In RPi

127.0.0.1         localhost
::1                  localhost ip6-localhost ip6-lookback
ff02::1            ip6-allnodes
ff02::2            ip6-allrouters

172.20.10.9   172.20.10.9
172.20.10.8   172.20.10.8

I have also included the rqt_graphs. When i run talker on the Pi and listener on the system, i can echo the /chatter topic. But when I do the reverse, i cannot observe anything in the topic.

C:\fakepath\pc2pi.png

C:\fakepath\pi2pc.png

This are the errors I get when i run roswtf

analyzing graph...
... done analyzing graph
running graph rules...
ERROR: Unknown host [my_robot.local] for node [/rosbridge_ws/rosbridge_websocket]
ERROR: Unknown host [my_robot.local] for node [/rosbridge_wss/rosbridge_websocket]
ERROR: Unknown host [my_robot.local] for node [/rosout]
ERROR: Unknown host [my_robot.local] for node [/teleop_twist_joy]
ERROR: connection refused to [http://172.20.10.9:45169/]
ERROR: Unknown host [my_robot.local] for node [/joint_state_publisher]
ERROR: Unknown host [my_robot.local] for node [/motor_node]
ERROR: Unknown host [my_robot.local] for node [/joy_node]
ERROR: Unknown host [my_robot.local] for node [/robot_state_publisher]
ERROR: Unknown host [my_robot.local] for node [/tf2_web_republisher]
ERROR: Unknown host [my_robot.local] for node [/rosbridge_wss/rosapi]

Communication occurs only one way between devices

Hello,

I am using the talker and listener nodes to check that the communication occurs between my raspberry pi and my system. I am running Kinetic in the system and using ubiquity robotics image in the RPi which has ROS pre-installed. I am only able to send data from the RPi to the system but not vice-versa.

Here are the setup lines in my .bashrc files:

In System

export ROS_IP=172.20.10.8
export ROS_HOSTNAME=172.20.10.8
export ROS_MASTER_URI=http://172.20.10.9:11311/

In RPi (Master)

export ROS_IP=172.20.10.9
export ROS_HOSTNAME=172.20.10.9
export ROS_MASTER_URI=http://172.20.10.9:11311/

Here are my etc/hosts files

In System

127.0.0.1   localhost
127.0.1.1   01HW822483
172.20.10.9     172.20.10.9
172.20.10.8     172.20.10.8

::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
172.20.10.9 172.20.10.9

In RPi

127.0.0.1         localhost
::1                  localhost ip6-localhost ip6-lookback
ff02::1            ip6-allnodes
ff02::2            ip6-allrouters

172.20.10.9   172.20.10.9
172.20.10.8   172.20.10.8

I have also included the rqt_graphs. When i run talker on the Pi and listener on the system, i can echo the /chatter topic. But when I do the reverse, i cannot observe anything in the topic.

C:\fakepath\pc2pi.png

C:\fakepath\pi2pc.png

This are the errors I get when i run roswtf

analyzing graph...
... done analyzing graph
running graph rules...
ERROR: Unknown host [my_robot.local] for node [/rosbridge_ws/rosbridge_websocket]
ERROR: Unknown host [my_robot.local] for node [/rosbridge_wss/rosbridge_websocket]
ERROR: Unknown host [my_robot.local] for node [/rosout]
ERROR: Unknown host [my_robot.local] for node [/teleop_twist_joy]
ERROR: connection refused to [http://172.20.10.9:45169/]
ERROR: Unknown host [my_robot.local] for node [/joint_state_publisher]
ERROR: Unknown host [my_robot.local] for node [/motor_node]
ERROR: Unknown host [my_robot.local] for node [/joy_node]
ERROR: Unknown host [my_robot.local] for node [/robot_state_publisher]
ERROR: Unknown host [my_robot.local] for node [/tf2_web_republisher]
ERROR: Unknown host [my_robot.local] for node [/rosbridge_wss/rosapi]