Add missing set_velocity method stub to pyflix

This commit is contained in:
Oleg Kalachev 2025-07-28 22:06:30 +03:00
parent 32f417efae
commit bb0643e8c6
2 changed files with 4 additions and 0 deletions

View File

@ -126,6 +126,7 @@ flix.cli('reboot') # reboot the drone
The flight control feature is in development. List of methods intended for automatic flight control:
* `set_position`
* `set_velocity`
* `set_attitude`
* `set_rates`
* `set_motors`

View File

@ -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')