Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

By the look on your question i assume that you try to call the function like this:

VisualPtr vis = rendering::Scene::VisualAt(_camera, _Pos, _mod);

if thats the case the fix is easy. You need to call the functions on an scene pointer (not directly).

It would look like this.

rendering::ScenePtr scene_ = rendering::get_scene();
VisualPtr vis = scene_->VisualAt(_camera, _Pos, _mod);