Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: agent visualization #57

Open
wants to merge 1 commit into
base: agent
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions dgp/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Common DGP constants. Constants here only depened on dgp.proto to avoid circular imports.
"""
from collections import OrderedDict
from dataclasses import dataclass

from dgp.proto import annotations_pb2, dataset_pb2, features_pb2

Expand Down Expand Up @@ -34,3 +35,12 @@
FEATURE_TYPE_ID_TO_KEY = OrderedDict({v: k for k, v in FEATURE_KEY_TO_TYPE_ID.items()})
# String identifiers for feature types
ALL_FEATURE_TYPES = tuple(FEATURE_KEY_TO_TYPE_ID.keys())


@dataclass
class Vehicle:
vehicle_name: str
vehicle_length: float
vehicle_width: float
vehicle_height: float
vehicle_applanix_origin_to_r_bumper: float
Loading