Move the client out of the simulator
This commit is contained in:
@@ -68,7 +68,7 @@ python tello_sim/run_sim.py
|
|||||||
|
|
||||||
You can try running some of the [examples](./examples) to see how the simulation works. The examples are located in the `examples` folder.
|
You can try running some of the [examples](./examples) to see how the simulation works. The examples are located in the `examples` folder.
|
||||||
|
|
||||||
Or use the [client](./tello_sim/tello_sim_client.py) class to interact with the simulation server. The client class is located in the `tello_sim` folder.
|
Or use the [client](./tello_sim_client.py) class to interact with the simulation server. The client class is located in the `tello_sim` folder.
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
from tello_sim.tello_sim_client import TelloSimClient
|
from tello_sim_client import TelloSimClient
|
||||||
|
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
from tello_sim.tello_sim_client import TelloSimClient
|
from tello_sim_client import TelloSimClient
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from tello_sim.tello_sim_client import TelloSimClient
|
from tello_sim_client import TelloSimClient
|
||||||
|
|
||||||
# Create a Tello instance
|
# Create a Tello instance
|
||||||
tello = TelloSimClient()
|
tello = TelloSimClient()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
from tello_sim.tello_sim_client import TelloSimClient
|
from tello_sim_client import TelloSimClient
|
||||||
|
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
from typing import Callable
|
from typing import Callable
|
||||||
from tello_sim.tello_sim_client import TelloSimClient
|
from tello_sim_client import TelloSimClient
|
||||||
|
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
from tello_sim.tello_sim_client import TelloSimClient
|
from tello_sim_client import TelloSimClient
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
from tello_sim.tello_sim_client import TelloSimClient
|
from tello_sim_client import TelloSimClient
|
||||||
|
|
||||||
|
|
||||||
print(TelloSimClient)
|
print(TelloSimClient)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from tello_sim.tello_sim_client import TelloSimClient
|
from tello_sim_client import TelloSimClient
|
||||||
|
|
||||||
|
|
||||||
# Create a Tello instance
|
# Create a Tello instance
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
from tello_sim.tello_sim_client import TelloSimClient
|
from tello_sim_client import TelloSimClient
|
||||||
|
|
||||||
# Create a Tello instance
|
# Create a Tello instance
|
||||||
tello = TelloSimClient()
|
tello = TelloSimClient()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
from tello_sim.tello_sim_client import TelloSimClient
|
from tello_sim_client import TelloSimClient
|
||||||
import cv2
|
import cv2
|
||||||
|
|
||||||
# Create a Tello instance
|
# Create a Tello instance
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import os
|
|||||||
import cv2
|
import cv2
|
||||||
import time
|
import time
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from tello_sim.tello_sim_client import TelloSimClient
|
from tello_sim_client import TelloSimClient
|
||||||
|
|
||||||
# Initialize and connect
|
# Initialize and connect
|
||||||
tello = TelloSimClient()
|
tello = TelloSimClient()
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import os
|
|||||||
from threading import Thread
|
from threading import Thread
|
||||||
import time
|
import time
|
||||||
from typing import cast
|
from typing import cast
|
||||||
from tello_sim.tello_sim_client import TelloSimClient
|
from tello_sim_client import TelloSimClient
|
||||||
|
|
||||||
import cv2
|
import cv2
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
from tello_sim.tello_sim_client import TelloSimClient
|
from tello_sim_client import TelloSimClient
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
from tello_sim.tello_sim_client import TelloSimClient
|
from tello_sim_client import TelloSimClient
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Not verified working on normal Tello!
|
# Not verified working on normal Tello!
|
||||||
|
|
||||||
from tello_sim.tello_sim_client import TelloSimClient
|
from tello_sim_client import TelloSimClient
|
||||||
|
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
"Here try to create a script that navigates the drone through a course."
|
"Here try to create a script that navigates the drone through a course."
|
||||||
from tello_sim.tello_sim_client import TelloSimClient
|
from tello_sim_client import TelloSimClient
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user