code style
parent
0b8a0f37df
commit
85c361ef88
|
@ -0,0 +1,7 @@
|
|||
git add *
|
||||
|
||||
read -p "Commit message: " commit_message
|
||||
|
||||
git commit -m "$commit_message"
|
||||
|
||||
git push -u origin main
|
|
@ -1 +1,5 @@
|
|||
python-dotenv==1.0.0
|
||||
python-dotenv==1.0.0
|
||||
uvicorn==0.24.0
|
||||
fastapi==0.104.1
|
||||
opencv-python==4.8.1.78
|
||||
pyapriltags==3.3.0.3
|
11
robot.py
11
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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue