mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 12:31:35 +08:00
Enable arbitrary euler angle for Mag rotation CAL_MAGx_{ROLL,PITCH,YAW}
- Enable arbitrary euler angle for Mag rotation - new CUSTOM rotation enum out of the normal enum range - mag_rot: automatically change to custom if euler rot is set - sensor_calibration: Magnetometer save custom rotation parameters - mag_cal: cross mention rotation parameters - This allows the user to see the RPY options when searching for the rotation parameter --------- Co-authored-by: Junwoo Hwang <junwoo@auterion.com> Co-authored-by: bresch <[brescianimathieu@gmail.com](mailto:brescianimathieu@gmail.com)> Co-authored-by: Daniel Agar <daniel@agar.ca>
This commit is contained in:
co-authored by
Junwoo Hwang
bresch
Daniel Agar
parent
9551c1b614
commit
6a58f6c7dc
@@ -91,8 +91,10 @@ enum Rotation : uint8_t {
|
||||
ROTATION_ROLL_90_PITCH_68_YAW_293 = 38,
|
||||
ROTATION_PITCH_315 = 39,
|
||||
ROTATION_ROLL_90_PITCH_315 = 40,
|
||||
ROTATION_MAX,
|
||||
|
||||
ROTATION_MAX
|
||||
// Rotation Enum reserved for custom rotation using Euler Angles
|
||||
ROTATION_CUSTOM = 100
|
||||
};
|
||||
|
||||
struct rot_lookup_t {
|
||||
|
||||
Reference in New Issue
Block a user