Fixed so that when working with ROS the same err.h is included

This commit is contained in:
Roman Bapst
2014-09-25 10:24:04 +02:00
parent 96b22f1ba8
commit af290826d9
3 changed files with 3 additions and 7 deletions
@@ -45,13 +45,11 @@
#include <geo/geo.h>
#include <ecl/ecl.h>
#include <mathlib/mathlib.h>
#include <systemlib/err.h>
#ifdef CONFIG_ARCH_ARM
#include <systemlib/err.h>
#else
#include<ros_error.h>
#include <cmath>
//#define isfinite std::isfinite
using namespace std;
#endif
@@ -45,11 +45,10 @@
#include <geo/geo.h>
#include <ecl/ecl.h>
#include <mathlib/mathlib.h>
#include <systemlib/err.h>
#ifdef CONFIG_ARCH_ARM
#include <systemlib/err.h>
#else
#include<ros_error.h>
#include <cmath>
using namespace std;
#endif
@@ -44,11 +44,10 @@
#include <geo/geo.h>
#include <ecl/ecl.h>
#include <mathlib/mathlib.h>
#include <systemlib/err.h>
#ifdef CONFIG_ARCH_ARM
#include <systemlib/err.h>
#else
#include<ros_error.h>
#include <cmath>
using namespace std;
#endif