Skip to content

Commit fdc8bf9

Browse files
author
Bernd Gassmann
committed
Added CarlaV2XDataList type
1 parent 117bcb7 commit fdc8bf9

5 files changed

Lines changed: 60 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ set(MSG_FILES
4242
CarlaV2XCustomData.msg
4343
CarlaV2XCustomDataList.msg
4444
CarlaV2XCustomMessage.msg
45+
CarlaV2XData.msg
46+
CarlaV2XDataList.msg
4547
CarlaWalkerControl.msg
4648
CarlaWeatherParameters.msg
4749
CarlaWorldInfo.msg

msg/CarlaV2XData.idl

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// generated from rosidl_adapter/resource/msg.idl.em
2+
// with input from carla_msgs/msg/CarlaV2XData.msg
3+
// generated code does not contain a copyright notice
4+
#pragma once
5+
6+
#include "etsi_its_cam_msgs/msg/CAM.idl"
7+
8+
module carla_msgs {
9+
module msg {
10+
@verbatim (language="comment", text=
11+
"Copyright (c) 2024 Intel Corporation." "\n"
12+
"" "\n"
13+
"This work is licensed under the terms of the MIT license." "\n"
14+
"For a copy, see <https://opensource.org/licenses/MIT>.")
15+
struct CarlaV2XData {
16+
float power;
17+
18+
etsi_its_cam_msgs::msg::CAM message;
19+
};
20+
};
21+
};

msg/CarlaV2XData.msg

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#
2+
# Copyright (c) 2024 Intel Corporation.
3+
#
4+
# This work is licensed under the terms of the MIT license.
5+
# For a copy, see <https://opensource.org/licenses/MIT>.
6+
#
7+
8+
float32 power
9+
etsi_its_cam_msgs/CAM message
10+

msg/CarlaV2XDataList.idl

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// generated from rosidl_adapter/resource/msg.idl.em
2+
// with input from carla_msgs/msg/CarlaV2XDataList.msg
3+
// generated code does not contain a copyright notice
4+
#pragma once
5+
6+
#include "carla_msgs/msg/CarlaV2XData.idl"
7+
8+
module carla_msgs {
9+
module msg {
10+
@verbatim (language="comment", text=
11+
"Copyright (c) 2024 Intel Corporation." "\n"
12+
"" "\n"
13+
"This work is licensed under the terms of the MIT license." "\n"
14+
"For a copy, see <https://opensource.org/licenses/MIT>.")
15+
struct CarlaV2XDataList {
16+
sequence<carla_msgs::msg::CarlaV2XData> data;
17+
};
18+
};
19+
};

msg/CarlaV2XDataList.msg

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#
2+
# Copyright (c) 2024 Intel Corporation.
3+
#
4+
# This work is licensed under the terms of the MIT license.
5+
# For a copy, see <https://opensource.org/licenses/MIT>.
6+
#
7+
8+
carla_msgs/CarlaV2XData[] data

0 commit comments

Comments
 (0)