CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/libraries/AP_CustomRotations/AP_CustomRotations_params.cpp
Views: 1798
1
#include "AP_CustomRotations_config.h"
2
3
#if AP_CUSTOMROTATIONS_ENABLED
4
5
#include "AP_CustomRotations.h"
6
7
const AP_Param::GroupInfo AP_CustomRotation_params::var_info[] = {
8
9
// @Param: ROLL
10
// @DisplayName: Custom roll
11
// @Description: Custom euler roll, euler 321 (yaw, pitch, roll) ordering
12
// @Units: deg
13
// @RebootRequired: True
14
AP_GROUPINFO("ROLL", 1, AP_CustomRotation_params, roll, 0),
15
16
// @Param: PITCH
17
// @DisplayName: Custom pitch
18
// @Description: Custom euler pitch, euler 321 (yaw, pitch, roll) ordering
19
// @Units: deg
20
// @RebootRequired: True
21
AP_GROUPINFO("PITCH", 2, AP_CustomRotation_params, pitch, 0),
22
23
// @Param: YAW
24
// @DisplayName: Custom yaw
25
// @Description: Custom euler yaw, euler 321 (yaw, pitch, roll) ordering
26
// @Units: deg
27
// @RebootRequired: True
28
AP_GROUPINFO("YAW", 3, AP_CustomRotation_params, yaw, 0),
29
30
AP_GROUPEND
31
};
32
33
AP_CustomRotation_params::AP_CustomRotation_params() {
34
AP_Param::setup_object_defaults(this, var_info);
35
}
36
37
#endif // AP_CUSTOMROTATIONS_ENABLED
38
39