File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
bag_tools/scripts/bag_tools Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 12
12
* Redistributions in binary form must reproduce the above copyright
13
13
notice, this list of conditions and the following disclaimer in the
14
14
documentation and/or other materials provided with the distribution.
15
- * Neither the name of Systems, Robotics and Vision Group, University of
16
- the Balearican Islands nor the names of its contributors may be used to
17
- endorse or promote products derived from this software without specific
15
+ * Neither the name of Systems, Robotics and Vision Group, University of
16
+ the Balearican Islands nor the names of its contributors may be used to
17
+ endorse or promote products derived from this software without specific
18
18
prior written permission.
19
19
20
20
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
@@ -75,6 +75,10 @@ def replacement(replace_string):
75
75
cam_info .R = calib_data ['rectification_matrix' ]['data' ]
76
76
cam_info .P = calib_data ['projection_matrix' ]['data' ]
77
77
cam_info .distortion_model = calib_data ['distortion_model' ]
78
+ cam_info .binning_x = 1 ;
79
+ cam_info .binning_y = 1 ;
80
+ cam_info .roi .width = calib_data ['image_width' ]
81
+ cam_info .roi .height = calib_data ['image_height' ]
78
82
return pair [0 ], cam_info
79
83
80
84
if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments