latest pushes

This commit is contained in:
2024-05-06 23:27:17 -04:00
parent 282354ea65
commit bb87e61cb7
9 changed files with 98 additions and 2 deletions

View File

@ -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')