Neural_layer_sanjay / skills /control_mode.py
srivatsavdamaraju's picture
Upload 5 files
add92ca verified
raw
history blame contribute delete
679 Bytes
import requests
def manual_control_mode(command):
url = "https://srivatsavdamaraju-central-robot-server.hf.space/activate_manual_mode"
payload = {}
headers = {}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
return "this is manual control mode"
def deactivate_manual_control_mode(command):
url = (
"https://srivatsavdamaraju-central-robot-server.hf.space/deactivate_manual_mode"
)
payload = {}
headers = {}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
return "this is deActivate manual control mode"