Skip to content

Virtual Camera Resolution Lower Than Main Display #41

Answered by lucasw
CalvinKroese asked this question in Q&A
Discussion options

You must be logged in to vote

I edited the demo.launch to get a 1920x1080 image:

diff --git a/launch/demo.launch b/launch/demo.launch
index f9ea44c..95ef1c3 100644
--- a/launch/demo.launch
+++ b/launch/demo.launch
@@ -29,13 +29,13 @@
   <node name="camera_info" pkg="rostopic" type="rostopic"
       args="pub camera_info sensor_msgs/CameraInfo
      '{header: {seq: 0, stamp: {secs: 0, nsecs: 0}, frame_id: 'camera2'},
-      height: 720, width: 1280, distortion_model: 'plumb_bob',
+      height: 1080, width: 1920, distortion_model: 'plumb_bob',
       D: [0],
       K: [300.0, 0.0, 640, 0.0, 300.0, 360.0, 0.0, 0.0, 1.0],
       R: [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0],
       P: [300.0, 0.0, 640, 0.0, 0.0, 300, …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@CalvinKroese
Comment options

Answer selected by CalvinKroese
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants