Skip to content

Commit e20a508

Browse files
committed
Add nominal yaw dynamics.
Set default window size.
1 parent 52441f7 commit e20a508

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

crazyflow/sim/physics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"acc": np.array([20.907574256269616, 3.653687545690674]),
1616
"roll_acc": np.array([-130.3, -16.33, 119.3]),
1717
"pitch_acc": np.array([-99.94, -13.3, 84.73]),
18-
"yaw_acc": np.array([0.0, 0.0, 0.0]),
18+
"yaw_acc": np.array([-60.0, -10.0, 120.0]),
1919
}
2020

2121

crazyflow/sim/sim.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ def render(
156156
mode: str | None = "human",
157157
world: int = 0,
158158
default_cam_config: dict | None = None,
159-
width: int = 640,
160-
height: int = 480,
159+
width: int = 1280,
160+
height: int = 720,
161161
) -> NDArray | None:
162162
if self.viewer is None:
163163
self.mj_model.vis.global_.offwidth = width

0 commit comments

Comments
 (0)