Skip to content

Commit

Permalink
last try
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-lidar committed Aug 1, 2024
1 parent 9860d84 commit 14098b2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
7 changes: 5 additions & 2 deletions ouster_client/src/lidar_scan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@

#include <Eigen/Core>
#include <algorithm>
#define _USE_MATH_DEFINES
#include <math.h>
#include <cmath>
#include <cstddef>
#include <cstring>
#include <type_traits>
Expand All @@ -19,6 +18,10 @@
#include "ouster/strings.h"
#include "ouster/types.h"

#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif

using namespace ouster::strings;

namespace ouster {
Expand Down
7 changes: 5 additions & 2 deletions ouster_viz/src/camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@
#include <Eigen/Geometry>
#include <algorithm>
#include <chrono>
#define _USE_MATH_DEFINES
#include <math.h>
#include <cmath>
#include <cstdint>

#include "ouster/point_viz.h"

#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif

namespace ouster {
namespace viz {

Expand Down
7 changes: 5 additions & 2 deletions ouster_viz/src/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
#include <Eigen/Core>
#include <Eigen/Geometry>
#include <cassert>
#define _USE_MATH_DEFINES
#include <math.h>
#include <cmath>
#include <stdexcept>
#include <string>
#include <vector>
Expand All @@ -19,6 +18,10 @@
#include "glfw.h"
#include "ouster/point_viz.h"

#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif

namespace ouster {
namespace viz {
namespace impl {
Expand Down

0 comments on commit 14098b2

Please sign in to comment.