Skip to content

Commit

Permalink
add source of the quadrotor model
Browse files Browse the repository at this point in the history
  • Loading branch information
shaoanlu authored May 2, 2024
1 parent 5442d87 commit ed0b8b1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/env/planar_quadrotor.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ def __init__(self, config: dict = None, state: Optional[jnp.ndarray] = None):
def step(self, state=None, control=[0, 0], dt: float = 0.01):
"""
dynamics with JAX-compatible code.
Equations are from the Aerial Robotics coursera lecture
https://www.coursera.org/lecture/robotics-flight/2-d-quadrotor-control-kakc6
"""
if state is None:
state = self.state
Expand Down

0 comments on commit ed0b8b1

Please sign in to comment.