Strange Sideeffect Node with Topic echo

asked 2016-04-21 09:42:34 -0500

El_Winnero gravatar image

The Node can be started either through .launch and via rosrun. It has that classy publish, service server stuff inside Well now when i start the node with rosrun everthing is ok but when i also start rostopic echo /map then i got like only stuff out of an occupancygrid but NOT at the Terminal where i typed the topic command i get it in the terminal where i started my node. after the output the node cancels himself.

If i start with roslaunch then everything works fine....

any idea?

edit retag flag offensive close merge delete



I'm confused. What exactly did you do, got as results, and expected differently?

dornhege gravatar image dornhege  ( 2016-04-21 09:55:58 -0500 )edit

Well i read a Picture and transfer it into an OccupancyGrid. Then the Publisher gets called which should give it to /map. This should be an alternative for a laserscanner to be able to simulate different cases.

El_Winnero gravatar image El_Winnero  ( 2016-04-21 10:20:17 -0500 )edit