Skip to content

Commit 313ce19

Browse files
authored
Xavi007: AtsushiSakai#903 There's an error in the transformation_matrix of Quadrotor renamed "yaw" to "roll" (AtsushiSakai#906)
1 parent d25fb35 commit 313ce19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AerialNavigation/drone_3d_trajectory_following/Quadrotor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def transformation_matrix(self):
5656
[[cos(yaw) * cos(pitch), -sin(yaw) * cos(roll) + cos(yaw) * sin(pitch) * sin(roll), sin(yaw) * sin(roll) + cos(yaw) * sin(pitch) * cos(roll), x],
5757
[sin(yaw) * cos(pitch), cos(yaw) * cos(roll) + sin(yaw) * sin(pitch)
5858
* sin(roll), -cos(yaw) * sin(roll) + sin(yaw) * sin(pitch) * cos(roll), y],
59-
[-sin(pitch), cos(pitch) * sin(roll), cos(pitch) * cos(yaw), z]
59+
[-sin(pitch), cos(pitch) * sin(roll), cos(pitch) * cos(roll), z]
6060
])
6161

6262
def plot(self): # pragma: no cover

0 commit comments

Comments
 (0)