[openrtm-commit:01385] r140 - branches/newCMakeForVC2010/ImageProcessing/opencv/components/PGRCamera/src
openrtm @ openrtm.org
openrtm @ openrtm.org
2014年 3月 19日 (水) 16:21:46 JST
Author: kawauchi
Date: 2014-03-19 16:21:46 +0900 (Wed, 19 Mar 2014)
New Revision: 140
Modified:
branches/newCMakeForVC2010/ImageProcessing/opencv/components/PGRCamera/src/PGRCamera.cpp
Log:
PGRCamera : Changed message to English. (with utf-8) refs #2704
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/PGRCamera/src/PGRCamera.cpp
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/PGRCamera/src/PGRCamera.cpp 2014-03-19 07:11:27 UTC (rev 139)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/PGRCamera/src/PGRCamera.cpp 2014-03-19 07:21:46 UTC (rev 140)
@@ -116,28 +116,28 @@
/* IndexからIDを取得する */
error = busMgr.GetCameraFromIndex(m_index, &guid);
if ( error != PGRERROR_OK ){
- cout << "カメラがありません。" << endl;
+ cout << "No Camera Device" << endl;
return RTC::RTC_ERROR;
}
/* IDからConnectする */
error = m_camera->Connect(&guid);
if ( error != PGRERROR_OK ){
- cout << "Connection 失敗。" << endl;
+ cout << "Connection failed" << endl;
return RTC::RTC_ERROR;
}
/* カメラ情報を取得する */
error = m_camera->GetCameraInfo(&m_camInfo);
if ( error != PGRERROR_OK ){
- cout << "情報取得 失敗" << endl;
+ cout << "GetCameraInfo failed" << endl;
return RTC::RTC_ERROR;
}
/* 映像のCaptureを始める */
error = m_camera->StartCapture();
if ( error != PGRERROR_OK ){
- cout << "Capture 失敗" << endl;
+ cout << "Capture failed" << endl;
return RTC::RTC_ERROR;
}
@@ -183,7 +183,7 @@
error = m_camera->RetrieveBuffer( &rawImage );
if (error != PGRERROR_OK)
{
- cout << "映像のRawImageの領域のRetrieveができません" << endl;
+ cout << "RawImage RetrieveBuffer error" << endl;
return RTC::RTC_ERROR;
}
@@ -191,7 +191,7 @@
error = rawImage.Convert( PIXEL_FORMAT_RGB8, &convertedImage );
if (error != PGRERROR_OK)
{
- cout << "RGBFormatとして変換できません" << endl;
+ cout << "RawImage Convert error" << endl;
return RTC::RTC_ERROR;
}
More information about the openrtm-commit
mailing list