CARLA
Loading...
Searching...
No Matches
LibCarla
source
carla
ros2
publishers
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
9
#include "
carla/ros2/publishers/CarlaRGBCameraPublisher.h
"
10
11
namespace
carla
{
12
namespace
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.
20
using
CarlaDepthCameraPublisher
=
CarlaRGBCameraPublisher
;
21
22
}
// namespace ros2
23
}
// namespace carla
CarlaRGBCameraPublisher.h
carla::ros2::CarlaRGBCameraPublisher
Definition
CarlaRGBCameraPublisher.h:17
carla
This file contains definitions of common data structures used in traffic manager.
Definition
SignComponent.h:21
Generated by
1.9.8