Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

@kumpakri Did you find a way to do this? I can confirm that the suggestion by @nkoenig works. I've been able to change the _physics_ part of the sensor ray via MultiRayShap::SetRay.

However, the _rendering_ of the beam in gzclient remains unchanged. If I place an object in front of this newly set (still invisible) ray, I can get readings from it. I haven't found a way to update the laser visual to match the altered ray position.

If you've made progress on this, do put in a note here. Otherwise, I'll open a new issue for this. Thanks!