0
$\begingroup$

Gazebo Answers logo

Hello,

how do you change the pixel size of a URDF camera?

I follow the tutorial in Gazebo but it doesn't say how to do this.

Thx so much friends.


Originally posted by Paulo on Gazebo Answers with karma: 15 on 2015-03-19

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Gazebo Answers logo

You'll need to use SDF.

If you have to use URDF, then you'll need to add a gazebo extension to URDF that specifies an <image> <width> and <height>.


Originally posted by nkoenig with karma: 7676 on 2015-03-19

This answer was ACCEPTED on the original site

Post score: 2


Original comments

Comment by Paulo on 2015-03-19:
I did that and I got a bigger image. But does that change the size of the pixels? I don't want to change the size of the image I want to change the size of the pixels. I want better resolution by having smaller pixels

Comment by nkoenig on 2015-03-19:
Camera resolution is the number of pixels in the image, which is specified by and . The "size" of pixels is a concept for print and display on a monitor. For example, a digital camera has a resolution but you can't set the "size" of the output pixels.

Comment by Paulo on 2015-03-19:
It worked thx. I was confused sorry.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.