Skip to content

Commit

Permalink
Fix calibration yaml formatting (ros-perception#580) (ros-perception#585
Browse files Browse the repository at this point in the history
)

Co-authored-by: David Torres Ocaña <david.torres.ocana@gmail.com>
  • Loading branch information
2 people authored and wep21 committed Oct 17, 2021
1 parent 038641b commit bface82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion camera_calibration/src/camera_calibration/calibrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ def format_mat(x, precision):
" rows: 3",
" cols: 3",
" data: " + format_mat(k, 5),
"camera_model: " + dist_model,
"distortion_model: " + dist_model,
"distortion_coefficients:",
" rows: 1",
" cols: %d" % d.size,
Expand Down

0 comments on commit bface82

Please sign in to comment.