Making an ESP32-based quadcopter from scratch
Python arduinoautopilotcontrol-theorydroneesp32flight-controlflight-controllermavlinkquadcopterquadcopter-firmwareuav
Add missing set_velocity method stub to pyflix
Oleg Kalachevbb0643e8c615
diff --git a/tools/pyflix/README.md b/tools/pyflix/README.mdindex 46c607d..9f77aae 100644--- a/tools/pyflix/README.md+++ b/tools/pyflix/README.md@@ -126,6 +126,7 @@ flix.cli('reboot') # reboot the droneThe flight control feature is in development. List of methods intended for automatic flight control:* `set_position`+* `set_velocity`* `set_attitude`* `set_rates`* `set_motors`diff --git a/tools/pyflix/flix.py b/tools/pyflix/flix.pyindex 2d55590..cb73cf1 100644--- a/tools/pyflix/flix.py+++ b/tools/pyflix/flix.py@@ -278,6 +278,9 @@ class Flix:def set_position(self, position: List[float], yaw: Optional[float] = None, wait: bool = False, tolerance: float = 0.1):raise NotImplementedError('Position control is not implemented yet')+ def set_velocity(self, velocity: List[float], yaw: Optional[float] = None):+ raise NotImplementedError('Velocity control is not implemented yet')+def set_attitude(self, attitude: List[float], thrust: float):raise NotImplementedError('Automatic flight is not implemented yet')