2024-02-29 00:39:18 -04:00
|
|
|
#include "AP_CustomRotations_config.h"
|
|
|
|
|
|
|
|
#if AP_CUSTOMROTATIONS_ENABLED
|
2021-11-12 17:33:18 -04:00
|
|
|
|
2024-02-29 00:39:18 -04:00
|
|
|
#include "AP_CustomRotations.h"
|
2021-11-12 17:33:18 -04:00
|
|
|
|
|
|
|
const AP_Param::GroupInfo AP_CustomRotation_params::var_info[] = {
|
|
|
|
|
|
|
|
// @Param: ROLL
|
|
|
|
// @DisplayName: Custom roll
|
|
|
|
// @Description: Custom euler roll, euler 321 (yaw, pitch, roll) ordering
|
|
|
|
// @Units: deg
|
|
|
|
// @RebootRequired: True
|
|
|
|
AP_GROUPINFO("ROLL", 1, AP_CustomRotation_params, roll, 0),
|
|
|
|
|
|
|
|
// @Param: PITCH
|
|
|
|
// @DisplayName: Custom pitch
|
|
|
|
// @Description: Custom euler pitch, euler 321 (yaw, pitch, roll) ordering
|
|
|
|
// @Units: deg
|
|
|
|
// @RebootRequired: True
|
|
|
|
AP_GROUPINFO("PITCH", 2, AP_CustomRotation_params, pitch, 0),
|
|
|
|
|
|
|
|
// @Param: YAW
|
|
|
|
// @DisplayName: Custom yaw
|
|
|
|
// @Description: Custom euler yaw, euler 321 (yaw, pitch, roll) ordering
|
|
|
|
// @Units: deg
|
|
|
|
// @RebootRequired: True
|
|
|
|
AP_GROUPINFO("YAW", 3, AP_CustomRotation_params, yaw, 0),
|
|
|
|
|
|
|
|
AP_GROUPEND
|
|
|
|
};
|
|
|
|
|
|
|
|
AP_CustomRotation_params::AP_CustomRotation_params() {
|
|
|
|
AP_Param::setup_object_defaults(this, var_info);
|
|
|
|
}
|
|
|
|
|
2024-02-29 00:39:18 -04:00
|
|
|
#endif // AP_CUSTOMROTATIONS_ENABLED
|