-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrudder-target.h
30 lines (26 loc) · 1.16 KB
/
rudder-target.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/************************************************************************/
/* */
/* P R O J E K T A V A L O N */
/* */
/* */
/* rudder-target.h Where the rudder shall be driven to */
/* */
/* Author Stefan Wismer */
/* [email protected] */
/* */
/************************************************************************/
#ifndef RUDDER_TARGET_H
#define RUDDER_TARGET_H
#include <DDXStore.h>
#include <DDXVariable.h>
DDX_STORE_TYPE(rudderTarget,
struct
{
double torque_des;
double degrees_left; // Where to put the port rudder
double degrees_right; // Where to put the starboard rudder
int resetleft_request; // 1 if a reset of the port rudder was requested
int resetright_request; // 1 if a reset of the starboard rudder was requested
}
);
#endif // RUDDER_TARGET_H