Robotics StackExchange | Archived questions

Rviz is displaying CubeList incorrectly from MarkerArray

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

Asked by Ioskiw on 2016-11-11 09:11:59 UTC

Comments

perhaps related to this recent question?

Asked by rbbg on 2016-11-11 09:22:29 UTC

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

Asked by Ioskiw on 2016-11-14 11:09:49 UTC

Answers