Skip to content

Commit

Permalink
fix yaw conversion from quat in cmd_full_state in crazyflie_sim/crazy…
Browse files Browse the repository at this point in the history
…flie_server (#382)
  • Loading branch information
penghuanggp committed Dec 13, 2023
1 parent 5bd08d8 commit 963df7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crazyflie_sim/crazyflie_sim/crazyflie_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def _cmd_full_state_changed(self, msg, name):
msg.pose.orientation.x,
msg.pose.orientation.y,
msg.pose.orientation.z]
rpy = rowan.to_euler(q)
rpy = rowan.to_euler(q, convention='xyz')

self.cfs[name].cmdFullState(
[msg.pose.position.x, msg.pose.position.y, msg.pose.position.z],
Expand Down

0 comments on commit 963df7b

Please sign in to comment.