Skip to content

Commit

Permalink
fix: General controller as return, rather than PID
Browse files Browse the repository at this point in the history
  • Loading branch information
iwishiwasaneagle committed Feb 28, 2023
1 parent 8d3d78a commit c7a0f3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/jdrones/envs/base/basecontrolledenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import gymnasium
from gymnasium.core import ActType
from jdrones.controllers import Controller
from jdrones.controllers import PID
from jdrones.envs.base.basedronenev import BaseDroneEnv
from jdrones.types import State
Expand Down Expand Up @@ -56,5 +57,5 @@ def reset(

@staticmethod
@abc.abstractmethod
def _init_controllers(dt: float) -> dict[str, PID]:
def _init_controllers(dt: float) -> dict[str, Controller]:
pass

0 comments on commit c7a0f3c

Please sign in to comment.