Skip to content

Commit 7bdd944

Browse files
committed
Fix ZP build errors
1 parent f50aefe commit 7bdd944

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Config_Models/config_foundation.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ namespace config
6666
} ControlPID_t;
6767

6868
typedef struct {
69-
percentage_t min = 0.0f;
69+
percentage_t min = -100.0f;
7070
percentage_t max = 100.0f;
7171
} AxisLimits_t;
7272

Config_Models/example_model/config.hpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ namespace config
8181
}
8282
}
8383
},
84-
.flightmodeConstructor = constructObject<AM::Flightmode, ManualFlightmode>
84+
.flightmodeConstructor = constructObject<AM::Flightmode, AM::Manual>
8585
},
8686
{ //Flightmode2
8787
.tuningData{
@@ -101,24 +101,24 @@ namespace config
101101
},
102102
.controlLimits = {
103103
.yawLimit = {
104-
.min = 5.0f,
104+
.min = -95.0f,
105105
.max = 95.0f
106106
},
107-
.rollLimit = {
108-
.min = 0.0f,
109-
.max = 100.0f
110-
},
111107
.pitchLimit = {
112108
.min = -30.0f,
113109
.max = 30.0f
114110
},
111+
.rollLimit = {
112+
.min = -100.0f,
113+
.max = 100.0f
114+
},
115115
.throttleLimit = {
116116
.min = 0.0f,
117117
.max = 100.0f
118118
}
119119
}
120120
},
121-
.flightmodeConstructor = constructObject<AM::Flightmode, FBWA>
121+
.flightmodeConstructor = constructObject<AM::Flightmode, AM::FBWA>
122122
}
123123
};
124124

0 commit comments

Comments
 (0)