Skip to content

Commit

Permalink
Added CarlaV2XDataList type
Browse files Browse the repository at this point in the history
  • Loading branch information
berndgassmann committed Oct 25, 2024
1 parent 117bcb7 commit fdc8bf9
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ set(MSG_FILES
CarlaV2XCustomData.msg
CarlaV2XCustomDataList.msg
CarlaV2XCustomMessage.msg
CarlaV2XData.msg
CarlaV2XDataList.msg
CarlaWalkerControl.msg
CarlaWeatherParameters.msg
CarlaWorldInfo.msg
Expand Down
21 changes: 21 additions & 0 deletions msg/CarlaV2XData.idl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// generated from rosidl_adapter/resource/msg.idl.em
// with input from carla_msgs/msg/CarlaV2XData.msg
// generated code does not contain a copyright notice
#pragma once

#include "etsi_its_cam_msgs/msg/CAM.idl"

module carla_msgs {
module msg {
@verbatim (language="comment", text=
"Copyright (c) 2024 Intel Corporation." "\n"
"" "\n"
"This work is licensed under the terms of the MIT license." "\n"
"For a copy, see <https://opensource.org/licenses/MIT>.")
struct CarlaV2XData {
float power;

etsi_its_cam_msgs::msg::CAM message;
};
};
};
10 changes: 10 additions & 0 deletions msg/CarlaV2XData.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# Copyright (c) 2024 Intel Corporation.
#
# This work is licensed under the terms of the MIT license.
# For a copy, see <https://opensource.org/licenses/MIT>.
#

float32 power
etsi_its_cam_msgs/CAM message

19 changes: 19 additions & 0 deletions msg/CarlaV2XDataList.idl
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// generated from rosidl_adapter/resource/msg.idl.em
// with input from carla_msgs/msg/CarlaV2XDataList.msg
// generated code does not contain a copyright notice
#pragma once

#include "carla_msgs/msg/CarlaV2XData.idl"

module carla_msgs {
module msg {
@verbatim (language="comment", text=
"Copyright (c) 2024 Intel Corporation." "\n"
"" "\n"
"This work is licensed under the terms of the MIT license." "\n"
"For a copy, see <https://opensource.org/licenses/MIT>.")
struct CarlaV2XDataList {
sequence<carla_msgs::msg::CarlaV2XData> data;
};
};
};
8 changes: 8 additions & 0 deletions msg/CarlaV2XDataList.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#
# Copyright (c) 2024 Intel Corporation.
#
# This work is licensed under the terms of the MIT license.
# For a copy, see <https://opensource.org/licenses/MIT>.
#

carla_msgs/CarlaV2XData[] data

0 comments on commit fdc8bf9

Please sign in to comment.