Rviz is displaying CubeList incorrectly from MarkerArray

asked 2016-11-11 08:11:59 -0600

Ioskiw gravatar image

Hi together,

i am using Ros and Rviz do display Markers. But for some reason the Markers are not displayed correctly. It looks like this:

enter image description here

I actually have no Idea why this is the case, does anybody have any idea. My Published Array looks like this:

rostopic echo /visualization/visualization_marker_array
header: 
  seq: 1
  stamp: 
    secs: 0
    nsecs:         0
  frame_id: /robot_base_link
ns: ''
id: 0
type: 6
action: 0
pose: 
  position: 
    x: 0.0
    y: 0.0
    z: 0.0
  orientation: 
    x: 0.0
    y: 0.0
    z: 0.0
    w: 1.0
scale: 
  x: 0.01
  y: 0.01
  z: 0.01
color: 
  r: 0.0
  g: 0.0
  b: 0.0
  a: 0.0
lifetime: 
  secs: 0
  nsecs:         0
frame_locked: False
points: 
  - 
    x: 0.0
    y: 0.0
    z: 0.0
  - 
    x: 0.1
    y: 0.0
    z: 0.0
colors: 
  - 
    r: 1.0
    g: 0.0
    b: 0.0
    a: 1.0
  - 
    r: 0.0
    g: 1.0
    b: 0.0
    a: 1.0
text: ''
mesh_resource: ''
mesh_use_embedded_materials: False
---

Furthermore I am publishing the markerarray and i am subscribing in rviz. rostopic info confirms that.

Does anybody have an idea where i might be wrong, or why this is happening? Thanks

edit retag flag offensive close merge delete

Comments

perhaps related to this recent question?

rbbg gravatar imagerbbg ( 2016-11-11 08:22:29 -0600 )edit

The problem was based on the computer i worked on. On a different one the code works fine

Ioskiw gravatar imageIoskiw ( 2016-11-14 10:09:49 -0600 )edit