Robotics StackExchange | Archived questions

[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

Asked by Myzhar on 2022-07-15 12:03:49 UTC

Comments

Answers