fix(complie): depend error

This commit is contained in:
TinyOh 2019-01-29 11:39:22 +08:00
parent 3549e8b958
commit 4c51ef2f30
2 changed files with 1 additions and 5 deletions

View File

@ -22,7 +22,7 @@
#include <opencv2/core/eigen.hpp> #include <opencv2/core/eigen.hpp>
#include <opencv2/imgproc/imgproc.hpp> #include <opencv2/imgproc/imgproc.hpp>
#include "camodocal/gpl/gpl.h" #include "camodocal/gpl/gpl.h"
#include "mynteye/logger.h" // #include "mynteye/logger.h"
namespace camodocal { namespace camodocal {
#define PI M_PI #define PI M_PI
@ -508,7 +508,6 @@ void EquidistantCamera::setParameters(
void EquidistantCamera::readParameters( void EquidistantCamera::readParameters(
const std::vector<double> &parameterVec) { const std::vector<double> &parameterVec) {
if (parameterVec.size() != static_cast<unsigned int>(parameterCount())) { if (parameterVec.size() != static_cast<unsigned int>(parameterCount())) {
MYNTEYE_UNUSED(parameterVec);
return; return;
} }

View File

@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include "camodocal/gpl/gpl.h" #include "camodocal/gpl/gpl.h"
#include "mynteye/logger.h"
#include <set> #include <set>
#ifdef _WIN32 #ifdef _WIN32
@ -686,12 +685,10 @@ void UTMtoLL(
double N1, T1, C1, R1, D, M; double N1, T1, C1, R1, D, M;
double LongOrigin; double LongOrigin;
double mu, phi1, phi1Rad; double mu, phi1, phi1Rad;
MYNTEYE_UNUSED(phi1);
double x, y; double x, y;
int ZoneNumber; int ZoneNumber;
char ZoneLetter; char ZoneLetter;
bool NorthernHemisphere; bool NorthernHemisphere;
MYNTEYE_UNUSED(NorthernHemisphere);
x = utmEasting - 500000.0; // remove 500,000 meter offset for longitude x = utmEasting - 500000.0; // remove 500,000 meter offset for longitude
y = utmNorthing; y = utmNorthing;