CARLA
Loading...
Searching...
No Matches
CarlaDepthCameraPublisher.h
Go to the documentation of this file.
1// Copyright (c) 2026 Computer Vision Center (CVC) at the Universitat Autonoma
2// de Barcelona (UAB).
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#pragma once
8
10
11namespace carla {
12namespace ros2 {
13
14// Depth, SS, IS, Normals and the base RGB camera share the same on-the-wire
15// shape: 4-channel BGRA uint8 packed by ImageSerializer on the UE side. The
16// pixel content differs (depth packed as 24-bit + alpha, semantic labels in
17// the red channel, instance ids encoded across BGR, world-space normals in
18// BGR), but the ROS 2 sensor_msgs/Image fields (encoding, step, channels)
19// are identical, so they alias the same publisher.
21
22} // namespace ros2
23} // namespace carla
This file contains definitions of common data structures used in traffic manager.