mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-13 08:11:54 +02:00
Issue #69: add logging.
This commit is contained in:
parent
edd3512526
commit
8fe2f15663
3 changed files with 14 additions and 0 deletions
|
@ -29,6 +29,9 @@ class Lane:
|
|||
change: Optional[str] = None # "not_left", "not_right"
|
||||
destination: Optional[str] = None # Lane destination
|
||||
|
||||
def set_forward(self, is_forward: bool) -> None:
|
||||
self.is_forward = is_forward
|
||||
|
||||
def get_width(self, scale: float):
|
||||
"""Get lane width. We use standard 3.7 m lane."""
|
||||
if self.width is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue