Network issue: messages not received from rqt
I made a simple sub node with roscpp using ros kinetic on ubuntu 16.04. I have 2 computers on my network :
192.168.1.234 : Raspberry PI
ROS net config :
export ROS_IP=192.168.1.234
Result of ifconfig
:
can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:16 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
enxb827eb71bd25 Link encap:Ethernet HWaddr b8:27:eb:71:bd:25
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:345 errors:0 dropped:0 overruns:0 frame:0
TX packets:345 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:23349 (23.3 KB) TX bytes:23349 (23.3 KB)
wlan0 Link encap:Ethernet HWaddr b8:27:eb:24:e8:70
inet addr:192.168.1.234 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::ee4b:a2a1:2c41:573b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:197 errors:0 dropped:38 overruns:0 frame:0
TX packets:173 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27509 (27.5 KB) TX bytes:24228 (24.2 KB)
__Running node : __
roscore &
rosrun ros-ws Test
192.168.1.102 : Laptop
__ROS net config : __
export ROS_IP=192.168.1.102
export ROS_MASTER_URI="http://192.168.1.234:11311"
__Result of ifconfig
: __
eno1 Link encap:Ethernet HWaddr 3c:52:82:62:c9:0f
inet adr:192.168.1.102 Bcast:192.168.1.255 Masque:255.255.255.0
adr inet6: fe80::303c:5b78:aff2:99b0/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Packets reçus:289050 erreurs:0 :9 overruns:0 frame:0
TX packets:595541 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:80850321 (80.8 MB) Octets transmis:671744125 (671.7 MB)
Interruption:20 Mémoire:f3100000-f3120000
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:65536 Metric:1
Packets reçus:441028 erreurs:0 :0 overruns:0 frame:0
TX packets:441028 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:255498349 (255.4 MB) Octets transmis:255498349 (255.4 MB)
__Running node : __
rqt
The node run on the raspberry Pi and is ...
So you set these variables to some values, started your nodes and nothing happened? That seems highly unlikely.
Please be more specific (ie: tell us which values you used). Otherwise we cannot help you.
I added, more informations about the network configuration and clarified the description. It seems it's a network configuration issue but I can't find where I got wrong.