From 1ff7227d3eb25c5a48d4bab31fe5a483d20c2adc Mon Sep 17 00:00:00 2001 From: RonaldsonBellande Date: Sun, 7 Jul 2024 00:20:02 -0400 Subject: [PATCH] ai base --- .../config/configs.json | 16 ++++++++++++++++ .../src/bellande_ai_system_base.py | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/ros_web_api_bellande_ai_system/config/configs.json b/ros_web_api_bellande_ai_system/config/configs.json index 95e226c..a9211f7 100644 --- a/ros_web_api_bellande_ai_system/config/configs.json +++ b/ros_web_api_bellande_ai_system/config/configs.json @@ -1,4 +1,20 @@ { + "license": [ + "Copyright (C) 2024 Bellande Robotics Sensors Research Innovation Center, Ronaldson Bellande", + "This program is free software: you can redistribute it and/or modify", + "it under the terms of the GNU General Public License as published by", + "the Free Software Foundation, either version 3 of the License, or", + "(at your option) any later version.", + "", + "This program is distributed in the hope that it will be useful,", + "but WITHOUT ANY WARRANTY; without even the implied warranty of", + "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the", + "GNU General Public License for more details.", + "", + "You should have received a copy of the GNU General Public License", + "along with this program. If not, see .", + "GNU General Public License v3.0 or later" + ], "url": "https://bellanderoboticssensorsresearchinnovationcenter-kot42qxp.b4a.run", "endpoint_path": { "base": "/api/Bellande_AI_System/base" diff --git a/ros_web_api_bellande_ai_system/src/bellande_ai_system_base.py b/ros_web_api_bellande_ai_system/src/bellande_ai_system_base.py index 2b81e00..b604f42 100755 --- a/ros_web_api_bellande_ai_system/src/bellande_ai_system_base.py +++ b/ros_web_api_bellande_ai_system/src/bellande_ai_system_base.py @@ -47,7 +47,7 @@ def input_callback(msg): def main(): global api_url, api_access_key, pub - config_file_path = os.path.join(os.path.dirname(__file__), '../config/ai_system.json') + config_file_path = os.path.join(os.path.dirname(__file__), '../config/configs.json') if not os.path.exists(config_file_path): print("Config file not found:", config_file_path)