Robotics StackExchange | Archived questions

markers LINE_STRIP not working with rospy

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

gist

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

Asked by San on 2017-02-12 13:42:57 UTC

Comments

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

Asked by jarvisschultz on 2017-02-13 08:48:59 UTC

Answers