From bb87e61cb7aa998d1bc25bd650044f8368e80a38 Mon Sep 17 00:00:00 2001 From: RonaldsonBellande Date: Mon, 6 May 2024 23:27:17 -0400 Subject: [PATCH] latest pushes --- .../config/configs.json | 9 +++++++++ .../config/configs.json | 9 +++++++++ .../config/configs.json | 14 ++++++++++++++ .../config/configs.json | 14 ++++++++++++++ .../config/configs.json | 14 ++++++++++++++ .../config/configs.json | 14 ++++++++++++++ .../config/configs.json | 8 ++++++++ ros_web_api_bellande_step/config/configs.json | 14 ++++++++++++++ .../src/bellande_step_api_2d.py | 4 ++-- 9 files changed, 98 insertions(+), 2 deletions(-) create mode 100644 ros_web_api_bellande_2d_computer_vision/config/configs.json create mode 100644 ros_web_api_bellande_3d_computer_vision/config/configs.json create mode 100644 ros_web_api_bellande_adaptive_alternate_path_creation/config/configs.json create mode 100644 ros_web_api_bellande_adaptive_continuious_controller/config/configs.json create mode 100644 ros_web_api_bellande_extremum_optimization/config/configs.json create mode 100644 ros_web_api_bellande_search_path/config/configs.json create mode 100644 ros_web_api_bellande_speech_detection/config/configs.json create mode 100644 ros_web_api_bellande_step/config/configs.json diff --git a/ros_web_api_bellande_2d_computer_vision/config/configs.json b/ros_web_api_bellande_2d_computer_vision/config/configs.json new file mode 100644 index 0000000..b65e364 --- /dev/null +++ b/ros_web_api_bellande_2d_computer_vision/config/configs.json @@ -0,0 +1,9 @@ +{ + "url": "https://bellanderoboticssensorsresearchinnovationcenter-kot42qxp.b4a.run", + "endpoint_path": { + "prediction": "/api/Bellande_2D_Computer_Vision/bellande_classification_prediction", + "object_detection": "/api/Bellande_2D_Computer_Vision/bellande_object_detection", + "instance_segmentation": "/api/Bellande_2D_Computer_Vision/bellande_instance_segmentation", + "sementic_segmentation": "/api/Bellande_2D_Computer_Vision/bellande_sementic_segmentation" + } +} diff --git a/ros_web_api_bellande_3d_computer_vision/config/configs.json b/ros_web_api_bellande_3d_computer_vision/config/configs.json new file mode 100644 index 0000000..bc40d6d --- /dev/null +++ b/ros_web_api_bellande_3d_computer_vision/config/configs.json @@ -0,0 +1,9 @@ +{ + "url": "https://bellanderoboticssensorsresearchinnovationcenter-kot42qxp.b4a.run", + "endpoint_path": { + "prediction": "/api/Bellande_3D_Computer_Vision/bellande_classification_prediction", + "object_detection": "/api/Bellande_3D_Computer_Vision/bellande_object_detection", + "instance_segmentation": "/api/Bellande_3D_Computer_Vision/bellande_instance_segmentation", + "sementic_segmentation": "/api/Bellande_3D_Computer_Vision/bellande_sementic_segmentation" + } +} diff --git a/ros_web_api_bellande_adaptive_alternate_path_creation/config/configs.json b/ros_web_api_bellande_adaptive_alternate_path_creation/config/configs.json new file mode 100644 index 0000000..f955e71 --- /dev/null +++ b/ros_web_api_bellande_adaptive_alternate_path_creation/config/configs.json @@ -0,0 +1,14 @@ +{ + "url": "https://bellanderoboticssensorsresearchinnovationcenter-kot42qxp.b4a.run", + "endpoint_path": { + "2d": "/api/Bellande_Adaptive_Alternate_Path_Creation/bellande_adaptive_alternate_path_creation_2d", + "3d": "/api/Bellande_Adaptive_Alternate_Path_Creation/bellande_adaptive_alternate_path_creation_3d", + "4d": "/api/Bellande_Adaptive_Alternate_Path_Creation/bellande_adaptive_alternate_path_creation_4d", + "5d": "/api/Bellande_Adaptive_Alternate_Path_Creation/bellande_adaptive_alternate_path_creation_5d", + "6d": "/api/Bellande_Adaptive_Alternate_Path_Creation/bellande_adaptive_alternate_path_creation_6d", + "7d": "/api/Bellande_Adaptive_Alternate_Path_Creation/bellande_adaptive_alternate_path_creation_7d", + "8d": "/api/Bellande_Adaptive_Alternate_Path_Creation/bellande_adaptive_alternate_path_creation_8d", + "9d": "/api/Bellande_Adaptive_Alternate_Path_Creation/bellande_adaptive_alternate_path_creation_9d", + "10d": "/api/Bellande_Adaptive_Alternate_Path_Creation/bellande_adaptive_alternate_path_creation_10d" + } +} diff --git a/ros_web_api_bellande_adaptive_continuious_controller/config/configs.json b/ros_web_api_bellande_adaptive_continuious_controller/config/configs.json new file mode 100644 index 0000000..fa4e23d --- /dev/null +++ b/ros_web_api_bellande_adaptive_continuious_controller/config/configs.json @@ -0,0 +1,14 @@ +{ + "url": "https://bellanderoboticssensorsresearchinnovationcenter-kot42qxp.b4a.run", + "endpoint_path": { + "2d": "/api/Bellande_Adaptive_Continuious_Controller/bellande_adaptive_continuious_controller_2d", + "3d": "/api/Bellande_Adaptive_Continuious_Controller/bellande_adaptive_continuious_controller_3d", + "4d": "/api/Bellande_Adaptive_Continuious_Controller/bellande_adaptive_continuious_controller_4d", + "5d": "/api/Bellande_Adaptive_Continuious_Controller/bellande_adaptive_continuious_controller_5d", + "6d": "/api/Bellande_Adaptive_Continuious_Controller/bellande_adaptive_continuious_controller_6d", + "7d": "/api/Bellande_Adaptive_Continuious_Controller/bellande_adaptive_continuious_controller_7d", + "8d": "/api/Bellande_Adaptive_Continuious_Controller/bellande_adaptive_continuious_controller_8d", + "9d": "/api/Bellande_Adaptive_Continuious_Controller/bellande_adaptive_continuious_controller_9d", + "10d": "/api/Bellande_Adaptive_Continuious_Controller/bellande_adaptive_continuious_controller_10d" + } +} diff --git a/ros_web_api_bellande_extremum_optimization/config/configs.json b/ros_web_api_bellande_extremum_optimization/config/configs.json new file mode 100644 index 0000000..394efe4 --- /dev/null +++ b/ros_web_api_bellande_extremum_optimization/config/configs.json @@ -0,0 +1,14 @@ +{ + "url": "https://bellanderoboticssensorsresearchinnovationcenter-kot42qxp.b4a.run", + "endpoint_path": { + "2d": "/api/Bellande_Extremum_Optimization/bellande_extremum_optimization_2d", + "3d": "/api/Bellande_Extremum_Optimization/bellande_extremum_optimization_3d", + "4d": "/api/Bellande_Extremum_Optimization/bellande_extremum_optimization_4d", + "5d": "/api/Bellande_Extremum_Optimization/bellande_extremum_optimization_5d", + "6d": "/api/Bellande_Extremum_Optimization/bellande_extremum_optimization_6d", + "7d": "/api/Bellande_Extremum_Optimization/bellande_extremum_optimization_7d", + "8d": "/api/Bellande_Extremum_Optimization/bellande_extremum_optimization_8d", + "9d": "/api/Bellande_Extremum_Optimization/bellande_extremum_optimization_9d", + "10d": "/api/Bellande_Extremum_Optimization/bellande_extremum_optimization_10d" + } +} diff --git a/ros_web_api_bellande_search_path/config/configs.json b/ros_web_api_bellande_search_path/config/configs.json new file mode 100644 index 0000000..f73b46a --- /dev/null +++ b/ros_web_api_bellande_search_path/config/configs.json @@ -0,0 +1,14 @@ +{ + "url": "https://bellanderoboticssensorsresearchinnovationcenter-kot42qxp.b4a.run", + "endpoint_path": { + "2d": "/api/Bellande_Search_Path/bellande_search_path_2d", + "3d": "/api/Bellande_Search_Path/bellande_search_path_3d", + "4d": "/api/Bellande_Search_Path/bellande_search_path_4d", + "5d": "/api/Bellande_Search_Path/bellande_search_path_5d", + "6d": "/api/Bellande_Search_Path/bellande_search_path_6d", + "7d": "/api/Bellande_Search_Path/bellande_search_path_7d", + "8d": "/api/Bellande_Search_Path/bellande_search_path_8d", + "9d": "/api/Bellande_Search_Path/bellande_search_path_9d", + "10d": "/api/Bellande_Search_Path/bellande_search_path_10d" + } +} diff --git a/ros_web_api_bellande_speech_detection/config/configs.json b/ros_web_api_bellande_speech_detection/config/configs.json new file mode 100644 index 0000000..3ebfee6 --- /dev/null +++ b/ros_web_api_bellande_speech_detection/config/configs.json @@ -0,0 +1,8 @@ +{ + "url": "https://bellanderoboticssensorsresearchinnovationcenter-kot42qxp.b4a.run", + "endpoint_path": { + "prediction": "/api/Bellande_Speech_Detection/bellande_prediction", + "detection": "/api/Bellande_Speech_Detection/bellande_detection", + "segmentation": "/api/Bellande_Speech_Detection/bellande_segmentation" + } +} diff --git a/ros_web_api_bellande_step/config/configs.json b/ros_web_api_bellande_step/config/configs.json new file mode 100644 index 0000000..b7b3d37 --- /dev/null +++ b/ros_web_api_bellande_step/config/configs.json @@ -0,0 +1,14 @@ +{ + "url": "https://bellanderoboticssensorsresearchinnovationcenter-kot42qxp.b4a.run", + "endpoint_path": { + "2d": "/api/Bellande_Step/bellande_step_2d", + "3d": "/api/Bellande_Step/bellande_step_3d", + "4d": "/api/Bellande_Step/bellande_step_4d", + "5d": "/api/Bellande_Step/bellande_step_5d", + "6d": "/api/Bellande_Step/bellande_step_6d", + "7d": "/api/Bellande_Step/bellande_step_7d", + "8d": "/api/Bellande_Step/bellande_step_8d", + "9d": "/api/Bellande_Step/bellande_step_9d", + "10d": "/api/Bellande_Step/bellande_step_10d" + } +} diff --git a/ros_web_api_bellande_step/src/bellande_step_api_2d.py b/ros_web_api_bellande_step/src/bellande_step_api_2d.py index 1d091a1..2adefa4 100755 --- a/ros_web_api_bellande_step/src/bellande_step_api_2d.py +++ b/ros_web_api_bellande_step/src/bellande_step_api_2d.py @@ -4,7 +4,7 @@ import requests def main(): # Get the absolute path to the config file - config_file_path = os.path.join(os.path.dirname(__file__), '../config/config2d.json') + config_file_path = os.path.join(os.path.dirname(__file__), '../config/configs.json') # Check if the config file exists if not os.path.exists(config_file_path): @@ -15,7 +15,7 @@ def main(): with open(config_file_path, 'r') as config_file: config = json.load(config_file) url = config['url'] - endpoint_path = config['endpoint_path'] + endpoint_path = config['endpoint_path']["2d"] # Get the parameters from the ROS parameter server x1 = rospy.get_param('x1')