CARLA
Loading...
Searching...
No Matches
CameraInfo.h
Go to the documentation of this file.
1// Copyright (c) 2025 Computer Vision Center (CVC) at the Universitat Autonoma de Barcelona (UAB).
2// This work is licensed under the terms of the MIT license.
3// For a copy, see <https://opensource.org/licenses/MIT>.
4
5#pragma once
6#include <array>
7#include <cstdint>
8#include <string>
9#include <vector>
12
13namespace carla {
14namespace ros2 {
15namespace msg {
16
17struct CameraInfo {
19 uint32_t height = 0;
20 uint32_t width = 0;
21 std::string distortion_model;
22 std::vector<double> d;
23 std::array<double, 9> k = {};
24 std::array<double, 9> r = {};
25 std::array<double, 12> p = {};
26 uint32_t binning_x = 0;
27 uint32_t binning_y = 0;
29};
30
31} // namespace msg
32} // namespace ros2
33} // namespace carla
This file contains definitions of common data structures used in traffic manager.
std::array< double, 12 > p
Definition CameraInfo.h:25
std::vector< double > d
Definition CameraInfo.h:22
std::array< double, 9 > r
Definition CameraInfo.h:24
std::array< double, 9 > k
Definition CameraInfo.h:23