CARLA
Loading...
Searching...
No Matches
Unreal
CarlaUnreal
Plugins
Carla
Source
Carla
Navigation
CarlaNavAreas.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 <util/ue-header-guard-begin.h>
10
#include "CoreMinimal.h"
11
#include "NavAreas/NavArea.h"
12
#include <util/ue-header-guard-end.h>
13
14
#include "CarlaNavAreas.generated.h"
15
16
/// Nav area stamped on driving-lane surfaces (via the road meshes' nav
17
/// collision area class). Expensive to traverse so that crossing pedestrians
18
/// prefer crosswalks and only cut through open road when the detour is large;
19
/// excluded entirely from non-crossing walkers' query filters.
20
UCLASS()
21
class CARLA_API
UNavAreaCarlaRoad
: public
UNavArea
22
{
23
GENERATED_BODY()
24
25
public
:
26
27
UNavAreaCarlaRoad
()
28
{
29
DefaultCost = 10.0f;
30
DrawColor = FColor::Red;
31
}
32
};
33
34
/// Nav area stamped over OpenDRIVE crosswalk polygons (modifier boxes
35
/// generated by the CarlaCrosswalkNav world-partition builder). Slightly more
36
/// expensive than sidewalk so paths do not weave through crossings casually,
37
/// but far cheaper than open road.
38
UCLASS()
39
class CARLA_API
UNavAreaCarlaCrosswalk
: public
UNavArea
40
{
41
GENERATED_BODY()
42
43
public
:
44
45
UNavAreaCarlaCrosswalk
()
46
{
47
DefaultCost = 1.5f;
48
DrawColor = FColor::Yellow;
49
}
50
};
UNavAreaCarlaCrosswalk
Nav area stamped over OpenDRIVE crosswalk polygons (modifier boxes generated by the CarlaCrosswalkNav...
Definition
CarlaNavAreas.h:40
UNavAreaCarlaCrosswalk::UNavAreaCarlaCrosswalk
UNavAreaCarlaCrosswalk()
Definition
CarlaNavAreas.h:45
UNavAreaCarlaRoad
Nav area stamped on driving-lane surfaces (via the road meshes' nav collision area class).
Definition
CarlaNavAreas.h:22
UNavAreaCarlaRoad::UNavAreaCarlaRoad
UNavAreaCarlaRoad()
Definition
CarlaNavAreas.h:27
UNavArea
Generated by
1.9.8