This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from ctypes import * | |
import struct | |
from enum import Enum | |
""" | |
Converts valhalla's tile header & edge speeds into byte objects to be compressed. | |
""" | |
HEADER_FORMAT = '<2Q4L' # 2 uint_64, 4 uint_32 from the traffic header |
OlderNewer