UTNuclearRoboticsPublic / rviz_textured_sphere

A dynamic textured skysphere for RViz
BSD 3-Clause "New" or "Revised" License
50 stars 15 forks source link

add padding option for non-square images #5

Open knorth55 opened 3 years ago

knorth55 commented 3 years ago

I add padding option for non-square images. I'm using fisheye camera with 16:9 ELP-USB4KHDR01-KL170, and I want to keep the aspect ratio in the sphere. So I add padding option to keep aspect ratio in the sphere.

padding: true

rviz_textured_sphere_with_padding

padding: false

rviz_textured_sphere_without_padding

knorth55 commented 3 years ago

can anyone review this PR and merge this?