Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ignition Gazebo: RayQuery()

Hi all,

I'm new to Ignition Gazebo and trying to understand the general architectural structure of it.

I'm building a new simple range sensor system plugin that will measure the distance along some direction using a ray query. To create a ray query I need a pointer to the underlying world scene (scene->CreateRayQuery()). My question is: how do I get a pointer to the scene when implementing the Configure/Update/PostUpdate functions?

Thank you.