Skip to content

Commit

Permalink
[sim] fix typo from last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
whoenig committed Aug 30, 2023
1 parent d80884a commit c3c3e02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crazyflie_sim/crazyflie_sim/crazyflie_sil.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ def cmdFullState(self, pos, vel, acc, yaw, omega):
self.setpoint.acceleration.y = acc[1]
self.setpoint.acceleration.z = acc[2]

self.cmdHl_pos = copy_svec(self.setpoint.pos)
self.cmdHl_vel = copy_svec(self.setpoint.vel)
self.cmdHl_pos = copy_svec(self.setpoint.position)
self.cmdHl_vel = copy_svec(self.setpoint.velocity)
self.cmdHl_yaw = yaw

# def cmdPosition(self, pos, yaw = 0):
Expand Down

0 comments on commit c3c3e02

Please sign in to comment.