Skip to content

Commit 9d25615

Browse files
committed
Make xyz_control self sufficient
1 parent ddabc43 commit 9d25615

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/xyz_control.h

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
#pragma once
22

3-
#include "xyz.h"
3+
#include <inttypes.h>
4+
5+
// Float Precision
6+
#ifndef real_t
7+
typedef double real_t;
8+
#endif
9+
10+
// Timestamp Type
11+
#ifndef timestamp_t
12+
typedef int64_t timestamp_t;
13+
#endif
414

515
typedef struct pid_ctrl_t {
616
real_t error_prev;

0 commit comments

Comments
 (0)