Skip to content

Commit

Permalink
Fix ZED2i model minor error
Browse files Browse the repository at this point in the history
  • Loading branch information
Myzhar committed May 28, 2021
1 parent 8eff874 commit afcc8cf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zed_nodelets/src/zed_nodelet/src/zed_wrapper_nodelet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,11 @@ void ZEDWrapperNodelet::readParameters()
mZedUserCamModel = sl::MODEL::ZED2;
NODELET_INFO_STREAM(" * Camera Model by param\t-> " << camera_model);
}
else if (camera_model == "zed2i")
{
mZedUserCamModel = sl::MODEL::ZED2i;
NODELET_INFO_STREAM(" * Camera Model by param\t-> " << camera_model);
}
else
{
NODELET_ERROR_STREAM("Camera model not valid: " << camera_model);
Expand Down

0 comments on commit afcc8cf

Please sign in to comment.