Skip to content

Commit 2124686

Browse files
committed
Merge branch 'main' into dev
2 parents 1af6964 + c65131d commit 2124686

File tree

4 files changed

+8
-19
lines changed

4 files changed

+8
-19
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ saves
77
.pytest_cache
88
*.json
99
**/*.csv
10+
.vscode
1011
build
1112
.venv
1213
!/.devcontainer/devcontainer.json
1314
!/.devcontainer/devcontainer.linux.json
1415
!/.devcontainer/devcontainer.wsl2.json
15-
!/.vscode/launch.json
1616
**/*.pt
1717
tutorials/ppo/wandb

.vscode/launch.json

-16
This file was deleted.

benchmark/main.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@ def profile_gym_env_step(sim_config: config_dict.ConfigDict, n_steps: int, devic
4343
device = jax.devices(device)[0]
4444

4545
envs = gymnasium.make_vec(
46-
"DroneReachPos-v0", time_horizon_in_seconds=3, num_envs=sim_config.n_worlds, **sim_config
46+
"DroneReachPos-v0",
47+
time_horizon_in_seconds=3,
48+
num_envs=sim_config.n_worlds,
49+
device=sim_config.device,
50+
freq=sim_config.attitude_freq,
51+
physics=sim_config.physics,
4752
)
4853

4954
# Action for going up (in attitude control)

crazyflow/sim/integration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def _integrate(
8282
dvel: Array,
8383
dang_vel: Array,
8484
dt: float,
85-
) -> SimData:
85+
) -> tuple[Array, Array, Array, Array]:
8686
"""Integrate the dynamics forward in time.
8787
8888
Args:

0 commit comments

Comments
 (0)