[Ignition] Set camera intrinsic and distortion parameters in a plugin

asked 2022-07-15 12:03:49 -0500

Myzhar gravatar image

Hi all,

I'm writing a plugin that simulates a camera, the plugin must load the camera parameters from a server and must "force" them in the configure function.

The problem is that I cannot figure out how I can perform this operation.

The sdf::Camera class has only functions to retrieve the values loaded from the SDF, while ignition::sensors::CameraSensor and ignition::rendering::Camera have nothing related to the intrinsic and distortion parameters.

Any suggestion?

Thank you, Walter

edit retag flag offensive close merge delete