IQ.Pilot Release Commit @ 322eda2
This commit is contained in:
@@ -391,7 +391,7 @@ std::string detect_dbc_for_fingerprint(std::string_view car_fingerprint) {
|
||||
std::vector<std::string> available_dbc_names_impl() {
|
||||
std::set<std::string> names;
|
||||
for (const fs::path &dbc_dir : {
|
||||
repo_root() / "opendbc" / "dbc",
|
||||
repo_root() / "iqdbc" / "dbc",
|
||||
repo_root() / "tools" / "jotpluggler" / "generated_dbcs",
|
||||
}) {
|
||||
if (fs::exists(dbc_dir) && fs::is_directory(dbc_dir)) {
|
||||
@@ -413,7 +413,7 @@ std::vector<std::string> available_dbc_names_impl() {
|
||||
|
||||
fs::path resolve_dbc_path(const std::string &dbc_name) {
|
||||
for (const fs::path &candidate : {
|
||||
repo_root() / "opendbc" / "dbc" / (dbc_name + ".dbc"),
|
||||
repo_root() / "iqdbc" / "dbc" / (dbc_name + ".dbc"),
|
||||
repo_root() / "tools" / "jotpluggler" / "generated_dbcs" / (dbc_name + ".dbc"),
|
||||
}) {
|
||||
if (fs::exists(candidate)) return candidate;
|
||||
|
||||
Reference in New Issue
Block a user