parameters: (self)
return_statement: return
docstring: Estimate the pose of the camera with a PnP solver. Call after initializing the intrinsics
docstring_summary: Estimate the pose of the camera with a PnP solver. Call after initializing the intrinsics
docstring_tokens: Estimate the pose of the camera with a PnP solver . Call after initializing the intrinsics
function: def __generateExtrinsicsInitialGuess(self):
          """Estimate the pose of the camera with a PnP solver. Call after initializing the intrinsics"""
          # estimate and set T_c in the observations
          for idx, observation in enumerate(self.__observations):
              (success, T_t_c) = self.__camera.estimateTransformation(observation)
              if (success):
                  observation.set_T_t_c(T_t_c)
              else:
                  sm.logWarn("Could not estimate T_t_c for observation at index {0}".format(idx))
  
          return
function_tokens: def __generateExtrinsicsInitialGuess ( self ) : # estimate and set T_c in the observations for idx , observation in enumerate ( self . __observations ) : ( success , T_t_c ) = self . __camera . estimateTransformation ( observation ) if ( success ) : observation . set_T_t_c ( T_t_c ) else : sm . logWarn ( "Could not estimate T_t_c for observation at index {0}" . format ( idx ) ) return