IQ.Pilot Release Commit @ 7550fa9
This commit is contained in:
@@ -67,14 +67,14 @@
|
||||
},
|
||||
{
|
||||
"name": "boot",
|
||||
"url": "https://git.konn3kt.com/IQ.Lvbs/iqos/raw/branch/master/boot-4258981292746f5622f4a03a1e0c1d77379660e46bbaa455c504d638b5307906.img.xz",
|
||||
"hash": "4258981292746f5622f4a03a1e0c1d77379660e46bbaa455c504d638b5307906",
|
||||
"hash_raw": "4258981292746f5622f4a03a1e0c1d77379660e46bbaa455c504d638b5307906",
|
||||
"url": "https://git.konn3kt.com/IQ.Lvbs/iqos/raw/branch/master/boot-595f6696c47c17d70a654d8ca04abca946a16dbb1da6250e464a23dff82258a4.img.xz",
|
||||
"hash": "595f6696c47c17d70a654d8ca04abca946a16dbb1da6250e464a23dff82258a4",
|
||||
"hash_raw": "595f6696c47c17d70a654d8ca04abca946a16dbb1da6250e464a23dff82258a4",
|
||||
"size": 18216960,
|
||||
"sparse": false,
|
||||
"full_check": true,
|
||||
"has_ab": true,
|
||||
"ondevice_hash": "7be61ba2be5617ac22d6beb8ba8b896109a554347021f5e44b72458748336975"
|
||||
"ondevice_hash": "b0ee082b2e63a49fcfd1ca2adfb49275e1bb567889cbb9985827fb1de50f943b"
|
||||
},
|
||||
{
|
||||
"name": "system",
|
||||
|
||||
@@ -1 +1 @@
|
||||
Myu8k7msX7pt28JKl1Lx5/NnXu9i15nT8bFWnwGsip8wdCYPJqj69AWrfCtlg9YrR98O6ThCAEA1uzUfsrTeDQ==
|
||||
nqwhbcjeRqyPEM2UWshbP4eCC8EZzDAptGOG0refjvhHlEh32UCAp2Vi/GEKCGOLC3peRW8dRUgwCOXwtEm8Cg==
|
||||
|
||||
@@ -56,14 +56,14 @@
|
||||
},
|
||||
{
|
||||
"name": "boot",
|
||||
"url": "https://git.konn3kt.com/IQ.Lvbs/iqos/raw/branch/master/boot-4258981292746f5622f4a03a1e0c1d77379660e46bbaa455c504d638b5307906.img.xz",
|
||||
"hash": "4258981292746f5622f4a03a1e0c1d77379660e46bbaa455c504d638b5307906",
|
||||
"hash_raw": "4258981292746f5622f4a03a1e0c1d77379660e46bbaa455c504d638b5307906",
|
||||
"url": "https://git.konn3kt.com/IQ.Lvbs/iqos/raw/branch/master/boot-595f6696c47c17d70a654d8ca04abca946a16dbb1da6250e464a23dff82258a4.img.xz",
|
||||
"hash": "595f6696c47c17d70a654d8ca04abca946a16dbb1da6250e464a23dff82258a4",
|
||||
"hash_raw": "595f6696c47c17d70a654d8ca04abca946a16dbb1da6250e464a23dff82258a4",
|
||||
"size": 18216960,
|
||||
"sparse": false,
|
||||
"full_check": true,
|
||||
"has_ab": true,
|
||||
"ondevice_hash": "7be61ba2be5617ac22d6beb8ba8b896109a554347021f5e44b72458748336975"
|
||||
"ondevice_hash": "b0ee082b2e63a49fcfd1ca2adfb49275e1bb567889cbb9985827fb1de50f943b"
|
||||
},
|
||||
{
|
||||
"name": "system",
|
||||
|
||||
@@ -1 +1 @@
|
||||
aGtkoy//jP3MWJmd5uvb/mxKu1KsE8ZlhrTUr1CPCotwjIVzsxOncUGN9HnUcMXoUWZbUWz9H8Q+ARYxz41/Ag==
|
||||
JqXKQi3b6oUtR8CYSq6qoeGjE4SRViVSqYcL8dbMgwXGBkEY2fVCYDrO3nhzhEu7yv8EWGuvK4WiMdGB52iJAQ==
|
||||
|
||||
@@ -248,7 +248,7 @@ procs += [
|
||||
PythonProcess("mapd_manager", "iqpilot.iq_maps.orchestrator", and_(only_offroad, not_low_power)),
|
||||
|
||||
# locationd
|
||||
NativeProcess("iqlocd", "iqpilot/selfdrive/iqlocd", ["./iqlocd"], only_onroad),
|
||||
NativeProcess("iqlocd", "iqpilot/selfdrive/iqlocd", ["./iqlocd"], only_onroad, restart_if_crash=True),
|
||||
]
|
||||
|
||||
managed_processes = {p.name: p for p in procs}
|
||||
|
||||
@@ -13,9 +13,9 @@ Rgba = _p.Color
|
||||
Box = _p.Rectangle
|
||||
Pt = _p.Vector2
|
||||
|
||||
WHITE = _p.WHITE
|
||||
BLACK = _p.BLACK
|
||||
RED = _p.RED
|
||||
WHITE = _p.Color(255, 255, 255, 255)
|
||||
BLACK = _p.Color(0, 0, 0, 255)
|
||||
RED = _p.Color(230, 41, 55, 255)
|
||||
CLEAR = _p.Color(0, 0, 0, 0)
|
||||
|
||||
|
||||
@@ -24,7 +24,8 @@ def shade(r: int, g: int, b: int, a: int = 255) -> Rgba:
|
||||
|
||||
|
||||
def with_opacity(color: Rgba, alpha: float) -> Rgba:
|
||||
return _p.Color(color.r, color.g, color.b, int(alpha))
|
||||
r, g, b = (color.r, color.g, color.b) if hasattr(color, "r") else color[:3]
|
||||
return _p.Color(r, g, b, int(alpha))
|
||||
|
||||
|
||||
# --- filled / stroked shapes -------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user