Skip to content

Commit

Permalink
update drone_rl readme
Browse files Browse the repository at this point in the history
Note: If you experience slow performance or encounter other issues during evaluation, try removing the --record option.
  • Loading branch information
KafuuChikai committed Jan 10, 2025
1 parent 346483a commit 77f893b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/drone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ Run with:
python hover_eval.py -e drone-hovering --ckpt 500 --record
```

**Note**: If you experience slow performance or encounter other issues
during evaluation, try removing the `--record` option.

## Technical Details

- The drone model used is the Crazyflie 2.X (`urdf/drones/cf2x.urdf`)
Expand Down
4 changes: 4 additions & 0 deletions examples/drone/hover_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,8 @@ def main():
"""
# evaluation
python examples/drone/hover_eval.py
# Note
If you experience slow performance or encounter other issues
during evaluation, try removing the --record option.
"""

2 comments on commit 77f893b

@weijiang2023
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so the root of the slow performance is from the --record option?

@KafuuChikai
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The --record option calls the camera's rendering feature, which may not be well optimized for macOS and other systems, leading to performance degradation.

Please sign in to comment.