@@ -57,13 +57,13 @@ enum BaudRate
57
57
*/
58
58
struct Point
59
59
{
60
- int16_t x;
61
- int16_t y;
60
+ int16_t x = 0 ;
61
+ int16_t y = 0 ;
62
62
/* *
63
63
* @brief Construct a new Point object
64
64
*
65
65
*/
66
- Point () : x( 0 ), y( 0 ) {}
66
+ Point () {}
67
67
/* *
68
68
* @brief Construct a new Point object
69
69
* @param _x int16_t
@@ -79,13 +79,13 @@ struct Point
79
79
*/
80
80
struct PointF
81
81
{
82
- float x;
83
- float y;
82
+ float x = 0 ;
83
+ float y = 0 ;
84
84
/* *
85
85
* @brief Construct a new Point F object
86
86
*
87
87
*/
88
- PointF () : x( 0 ), y( 0 ) {}
88
+ PointF () {}
89
89
/* *
90
90
* @brief Construct a new Point F object
91
91
*
@@ -103,13 +103,13 @@ struct PointF
103
103
*/
104
104
struct Pose
105
105
{
106
- int16_t x;
107
- int16_t y;
108
- int32_t h;
106
+ int16_t x = 0 ;
107
+ int16_t y = 0 ;
108
+ int32_t h = 0 ;
109
109
/* *
110
110
* @brief Construct a new Pose object
111
111
*/
112
- Pose () : x( 0 ), y( 0 ), h( 0 ) {}
112
+ Pose () {}
113
113
/* *
114
114
* @brief Construct a new Pose object
115
115
*
@@ -128,13 +128,13 @@ struct Pose
128
128
*/
129
129
struct PoseF
130
130
{
131
- float x;
132
- float y;
133
- float h;
131
+ float x = 0 ;
132
+ float y = 0 ;
133
+ float h = 0 ;
134
134
/* *
135
135
* @brief Construct a new PoseF object
136
136
*/
137
- PoseF () : x( 0 ), y( 0 ), h( 0 ) {}
137
+ PoseF () {}
138
138
/* *
139
139
* @brief Construct a new PoseF object
140
140
*
@@ -153,13 +153,13 @@ struct PoseF
153
153
*/
154
154
struct Point3D
155
155
{
156
- int16_t x;
157
- int16_t y;
158
- int16_t z;
156
+ int16_t x = 0 ;
157
+ int16_t y = 0 ;
158
+ int16_t z = 0 ;
159
159
/* *
160
160
* @brief Construct a new Point3D object
161
161
*/
162
- Point3D () : x( 0 ), y( 0 ), z( 0 ) {}
162
+ Point3D () {}
163
163
/* *
164
164
* @brief Construct a new Point3D object
165
165
*
@@ -178,13 +178,13 @@ struct Point3D
178
178
*/
179
179
struct PointF3D
180
180
{
181
- float x;
182
- float y;
183
- float z;
181
+ float x = 0 ;
182
+ float y = 0 ;
183
+ float z = 0 ;
184
184
/* *
185
185
* @brief Construct a new Point3D object
186
186
*/
187
- PointF3D () : x( 0 ), y( 0 ), z( 0 ) {}
187
+ PointF3D () {}
188
188
/* *
189
189
* @brief Construct a new Point3D object
190
190
*
@@ -204,14 +204,14 @@ struct PointF3D
204
204
*/
205
205
struct Point4D
206
206
{
207
- int16_t x;
208
- int16_t y;
209
- int16_t z;
210
- int16_t w;
207
+ int16_t x = 0 ;
208
+ int16_t y = 0 ;
209
+ int16_t z = 0 ;
210
+ int16_t w = 0 ;
211
211
/* *
212
212
* @brief Construct a new Point4D object
213
213
*/
214
- Point4D () : x( 0 ), y( 0 ), z( 0 ), w( 0 ) {}
214
+ Point4D () {}
215
215
/* *
216
216
* @brief Construct a new Point4D object
217
217
*
@@ -232,14 +232,14 @@ struct Point4D
232
232
*/
233
233
struct PointF4D
234
234
{
235
- float x;
236
- float y;
237
- float z;
238
- float w;
235
+ float x = 0 ;
236
+ float y = 0 ;
237
+ float z = 0 ;
238
+ float w = 0 ;
239
239
/* *
240
240
* @brief Construct a new Point4D object
241
241
*/
242
- PointF4D () : x( 0 ), y( 0 ), z( 0 ), w( 0 ) {}
242
+ PointF4D (){}
243
243
/* *
244
244
* @brief Construct a new Point4D object
245
245
*
@@ -263,15 +263,15 @@ struct PointF4D
263
263
*/
264
264
struct PolarPoint
265
265
{
266
- float angle;
267
- int16_t distance;
268
- uint16_t confidence;
269
- float x;
270
- float y;
266
+ float angle = 0 ;
267
+ int16_t distance = 0 ;
268
+ uint16_t confidence = 0 ;
269
+ float x = 0 ;
270
+ float y = 0 ;
271
271
/* *
272
272
* @brief Construct a new Polar Point object
273
273
*/
274
- PolarPoint () : angle( 0 ), distance( 0 ), confidence( 0 ), x( 0 ), y( 0 ) {}
274
+ PolarPoint () {}
275
275
/* *
276
276
*
277
277
* @brief Construct a new Polar Point object
0 commit comments