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

ros with raspberry pi and pc

asked 2018-10-05 23:25:49 -0500

basicrobots gravatar image

I'm using ros listener and talker, if I run ros talker on the raspberry pi I can see it on the listener on the pc but if I run ros talker on the pc I can not listener on the raspberry pi, I dont get any errors is just does not display "hear ...."

what am I missing?

edit retag flag offensive close merge delete

Comments

cam you get us more detail about how to connect pi to pc and how to run your program

Hamid Didari gravatar image Hamid Didari  ( 2018-10-05 23:51:27 -0500 )edit

sure, I follow this tutorial. http://wiki.ros.org/ROS/Tutorials/Mul... I had also tried to run roscore on the pi and as a master but still can only talk on the pi and listen on the pc but no the other way, but if I run talker and listener on the pi it works.

basicrobots gravatar image basicrobots  ( 2018-10-06 00:08:14 -0500 )edit

after runnig talker on pc and listener on pi , run rqt_graph and check two node connect correctly

Hamid Didari gravatar image Hamid Didari  ( 2018-10-06 00:20:41 -0500 )edit

I did, and I can see them connected weather I run talker on the pc or the pi

basicrobots gravatar image basicrobots  ( 2018-10-06 00:28:09 -0500 )edit

after runnig talker on pc try "rostopic echo < topic name > " on pc and see the out put (roscore run on pi)

Hamid Didari gravatar image Hamid Didari  ( 2018-10-06 00:36:06 -0500 )edit

I run talker on the pc and at the same time I run rostopic echo /chatter on the pi and on the pc but I can only see responding on PC

basicrobots gravatar image basicrobots  ( 2018-10-06 00:47:02 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2020-05-26 06:08:15 -0500

racklove gravatar image

Not sure, but try this as a solution,

Disabling firewall

Please reply your results.

Regards,

edit flag offensive delete link more
0

answered 2018-10-06 01:12:49 -0500

basicrobots gravatar image

updated 2018-10-06 03:34:12 -0500

gvdhoorn gravatar image

I run this on the pi and it works

export ROS_MASTER_URI=http://192.168.1.10:11311
export ROS_HOSTNAME=192.168.1.10
export ROS_IP= (empty data)
edit flag offensive delete link more

Comments

@basicrobots Hi, I am facing the exact same problem, could you please clearly explain what you have done to work?? Thanks in advance!

Srivardhan Cholkar gravatar image Srivardhan Cholkar  ( 2019-03-23 17:57:17 -0500 )edit

Question Tools

Stats

Asked: 2018-10-05 23:25:49 -0500

Seen: 870 times

Last updated: May 26 '20