Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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