Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed Aug 6, 2017
1 parent 09b0a2a commit 82f4100
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions libs/hwdrivers/src/CCameraSensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,10 @@ void CCameraSensor::initialize()
m_cap_flycap_stereo_l = new CImageGrabber_FlyCapture2();
m_cap_flycap_stereo_r = new CImageGrabber_FlyCapture2();

cout << "[CCameraSensor::initialize] PGR FlyCapture2 stereo camera: Openning LEFT camera...\n";
cout << "[CCameraSensor::initialize] PGR FlyCapture2 stereo camera: Opening LEFT camera...\n";
m_cap_flycap_stereo_l->open(m_flycap_stereo_options[0], false /* don't start grabbing */ );

cout << "[CCameraSensor::initialize] PGR FlyCapture2 stereo camera: Openning RIGHT camera...\n";
cout << "[CCameraSensor::initialize] PGR FlyCapture2 stereo camera: Opening RIGHT camera...\n";
m_cap_flycap_stereo_r->open(m_flycap_stereo_options[1], false /* don't start grabbing */ );

// Now, start grabbing "simultaneously":
Expand Down Expand Up @@ -321,7 +321,7 @@ void CCameraSensor::initialize()
// Open it:
try
{
m_cap_duo3d = new CDUO3DCamera( m_duo3d_options );
m_cap_duo3d = new CDUO3DCamera( m_duo3d_options );
} catch (std::exception &e)
{
m_state = CGenericSensor::ssError;
Expand Down Expand Up @@ -734,7 +734,7 @@ void CCameraSensor::getNextFrame( vector<CSerializablePtr> & out_obs )
m_state = CGenericSensor::ssError;
THROW_EXCEPTION("Error reading images from directory");
}
std::string auxR = format( "%s/%s", m_img_dir_url.c_str(), m_img_dir_right_format.c_str() );
std::string auxR = format( "%s/%s", m_img_dir_url.c_str(), m_img_dir_right_format.c_str() );
if( !stObs->imageRight.loadFromFile( format(auxR.c_str(), m_img_dir_counter++)) )
{
m_state = CGenericSensor::ssError;
Expand Down Expand Up @@ -1111,15 +1111,15 @@ void CCameraSensor::getNextFrame( vector<CSerializablePtr> & out_obs )

if (delayed_insertion_in_obs_queue)
{
if( m_cap_duo3d && m_cap_duo3d->captureIMUIsSet() && obsIMU )
if( m_cap_duo3d && m_cap_duo3d->captureIMUIsSet() && obsIMU )
out_obs.push_back( CObservationPtr(obsIMU) );
}
else
{
if( stObs ) out_obs.push_back( CObservationPtr(stObs) );
if( obs ) out_obs.push_back( CObservationPtr(obs) );
if( obs3D ) out_obs.push_back( CObservationPtr(obs3D) );
}
}
return;
}

Expand Down

0 comments on commit 82f4100

Please sign in to comment.