diff --git a/examples/drone/hover_env.py b/examples/drone/hover_env.py index 3d48d6b3..47d25d8c 100644 --- a/examples/drone/hover_env.py +++ b/examples/drone/hover_env.py @@ -64,6 +64,8 @@ def __init__(self, num_envs, env_cfg, obs_cfg, reward_cfg, command_cfg, show_vie ), ), ) + else: + self.target = None # add camera if self.env_cfg["visualize_camera"]: