Last active
August 11, 2016 14:53
-
-
Save stfuchs/fcfadc956eb51aa2fdfb47d9d9bf0040 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <camera_info_manager/camera_info_manager.h> | |
ros::NodeHandle nh("~"); | |
camera_info_manager::CameraInfoManager mgr(nh); | |
mgr.setCameraName("camera"); | |
mgr.loadCameraInfo("file://my/camera_info.yaml"); | |
sensor_msgs::CameraInfo info = mgr.getCameraInfo(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment