Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Does the marker example work with Gazebo 8?

I have gazebo 8.1.1 and it's generally working, but I can't get markers to display. I tried the stand-alone marker example (https://bitbucket.org/osrf/gazebo/src/3ca3431cfe5a/examples/stand_alone/marker) and while it runs happily there's nothing to see in gzclient... Does this example actually work or is something missing?

Does the marker example work with Gazebo 8?

I have gazebo 8.1.1 and it's generally working, but I can't get markers to display. I tried the stand-alone marker example (https://bitbucket.org/osrf/gazebo/src/3ca3431cfe5a/examples/stand_alone/marker) and while it runs happily there's nothing to see in gzclient... Does this example actually work or is something missing?

Gazebo output:

> gazebo --verbose
Gazebo multi-robot simulator, version 9.0.1
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
Gazebo multi-robot simulator, version 9.0.1
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.0.46
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.0.46
[Err] [InsertModelWidget.cc:336] Missing model.config for model "/home/tve/src/gazebo-wave/marker-test"
[Err] [InsertModelWidget.cc:336] Missing model.config for model "/home/tve/src/gazebo-wave/media"
[Err] [InsertModelWidget.cc:336] Missing model.config for model "/home/tve/src/gazebo-wave/models"
[Err] [InsertModelWidget.cc:336] Missing model.config for model "/home/tve/src/gazebo-wave/plugins"
[Err] [InsertModelWidget.cc:336] Missing model.config for model "/home/tve/src/gazebo-wave/worlds"
[Wrn] [Publisher.cc:141] Queue limit reached for topic /gazebo/default/user_camera/pose, deleting message. This warning is printed only once.
^C
>

All I see is the ground plane, grid, and the 3 axes.

Marker command output:

> ./marker
Spawning a sphere at the origin
Moving the sphere to x=0, y=0, z=1
Shrinking the sphere
Changing the sphere to red
Adding a green box
Change the green box to a cylinder
Adding a line between the sphere and cylinder
Adding a square around the origin
Adding 100 points inside the square
Adding HELLO at 0, 0, 2
Adding a semi-circular triangle fan
Adding two triangles using a triangle list
Adding a rectangular triangle strip
Delete all the markers

Does the marker example work with Gazebo 8?

I have gazebo 8.1.1 and it's generally working, but I can't get markers to display. I tried the stand-alone marker example (https://bitbucket.org/osrf/gazebo/src/3ca3431cfe5a/examples/stand_alone/marker) and while it runs happily there's nothing to see in gzclient... Does this example actually work or is something missing?

Gazebo output:

> gazebo --verbose
Gazebo multi-robot simulator, version 9.0.1
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
Gazebo multi-robot simulator, version 9.0.1
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.0.46
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.0.46
[Err] [InsertModelWidget.cc:336] Missing model.config for model "/home/tve/src/gazebo-wave/marker-test"
[Err] [InsertModelWidget.cc:336] Missing model.config for model "/home/tve/src/gazebo-wave/media"
[Err] [InsertModelWidget.cc:336] Missing model.config for model "/home/tve/src/gazebo-wave/models"
[Err] [InsertModelWidget.cc:336] Missing model.config for model "/home/tve/src/gazebo-wave/plugins"
[Err] [InsertModelWidget.cc:336] Missing model.config for model "/home/tve/src/gazebo-wave/worlds"
[Wrn] [Publisher.cc:141] Queue limit reached for topic /gazebo/default/user_camera/pose, deleting message. This warning is printed only once.
^C
>

All I see is the ground plane, grid, and the 3 axes.

Marker command output:

> ./marker
Spawning a sphere at the origin
Moving the sphere to x=0, y=0, z=1
Shrinking the sphere
Changing the sphere to red
Adding a green box
Change the green box to a cylinder
Adding a line between the sphere and cylinder
Adding a square around the origin
Adding 100 points inside the square
Adding HELLO at 0, 0, 2
Adding a semi-circular triangle fan
Adding two triangles using a triangle list
Adding a rectangular triangle strip
Delete all the markers

I ran some service & topic troubleshooting commands:

> ign topic -l
/introspection/mfznxa/items_update
> ign service -l
/introspection/mfznxa/filter_new
/introspection/mfznxa/filter_remove
/introspection/mfznxa/filter_update
/introspection/mfznxa/items
/physics/info/plugin
> gz marker
Error: /marker service not present on network.
> gz topic -l
/gazebo/ocean_waves/atmosphere
/gazebo/ocean_waves/box/hull/wrench
/gazebo/ocean_waves/diagnostics
/gazebo/ocean_waves/factory
/gazebo/ocean_waves/factory/light
/gazebo/ocean_waves/gui
/gazebo/ocean_waves/gzclient_camera/cmd
/gazebo/ocean_waves/joint
/gazebo/ocean_waves/light/modify
/gazebo/ocean_waves/log/control
/gazebo/ocean_waves/log/status
/gazebo/ocean_waves/model/info
/gazebo/ocean_waves/model/modify
/gazebo/ocean_waves/physics
/gazebo/ocean_waves/physics/contacts
/gazebo/ocean_waves/playback_control
/gazebo/ocean_waves/pose/info
/gazebo/ocean_waves/pose/local/info
/gazebo/ocean_waves/pose/modify
/gazebo/ocean_waves/request
/gazebo/ocean_waves/response
/gazebo/ocean_waves/roads
/gazebo/ocean_waves/scene
/gazebo/ocean_waves/selection
/gazebo/ocean_waves/sensor
/gazebo/ocean_waves/skeleton_pose/info
/gazebo/ocean_waves/sky
/gazebo/ocean_waves/undo_redo
/gazebo/ocean_waves/user_camera/joy_pose
/gazebo/ocean_waves/user_camera/joy_twist
/gazebo/ocean_waves/user_camera/pose
/gazebo/ocean_waves/user_cmd
/gazebo/ocean_waves/user_cmd_stats
/gazebo/ocean_waves/visual
/gazebo/ocean_waves/wind
/gazebo/ocean_waves/world_control
/gazebo/ocean_waves/world_stats
/gazebo/server/control
/gazebo/world/modify

Clearly there's a problem reported by the gz marker command, but how do I figure out where it is?

Does the marker example work with Gazebo 8?

I have gazebo 8.1.1 and it's generally working, but I can't get markers to display. I tried the stand-alone marker example (https://bitbucket.org/osrf/gazebo/src/3ca3431cfe5a/examples/stand_alone/marker) and while it runs happily there's nothing to see in gzclient... Does this example actually work or is something missing?

Gazebo output:

> gazebo --verbose
Gazebo multi-robot simulator, version 9.0.1
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
Gazebo multi-robot simulator, version 9.0.1
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.0.46
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.0.46
[Err] [InsertModelWidget.cc:336] Missing model.config for model "/home/tve/src/gazebo-wave/marker-test"
[Err] [InsertModelWidget.cc:336] Missing model.config for model "/home/tve/src/gazebo-wave/media"
[Err] [InsertModelWidget.cc:336] Missing model.config for model "/home/tve/src/gazebo-wave/models"
[Err] [InsertModelWidget.cc:336] Missing model.config for model "/home/tve/src/gazebo-wave/plugins"
[Err] [InsertModelWidget.cc:336] Missing model.config for model "/home/tve/src/gazebo-wave/worlds"
[Wrn] [Publisher.cc:141] Queue limit reached for topic /gazebo/default/user_camera/pose, deleting message. This warning is printed only once.
^C
>

All I see is the ground plane, grid, and the 3 axes.

Marker command output:

> ./marker
Spawning a sphere at the origin
Moving the sphere to x=0, y=0, z=1
Shrinking the sphere
Changing the sphere to red
Adding a green box
Change the green box to a cylinder
Adding a line between the sphere and cylinder
Adding a square around the origin
Adding 100 points inside the square
Adding HELLO at 0, 0, 2
Adding a semi-circular triangle fan
Adding two triangles using a triangle list
Adding a rectangular triangle strip
Delete all the markers

I ran some service & topic troubleshooting commands:

> ign topic -l
/introspection/mfznxa/items_update
> ign service -l
/introspection/mfznxa/filter_new
/introspection/mfznxa/filter_remove
/introspection/mfznxa/filter_update
/introspection/mfznxa/items
/physics/info/plugin
> gz marker
Error: /marker service not present on network.
> gz topic -l
/gazebo/ocean_waves/atmosphere
/gazebo/ocean_waves/box/hull/wrench
/gazebo/ocean_waves/diagnostics
/gazebo/ocean_waves/factory
/gazebo/ocean_waves/factory/light
/gazebo/ocean_waves/gui
/gazebo/ocean_waves/gzclient_camera/cmd
/gazebo/ocean_waves/joint
/gazebo/ocean_waves/light/modify
/gazebo/ocean_waves/log/control
/gazebo/ocean_waves/log/status
/gazebo/ocean_waves/model/info
/gazebo/ocean_waves/model/modify
/gazebo/ocean_waves/physics
/gazebo/ocean_waves/physics/contacts
/gazebo/ocean_waves/playback_control
/gazebo/ocean_waves/pose/info
/gazebo/ocean_waves/pose/local/info
/gazebo/ocean_waves/pose/modify
/gazebo/ocean_waves/request
/gazebo/ocean_waves/response
/gazebo/ocean_waves/roads
/gazebo/ocean_waves/scene
/gazebo/ocean_waves/selection
/gazebo/ocean_waves/sensor
/gazebo/ocean_waves/skeleton_pose/info
/gazebo/ocean_waves/sky
/gazebo/ocean_waves/undo_redo
/gazebo/ocean_waves/user_camera/joy_pose
/gazebo/ocean_waves/user_camera/joy_twist
/gazebo/ocean_waves/user_camera/pose
/gazebo/ocean_waves/user_cmd
/gazebo/ocean_waves/user_cmd_stats
/gazebo/ocean_waves/visual
/gazebo/ocean_waves/wind
/gazebo/ocean_waves/world_control
/gazebo/ocean_waves/world_stats
/gazebo/server/control
/gazebo/world/modify

Clearly there's a problem reported by the gz marker command, but how do I figure out where it is?