markers LINE_STRIP not working with rospy

asked 2017-02-12 12:42:57 -0600

San gravatar image

updated 2017-02-12 12:47:49 -0600

Hello community, I am trying to implement markers (LINE_STRIP) using python nodes. I was able to get SPHERE, CUBE and CYLINDER working but not LINE_STRIP, LINE_LIST. I would appreciate if someone can spot any missing implementation. Here is the code snippet:


cpp implementation works fine but I need a python implementation and I didn't find any python tutorials on markers

edit retag flag offensive close merge delete


Without a complete code sample, it's tough to figure out exactly what you are doing. But one thing that jumps out at me: the LINE_STRIP, LINE_LIST, SPHERE_LIST, CUBE_LIST, and POINTS display types all use the link.points field not the link.pose field. Also be sure to set the link.header.stamp

jarvisschultz gravatar image jarvisschultz  ( 2017-02-13 07:48:59 -0600 )edit