|
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" |