|
1 | 1 | // License: Apache 2.0. See LICENSE file in root directory.
|
2 |
| -// Copyright(c) 2023 Intel Corporation. All Rights Reserved. |
| 2 | +// Copyright(c) 2023-5 Intel Corporation. All Rights Reserved. |
3 | 3 |
|
4 | 4 | /*!
|
5 | 5 | * @file Imu.h
|
|
11 | 11 | #ifndef _FAST_DDS_GENERATED_SENSOR_MSGS_MSG_IMU_H_
|
12 | 12 | #define _FAST_DDS_GENERATED_SENSOR_MSGS_MSG_IMU_H_
|
13 | 13 |
|
14 |
| -#include <realdds/topics/ros2/ros2vector3.h> |
15 |
| -#include <realdds/topics/ros2/ros2quaternion.h> |
16 |
| -#include <realdds/topics/ros2/ros2header.h> |
| 14 | +#include "../../geometry_msgs/msg/Vector3.h" |
| 15 | +#include "../../geometry_msgs/msg/Quaternion.h" |
| 16 | +#include "../../std_msgs/msg/Header.h" |
17 | 17 |
|
18 | 18 | #include <fastrtps/utils/fixed_size_string.hpp>
|
19 | 19 |
|
@@ -57,7 +57,7 @@ class Cdr;
|
57 | 57 |
|
58 | 58 | namespace sensor_msgs {
|
59 | 59 | namespace msg {
|
60 |
| - typedef std::array<double, 9> sensor_msgs__Imu__double_array_9; |
| 60 | + typedef std::array<double, 9> double__9; |
61 | 61 | /*!
|
62 | 62 | * @brief This class represents the structure Imu defined by the user in the IDL file.
|
63 | 63 | * @ingroup IMU
|
@@ -173,26 +173,26 @@ namespace sensor_msgs {
|
173 | 173 | * @param _orientation_covariance New value to be copied in member orientation_covariance
|
174 | 174 | */
|
175 | 175 | eProsima_user_DllExport void orientation_covariance(
|
176 |
| - const sensor_msgs::msg::sensor_msgs__Imu__double_array_9& _orientation_covariance); |
| 176 | + const sensor_msgs::msg::double__9& _orientation_covariance); |
177 | 177 |
|
178 | 178 | /*!
|
179 | 179 | * @brief This function moves the value in member orientation_covariance
|
180 | 180 | * @param _orientation_covariance New value to be moved in member orientation_covariance
|
181 | 181 | */
|
182 | 182 | eProsima_user_DllExport void orientation_covariance(
|
183 |
| - sensor_msgs::msg::sensor_msgs__Imu__double_array_9&& _orientation_covariance); |
| 183 | + sensor_msgs::msg::double__9&& _orientation_covariance); |
184 | 184 |
|
185 | 185 | /*!
|
186 | 186 | * @brief This function returns a constant reference to member orientation_covariance
|
187 | 187 | * @return Constant reference to member orientation_covariance
|
188 | 188 | */
|
189 |
| - eProsima_user_DllExport const sensor_msgs::msg::sensor_msgs__Imu__double_array_9& orientation_covariance() const; |
| 189 | + eProsima_user_DllExport const sensor_msgs::msg::double__9& orientation_covariance() const; |
190 | 190 |
|
191 | 191 | /*!
|
192 | 192 | * @brief This function returns a reference to member orientation_covariance
|
193 | 193 | * @return Reference to member orientation_covariance
|
194 | 194 | */
|
195 |
| - eProsima_user_DllExport sensor_msgs::msg::sensor_msgs__Imu__double_array_9& orientation_covariance(); |
| 195 | + eProsima_user_DllExport sensor_msgs::msg::double__9& orientation_covariance(); |
196 | 196 | /*!
|
197 | 197 | * @brief This function copies the value in member angular_velocity
|
198 | 198 | * @param _angular_velocity New value to be copied in member angular_velocity
|
@@ -223,26 +223,26 @@ namespace sensor_msgs {
|
223 | 223 | * @param _angular_velocity_covariance New value to be copied in member angular_velocity_covariance
|
224 | 224 | */
|
225 | 225 | eProsima_user_DllExport void angular_velocity_covariance(
|
226 |
| - const sensor_msgs::msg::sensor_msgs__Imu__double_array_9& _angular_velocity_covariance); |
| 226 | + const sensor_msgs::msg::double__9& _angular_velocity_covariance); |
227 | 227 |
|
228 | 228 | /*!
|
229 | 229 | * @brief This function moves the value in member angular_velocity_covariance
|
230 | 230 | * @param _angular_velocity_covariance New value to be moved in member angular_velocity_covariance
|
231 | 231 | */
|
232 | 232 | eProsima_user_DllExport void angular_velocity_covariance(
|
233 |
| - sensor_msgs::msg::sensor_msgs__Imu__double_array_9&& _angular_velocity_covariance); |
| 233 | + sensor_msgs::msg::double__9&& _angular_velocity_covariance); |
234 | 234 |
|
235 | 235 | /*!
|
236 | 236 | * @brief This function returns a constant reference to member angular_velocity_covariance
|
237 | 237 | * @return Constant reference to member angular_velocity_covariance
|
238 | 238 | */
|
239 |
| - eProsima_user_DllExport const sensor_msgs::msg::sensor_msgs__Imu__double_array_9& angular_velocity_covariance() const; |
| 239 | + eProsima_user_DllExport const sensor_msgs::msg::double__9& angular_velocity_covariance() const; |
240 | 240 |
|
241 | 241 | /*!
|
242 | 242 | * @brief This function returns a reference to member angular_velocity_covariance
|
243 | 243 | * @return Reference to member angular_velocity_covariance
|
244 | 244 | */
|
245 |
| - eProsima_user_DllExport sensor_msgs::msg::sensor_msgs__Imu__double_array_9& angular_velocity_covariance(); |
| 245 | + eProsima_user_DllExport sensor_msgs::msg::double__9& angular_velocity_covariance(); |
246 | 246 | /*!
|
247 | 247 | * @brief This function copies the value in member linear_acceleration
|
248 | 248 | * @param _linear_acceleration New value to be copied in member linear_acceleration
|
@@ -273,26 +273,26 @@ namespace sensor_msgs {
|
273 | 273 | * @param _linear_acceleration_covariance New value to be copied in member linear_acceleration_covariance
|
274 | 274 | */
|
275 | 275 | eProsima_user_DllExport void linear_acceleration_covariance(
|
276 |
| - const sensor_msgs::msg::sensor_msgs__Imu__double_array_9& _linear_acceleration_covariance); |
| 276 | + const sensor_msgs::msg::double__9& _linear_acceleration_covariance); |
277 | 277 |
|
278 | 278 | /*!
|
279 | 279 | * @brief This function moves the value in member linear_acceleration_covariance
|
280 | 280 | * @param _linear_acceleration_covariance New value to be moved in member linear_acceleration_covariance
|
281 | 281 | */
|
282 | 282 | eProsima_user_DllExport void linear_acceleration_covariance(
|
283 |
| - sensor_msgs::msg::sensor_msgs__Imu__double_array_9&& _linear_acceleration_covariance); |
| 283 | + sensor_msgs::msg::double__9&& _linear_acceleration_covariance); |
284 | 284 |
|
285 | 285 | /*!
|
286 | 286 | * @brief This function returns a constant reference to member linear_acceleration_covariance
|
287 | 287 | * @return Constant reference to member linear_acceleration_covariance
|
288 | 288 | */
|
289 |
| - eProsima_user_DllExport const sensor_msgs::msg::sensor_msgs__Imu__double_array_9& linear_acceleration_covariance() const; |
| 289 | + eProsima_user_DllExport const sensor_msgs::msg::double__9& linear_acceleration_covariance() const; |
290 | 290 |
|
291 | 291 | /*!
|
292 | 292 | * @brief This function returns a reference to member linear_acceleration_covariance
|
293 | 293 | * @return Reference to member linear_acceleration_covariance
|
294 | 294 | */
|
295 |
| - eProsima_user_DllExport sensor_msgs::msg::sensor_msgs__Imu__double_array_9& linear_acceleration_covariance(); |
| 295 | + eProsima_user_DllExport sensor_msgs::msg::double__9& linear_acceleration_covariance(); |
296 | 296 |
|
297 | 297 | /*!
|
298 | 298 | * @brief This function returns the maximum serialized size of an object
|
@@ -355,11 +355,11 @@ namespace sensor_msgs {
|
355 | 355 |
|
356 | 356 | std_msgs::msg::Header m_header;
|
357 | 357 | geometry_msgs::msg::Quaternion m_orientation;
|
358 |
| - sensor_msgs::msg::sensor_msgs__Imu__double_array_9 m_orientation_covariance; |
| 358 | + sensor_msgs::msg::double__9 m_orientation_covariance; |
359 | 359 | geometry_msgs::msg::Vector3 m_angular_velocity;
|
360 |
| - sensor_msgs::msg::sensor_msgs__Imu__double_array_9 m_angular_velocity_covariance; |
| 360 | + sensor_msgs::msg::double__9 m_angular_velocity_covariance; |
361 | 361 | geometry_msgs::msg::Vector3 m_linear_acceleration;
|
362 |
| - sensor_msgs::msg::sensor_msgs__Imu__double_array_9 m_linear_acceleration_covariance; |
| 362 | + sensor_msgs::msg::double__9 m_linear_acceleration_covariance; |
363 | 363 | };
|
364 | 364 | } // namespace msg
|
365 | 365 | } // namespace sensor_msgs
|
|
0 commit comments