feat(vesc): extend motor diagnostics, configuration and transport recovery
Add firmware and extension catalogues, configuration transactions, sample review and QML diagnostics. Preserve explicit authority, bounded retries and stop recovery in motor transport.
This commit is contained in:
@@ -24,7 +24,10 @@ def check(root):
|
||||
replies = [json.loads(line) for line in result.stdout.splitlines()]
|
||||
if (len(replies) != 2 or not replies[0]["ready"] or not replies[1]["ok"]
|
||||
or replies[1]["result"]["hardware_enabled"] or replies[1]["result"]["connected"]
|
||||
or replies[1]["result"]["commit"] != manifest["upstream_commit"]):
|
||||
or replies[1]["result"]["commit"] != manifest["upstream_commit"]
|
||||
or replies[1]["result"]["version"] != manifest["upstream_version"]
|
||||
or replies[1]["result"].get("contract") != manifest.get("engine_contract")
|
||||
or manifest.get("engine_contract", {}).get("rpc_version") != 1):
|
||||
raise RuntimeError("Native engine offline check failed")
|
||||
print(json.dumps({"ok":True, "upstream_commit":manifest["upstream_commit"], "hardware_access":False}))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user