CARLA
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
mirrorPackets.h File Reference
#include "carla/multigpu/frameDataCodec.h"
#include <algorithm>
#include <array>
#include <cstdint>
#include <istream>
#include <optional>
#include <ostream>
#include <sstream>
#include <string>
#include <unordered_map>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

struct  carla::multigpu::DoorPose
 An open door, which on the primary is a physics body of its own: its pose relative to the vehicle, in UE units, rotation as a quaternion (x, y, z, w). More...
 
struct  carla::multigpu::MirroredPosition
 One record of frame data packet 34: an actor's world pose as the primary holds it, in UE units, with its rotation as a quaternion (an Euler round trip snaps pitch near +-90 degrees, e.g. More...
 
struct  carla::multigpu::MirroredPositions
 Frame data packet 34: every live actor's pose in this frame. More...
 
struct  carla::multigpu::MirroredVehicleParts
 Frame data packet 32, every frame: the moving parts of every vehicle. More...
 
struct  carla::multigpu::VehicleParts
 A vehicle's moving parts: every wheel, by wheel index, and the doors open (any other door is closed), and its drivetrain as the primary's simulation has it: what the vehicle's sensors report. More...
 
struct  carla::multigpu::WheelPose
 A wheel as the primary draws it: degrees and cm. More...
 

Namespaces

namespace  carla
 This file contains definitions of common data structures used in traffic manager.
 
namespace  carla::multigpu
 

Functions

std::vector< uint32_t > carla::multigpu::OrderParentsFirst (const std::vector< uint32_t > &ids, const std::unordered_map< uint32_t, uint32_t > &parents)
 Order in which to place actors so that every parent is placed before its children: by attachment depth, keeping the input order within a depth.