flightgoggles_ros_bridge/src/ROSClient/ROSClient.cpp
/**
 * @brief ROSClient::performCameraTest tests the camera model and distortion.
 *
 * @note This function is private only!!
 */
@brief ROSClient::performCameraTest tests the camera model and distortion.
@note This function is private only
@brief ROSClient :: performCameraTest tests the camera model and distortion . @note This function is private only
void ROSClient::performCameraTest()
{
  int camWidth = 1024;
  int camHeight = 768;
  float camFOV = 70.0f;
  float fx = 0.644717*camWidth;
  float fy = 0.966123*camHeight;
  float cx = 0.5 * camWidth;
  float cy = 0.5 * camHeight;
  float s = 0.872665;
  ROS_INFO("updating camera model");
  camera_model_.setCameraParameters(
        camWidth,
        camHeight,
        fx, fy, cx, cy, s);
  camera_model_.performTest("/home/martin/ros-workspaces/aaucns_workspaces/aaucns_flightgoogles_cws/src/flightgoggles/flightgoggles_ros_bridge/src/CameraModel/test", "image.png");
}
void ROSClient :: performCameraTest ( ) { int camWidth = 1024 ; int camHeight = 768 ; float camFOV = 70.0f ; float fx = 0.644717 * camWidth ; float fy = 0.966123 * camHeight ; float cx = 0.5 * camWidth ; float cy = 0.5 * camHeight ; float s = 0.872665 ; ROS_INFO ( " " ) ; camera_model_ . setCameraParameters ( camWidth , camHeight , fx , fy , cx , cy , s ) ; camera_model_ . performTest ( " " , " " ) ; }
@brief ROSClient::performCameraTest tests the camera model and distortion.
@brief ROSClient :: performCameraTest tests the camera model and distortion .
//  int camWidth = 8; //  int camHeight = 6; //  int camWidth = 640; //  int camHeight = 480; //  float s = 1.5; //  float s = 0.0;