ouster_clib v1.0
C library for Ouster LiDAR
Loading...
Searching...
No Matches
ouster_clib.h
Go to the documentation of this file.
1
8#ifndef OUSTER_CLIB_H
9#define OUSTER_CLIB_H
10
36#if !defined(OUSTER_DEBUG) && !defined(OUSTER_NDEBUG)
37#if defined(NDEBUG)
38#define OUSTER_NDEBUG
39#else
40#define OUSTER_DEBUG
41#endif
42#endif
43
47#ifndef OUSTER_USE_DUMP
48#define OUSTER_USE_DUMP
49#endif
50
54#ifndef OUSTER_USE_UDPCAP
55#define OUSTER_USE_UDPCAP
56#endif
57
61#if defined(OUSTER_ENABLE_LOG) && defined(OUSTER_DISABLE_LOG)
62#error "invalid configuration: cannot both define OUSTER_ENABLE_LOG and OUSTER_DISABLE_LOG"
63#endif
64#ifndef OUSTER_ENABLE_LOG
65#define OUSTER_ENABLE_LOG
66#endif
67#ifdef OUSTER_DISABLE_LOG
68#undef OUSTER_ENABLE_LOG
69#endif
70 // end of options
72 // end of core
74
75#include "ouster_clib/ouster_log.h"
76#include "ouster_clib/ouster_types.h"
77#include "ouster_clib/ouster_os_api.h"
78#include "ouster_clib/ouster_assert.h"
79#include "ouster_clib/ouster_field.h"
80#include "ouster_clib/ouster_fs.h"
81#include "ouster_clib/ouster_lidar.h"
82#include "ouster_clib/ouster_lut.h"
83#include "ouster_clib/ouster_meta.h"
84#include "ouster_clib/ouster_net.h"
85#include "ouster_clib/ouster_sock.h"
86#include "ouster_clib/ouster_vec.h"
87#include "ouster_clib/ouster_http.h"
88
89#ifdef OUSTER_NO_UDPCAP
90#undef OUSTER_USE_UDPCAP
91#endif
92
93#ifdef OUSTER_NO_DUMP
94#undef OUSTER_USE_DUMP
95#endif
96
97
98#ifdef OUSTER_USE_UDPCAP
99#include "ouster_clib/ouster_udpcap.h"
100#endif
101
102#ifdef OUSTER_USE_DUMP
103#include "ouster_clib/ouster_dump.h"
104#endif
105
106#endif // OUSTER_CLIB_H