diff --git a/commit_and_push.sh b/commit_and_push.sh new file mode 100755 index 0000000..554786f --- /dev/null +++ b/commit_and_push.sh @@ -0,0 +1,7 @@ +git add * + +read -p "Commit message: " commit_message + +git commit -m "$commit_message" + +git push -u origin main \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index de4072f..4d0e7c9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,5 @@ -python-dotenv==1.0.0 \ No newline at end of file +python-dotenv==1.0.0 +uvicorn==0.24.0 +fastapi==0.104.1 +opencv-python==4.8.1.78 +pyapriltags==3.3.0.3 \ No newline at end of file diff --git a/robot.py b/robot.py index c36b0a5..eb69565 100644 --- a/robot.py +++ b/robot.py @@ -15,11 +15,12 @@ ConnectedModule = None def InitRobot(): # TODO: get amount of joints and connected module from the esp (greifer) - res = requests.post(config.robot_control_server_url + "/robot", json={ - "id": config.robot_id, - "type": config.robot_type, - "firmwareVersion": config.robot_firmware_version - }) + res = requests.post(config.robot_control_server_url + "/robot", + json={ + "id": config.robot_id, + "type": config.robot_type, + "firmwareVersion": config.robot_firmware_version + }) logging.info(res.status_code)