mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-04-22 03:00:22 -04:00
Xavi007: #903 There's an error in the transformation_matrix of Quadrotor renamed "yaw" to "roll" (#906)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user