2.3 Rotations in 3D

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024

Комментарии • 80

  • @jargok2313
    @jargok2313 3 года назад +28

    The rotation direction of y axis is wrongly shown. It shouldn't be clockvise in this view. I think this may lead to confusion.

    • @Woolfrey
      @Woolfrey  3 года назад +4

      You are correct. It's an old mistake!

    • @mustafasabri6430
      @mustafasabri6430 Год назад

      A possible reason for the discrepancy is that he used negative angles for the rotation, which changed the sign of sin(θ) in the diagonal elements compared to other rotation matrices.

  • @alevsahin1428
    @alevsahin1428 4 года назад +21

    Thank you! You saved my life with that explanation 😭 I have exams in a week, wish me luck!

    • @vitaliitomas8121
      @vitaliitomas8121 Год назад

      Did you pass?

    • @personaluse6554
      @personaluse6554 6 месяцев назад

      @@vitaliitomas8121 hope so. he passed and forgot to comment. if he failed, he would have come back and watched this video again.

  • @McLachlanG
    @McLachlanG 11 месяцев назад +4

    Hi, I believe the pitch rotation (about the y-axis) may be illustrated incorrectly. A positive pitch rotation should rotate a vector downwards. I.e., a rotation of pi/2 will rotate a vector pointing straight forward [1,0,0] to straight down [0,0,-1].

  • @MiguelGonzalez-mt7hv
    @MiguelGonzalez-mt7hv 3 года назад +14

    Why is the positive theta angle for the y axis not in the same direction as the x or z axis (following the right hand rule)

    • @hrperformance
      @hrperformance 3 года назад

      I'm pretty sure for the first diagram (with the hand), he has the wrong direction of rotations for x and z-axes.
      As far as i'm aware, a positve angle is measured in the anti-clockwise direction from the perspective of the origin i.e. if you were looking along the axies from the origin.

    • @hrperformance
      @hrperformance 3 года назад

      @Chucho haha yep I know the feeling! We'll get there eventually.
      Good luck to you mate.
      I'll let you know if I find a promising explanation I'm confident about 👍🏽

    • @lucadavidian5441
      @lucadavidian5441 3 года назад +6

      The arrow for the y rotation is wrong, the direction of the rotation should always follow the positive right-hand convention (counterclockwise if seen from above the rotation axis), so the arrow in the diagram should be reversed. The corresponding matrix is correct.

    • @xin-longli4565
      @xin-longli4565 2 года назад

      @@lucadavidian5441 Yeah, I also agree the arrow for y rotation is wrong, or we could say the rotation matrix for y axis is wrong, they don't match. If I don't change the arrow, I switch the position of sin(θ) and -sin(θ), they could also match.

  • @ajit_edu
    @ajit_edu 2 года назад +6

    2.39 i am confused about the direction of rotatiin. Should not they be in opposite direction at x and y axis?

  • @zainmehdi8886
    @zainmehdi8886 4 года назад +8

    one of the best explanations.

  • @rimene5976
    @rimene5976 9 месяцев назад

    That was really helpful. Thank u sir simple and clear. Thanks u 🙏

  • @armanmotamedi9156
    @armanmotamedi9156 2 года назад +1

    you positive y rotation vector is wrong. It is the other way. You are showing a negative pitch. Keep you thumb along positive y axis.

  • @Shadow91507
    @Shadow91507 5 месяцев назад

    How do we calculate a second rotation? For example, after a body pitches 45 degrees, it yaws 45 degrees about its body frame? It would be incorrect to multiply its nose vector, say by R(y=45 deg) * R(z = 45 deg), since the second matrix that you would be multiplying by is in the inertial (unrotated) frame.

  • @amr.a-m8350
    @amr.a-m8350 Год назад +1

    Good video .How I could substitute Phi =2tan(R23,R33)as function of number elements please & extracting 'Jacobian Matercis' from rotation matrix.

  • @xCOUZIAx
    @xCOUZIAx 4 месяца назад

    In illustration 2:30 to 3:15, the direction of rotation is wrong for the y-axis :)

  • @PeperMintification
    @PeperMintification 10 месяцев назад

    Excellent video!

  • @Irene-fr1cx
    @Irene-fr1cx 5 лет назад +2

    Thank you! It was helpful

  • @joseluiz8724
    @joseluiz8724 4 года назад +1

    At minute 7:01, you're showing how to extract the angles from the matrix, but using Z,Y,X orientation right?

  • @markkennedy9767
    @markkennedy9767 5 месяцев назад

    Is there any geometric/visual way of seeing why every rotation is a composition of two rotations.

  • @mariaph9700
    @mariaph9700 5 лет назад +3

    At 2:55, would you mind explaining why there is a difference in sign of rotation matrices of x,z with y?

    • @Woolfrey
      @Woolfrey  5 лет назад +1

      Hi Mariah, I believe this is a mistake! Thanks for catching this. The matrix should be:
      [ cos(a) 0 -sin(a) ]
      Ry(a) = [ 0 1 0 ]
      [ sin(a) 0 1 ]
      I'm working on a while new series of videos so if you see any other errors, or have any other things you have questions about please let me know!

    • @mariaph9700
      @mariaph9700 5 лет назад +1

      @@Woolfrey Thank you for replying to my comments. The reason I'm asking because I try to look up other resources online and they all showed what you had for the Ry matrix - which is different in signs as compared to the Rx and Rz (i.e what you had on the videos was consistent with online resources that I looked up). Would you mind double checking on this? thank you so much!

    • @jalajmakkar5123
      @jalajmakkar5123 4 года назад +2

      Rotation of 90degrees of i unit vector around y axis should produce a k unit vector, which will be achieved if the first column of matrix contains cos, 0, sin (cos 90 being zero makes the x coordinate zero).
      Rotation of 90 degrees about y axis of k unit vector should produce a negative i unit vector, which will be achieved when the third column contains: -sin, 0, cos (sin 90 being 1 makes x coordinate -1 from zero).
      Correct transformation matrix:
      (Cos, 0, -sin) (x) (x')
      ( 0 ,1, 0 ) (y) = (y')
      (Sin, 0, cos) (z) (z')

    • @ganeshramaswamy911
      @ganeshramaswamy911 4 года назад +1

      @@mariaph9700 Hi.. you are right about the sign being different in case of y as compared x and z. This stems from the fact that these are not improper transformations (mirror image) and that these are based on the right-handed coordinate system.

    • @muhammadsiddiqui2244
      @muhammadsiddiqui2244 4 года назад +2

      @@Woolfrey The mistake is not in the sign, it is in the direction of rotation you are taking according to the "standard" mathematics.

  • @paaabl0.
    @paaabl0. 3 года назад +1

    Is counterclockwise direction of rotation arbitrary?

  • @buddhabhusan8640
    @buddhabhusan8640 21 минуту назад

    Thanks

  • @MonirulAhmed
    @MonirulAhmed 3 года назад

    using matrix find the transformation equation for a 90° degree rotation about the z axis of cartesian coordinate system

  • @satyamshrivastav.2010
    @satyamshrivastav.2010 4 года назад +1

    I have doubt ,Can you please explain how 0 .97 was came , in your example problem.

  • @er4255
    @er4255 2 года назад +1

    It seems R(z) is a rotation clockwise instead of conterclockwise. Is that correct?

    • @jamesdennis6120
      @jamesdennis6120 3 месяца назад

      I saw this too and even calculated it out. I think its supposed to be the transpose of whats given. Having the vectors be row vectors rather than column vectors.

  • @georgegu3374
    @georgegu3374 8 месяцев назад

    [2:51] rotation on Y is incorrect, should be ccw

  • @xgr369
    @xgr369 Год назад

    Good for programming 3D things.

  • @enjieruuu1883
    @enjieruuu1883 6 месяцев назад

    Can you help me with an exercise please 😭🙏🏻🙏🏻 I've been struggling for 2 days with just having to give the homogeneous transformation matrix Thank you very much in advance 🌻 It’s a graded practical exercise 🙏🏻🙏🏻😭

  • @mohammedaasri2774
    @mohammedaasri2774 5 лет назад +3

    Very interessant

  • @rororiri6390
    @rororiri6390 5 месяцев назад

    very good.

  • @shwetabanerjee4600
    @shwetabanerjee4600 9 месяцев назад

    Amazing

  • @flameofthephoenix8395
    @flameofthephoenix8395 2 года назад

    My problem is that in real life the order of rotation doesn't matter and that's what I'm trying to replicate, the issue is how can I rotate the player camera to where it acts like real head movement.

  • @aidanyarberough8055
    @aidanyarberough8055 3 года назад

    Very helpful thanks

  • @addy7464
    @addy7464 4 года назад +1

    What are the unit vectors of a surface (say a cube ) when a surface is rotated by some angle.... Can you make a video on that.... It would be very helpful to me

    • @oosmanbeekawoo
      @oosmanbeekawoo Год назад

      You take the vector perpendicular to that surface and rotate it.. no?

  • @jeanbillyclaudendikumasabo5689
    @jeanbillyclaudendikumasabo5689 3 года назад

    Thank you!

  • @ramji7758
    @ramji7758 4 года назад +2

    Is rotation matrix in clockwise and counterclockwise sense about any axis is same ,if no then what is it

    • @MrSerozka
      @MrSerozka 4 года назад

      your sinuses in matrix will change sign, cosines remain the same

  • @christiantchounke5516
    @christiantchounke5516 3 года назад +1

    First of all I would like to thank you for your very informative video.
    But I am having trouble solving a problem:
    Let's imagine those two frames (nx, ny, nz) and (bx, by, bz) as you have illustrated. Where after a rotation (or series of rotations) the projection of bz with respect to (nx, ny, nz) KNOWN (that is r13, r23, r33). How can we determine from this, the rotation angles (Yaw, Pitch and Roll) around (nz, ny, nx) respectively which leaded to (bx, by, bz)? THANK YOU IN ADVANCE

  • @MonirulAhmed
    @MonirulAhmed 3 года назад

    find the transformation equation for a 90° rotation about the z axis

  • @محمدالعبد-م2ذ
    @محمدالعبد-م2ذ 2 года назад

    مشكور خوي ❤✌🇱🇾

  • @yusufkabir6166
    @yusufkabir6166 4 года назад +1

    Good

  • @tobiasenhorning9042
    @tobiasenhorning9042 4 года назад

    Thank You!!!

  • @punstress
    @punstress 2 года назад

    I have been following the other videos but this one confused the heck out of me.

    • @Woolfrey
      @Woolfrey  2 года назад

      Thanks for the feedback. I plan on redoing these some day, if I can ever find the time...!

  • @dukhtarakhtar
    @dukhtarakhtar 3 года назад

    Can anyone tell me the rotation matrix for sphere?

  • @cyklop1977
    @cyklop1977 Год назад

    Thx

  • @weekendeats348
    @weekendeats348 4 года назад

    Hello I stuck in a geometric problem can you help me .
    Let there is two point in free space and we have to draw a cube at the mid point of these two point such that cube is aligned to line created by these two point.

    • @leonm8906
      @leonm8906 4 года назад

      A bit late, but do you mean with "(...)such that cube is aligned to line created by these two point" that these points land on two of the cubes corners? If yes then we can build a cube with point 1 at the center of half the length between point 1 and 2 and the apply half a vektor from point 1 to 2 with scalar 0,5. we can get the length of the cube through pythagoras formula c² = a² + b² where c is the distance from the middle to one of the corner which means a is half the height of the cube and b is the diameter of a 2D projection ( a square). of said square the length must be equal to the length to the cube so the same formula where c is now our old b and both a and be must be our old a so c² = a² + (2a²) so a is equal to the square root of half the length between point 1 and 2 minus the squareroot of 3.
      that's my attempt I'm probably terribly wrong though.

  • @yifanzhou6975
    @yifanzhou6975 2 года назад

    My hw is to solve rotation matrix in four dimension is that possible?

    • @Woolfrey
      @Woolfrey  2 года назад

      Of course! You could do a rotation matrix in 1000 dimensions if you wanted. I'm not 100% certain where to start for 4D though... 🤔

  • @cate9541
    @cate9541 Год назад

    God bless woolfrey 🙏

  • @drallisimo34
    @drallisimo34 5 лет назад +1

    cool!!!

  • @theobellash6440
    @theobellash6440 3 года назад

    Good content please work on a good sound next time.

  • @wisalalmosawi1011
    @wisalalmosawi1011 4 года назад

    Please can you Download this lecture

    • @Woolfrey
      @Woolfrey  4 года назад

      There are lots of free RUclips downloaders on the internet!

  • @vemulasrinivasarao1630
    @vemulasrinivasarao1630 4 года назад

    Osm....

  • @oosmanbeekawoo
    @oosmanbeekawoo Год назад

    The matrix "is _given_ by..." 😏

  • @dipenbaro6858
    @dipenbaro6858 4 года назад

    Thank....m frm india.....#munmunbaro...

  • @joramarentved
    @joramarentved 5 месяцев назад

    Australia never existed?!

  • @AndreaCalaon73
    @AndreaCalaon73 4 года назад

    Where are quaternions? All real rotation in 3d are made through quaternions. The systems shown are usless

    • @Woolfrey
      @Woolfrey  4 года назад +2

      This is not true. If you rotate a 3D vector using quaternions you're essentially applying an SO(3) transformation. And if you want to visualise a 3D co-ordinate frame you need the SO(3) rotation matrix.
      I'm working on a new series of videos which will cover quaternions, but it is quite long. Rotation matrices are an easy and intuitive starting point for teaching the concept of rotation.

    • @AndreaCalaon73
      @AndreaCalaon73 4 года назад

      @@Woolfrey For visualization the double reflection of Geometric Algebra is not ok?

    • @AndreaCalaon73
      @AndreaCalaon73 4 года назад

      @@Woolfrey I said useless because any rotation library for real applications is based on quaternions. And quaternions are the even subalgebra of a left hand side frame ... We are still using Hamilton's finding

    • @Woolfrey
      @Woolfrey  4 года назад +1

      @@AndreaCalaon73 I've written my own robot control libraries which uses quaternions. As I said before, rotating a 3D vector reduces to using an SO(3) matrix. The columns of the SO(3) matrix also give you the unit vectors of a relative co-ordinate frame, and it's very common to plot these in Robot Operating System (ROS).

    • @AndreaCalaon73
      @AndreaCalaon73 4 года назад

      @@Woolfrey A rotation is actually a double reflection, in any number of dimensions.
      ruclips.net/video/iwQlrgAduMg/видео.html
      We can use matrices and their product, but Geometric Algebra makes it clear the double reflection nature. I don't know robots, but satellites and computer graphics cannot risk locking. I am not an expert, but I used quaternion libraries, when I was younger

  • @jessalrajjames3502
    @jessalrajjames3502 4 года назад

    Good