Home | Tutorials | Wiki | Issues
Ask Your Question
0

Changing pixel size of camera

asked 2015-03-19 06:10:38 -0600

Paulo gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-03-19 11:43:22 -0600

nkoenig gravatar image

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>.

edit flag offensive delete link more

Comments

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

Paulo gravatar imagePaulo ( 2015-03-19 12:42:48 -0600 )edit

Camera resolution is the number of pixels in the image, which is specified by <width> and <height>. 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.

nkoenig gravatar imagenkoenig ( 2015-03-19 12:53:40 -0600 )edit

It worked thx. I was confused sorry.

Paulo gravatar imagePaulo ( 2015-03-19 13:11:58 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-03-19 06:10:38 -0600

Seen: 511 times

Last updated: Mar 19 '15