pyros-dev / pyros

Python interfacing for multiprocess software - A Python blanket for ROS to hide inside
BSD 3-Clause "New" or "Revised" License
24 stars 4 forks source link

Pyros node is not responding #143

Open hanggaga opened 5 years ago

hanggaga commented 5 years ago

I have example code for explain my issue here First run $ bokeh serve sliders.py at my command prompt. Then navigate to the URL http://localhost:5006/sliders in my browser. I would to do with simple pub from ros to pyros to bokeh plot with command $ rostopic pub /topic_line_color std_msgs/String "data: 'red'" -1 to change the line color to red and $ rostopic pub /topic_line_color std_msgs/String "data: 'green'" -1 to change to the back green one It's work but after I would to refresh my browser for once so I pub with the same command but nothings change. Question? I think about the node has been created with the same name, then what I should do to solve this. help me! I hope my question is clear for you, please give me some advice. Thank you.

asmodehn commented 5 years ago

Hello,

Thanks for trying pyros and posting about this issue. Your code also is useful, and I had a quick shot at setting it up, but got quickly stuck because I don't have a ROS setup locally anymore (since I don't work with it daily nowadays). So it is one more reason to invest time in https://github.com/pyros-dev/pyros-rosinterface/issues/14 :-)

Anyway I had a couple of hints that might be useful for your usecase :

Good luck in tracking this down, it doesn't look trivial from your description. Let me know when you find some clue !