Xavi007: #903 There's an error in the transformation_matrix of Quadrotor renamed "yaw" to "roll" (#906)

This commit is contained in:
Xavier Dias
2023-12-18 05:42:47 +05:30
committed by GitHub
parent d25fb355f3
commit 313ce19621

View File

@@ -56,7 +56,7 @@ class Quadrotor():
[[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],
[sin(yaw) * cos(pitch), cos(yaw) * cos(roll) + sin(yaw) * sin(pitch)
* sin(roll), -cos(yaw) * sin(roll) + sin(yaw) * sin(pitch) * cos(roll), y],
[-sin(pitch), cos(pitch) * sin(roll), cos(pitch) * cos(yaw), z]
[-sin(pitch), cos(pitch) * sin(roll), cos(pitch) * cos(roll), z]
])
def plot(self): # pragma: no cover