Skip to content

Commit

Permalink
feat: agent visualization
Browse files Browse the repository at this point in the history
  • Loading branch information
visakii-work committed Nov 29, 2021
1 parent 0752cbf commit eaf2e44
Show file tree
Hide file tree
Showing 3 changed files with 533 additions and 32 deletions.
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

0 comments on commit eaf2e44

Please sign in to comment.