Main Page
+
Classes
Class List
+
Class Members
+
All
a
c
e
f
h
i
m
n
o
p
s
t
u
v
w
y
~
Functions
+
Variables
a
c
e
f
h
i
m
n
t
v
w
y
+
Files
File List
+
File Members
All
Functions
Macros
include
heron_controller
heron_constants.h
Go to the documentation of this file.
1
26
#ifndef HERON_CONSTANTS_H
27
28
//TODO: Change defines to static const and enums
29
//Boat Constants
30
#define BOAT_WIDTH 0.7366 //m, ~15inches
31
#define MAX_FWD_THRUST 45.0 //Newtons
32
#define MAX_BCK_THRUST 25.0 //Newtons
33
#define MAX_FWD_VEL 2 //m/s
34
#define MAX_BCK_VEL 0.5 //m/s
35
#define MAX_OUTPUT 1
36
#define MAX_YAW_RATE 0.5 //rad/s
37
38
//Control Modes
39
#define NO_CONTROL 0
40
#define WRENCH_CONTROL 1
41
#define HELM_CONTROL 2
42
#define COURSE_CONTROL 3
43
#define TWIST_CONTROL 4
44
#define TWIST_LIN_CONTROL 5
45
46
#define PI 3.14159
47
48
#endif
heron_controller
Author(s): Prasenjit Mukherjee
autogenerated on Mon Feb 28 2022 22:30:11