DeepVO-pytorch
DeepVO-pytorch copied to clipboard
code question
ang = eulerAnglesToRotationMatrix([0, answer[-1][0], 0]) location = ang.dot(predict_pose_seq[-1][3:]) predict_pose_seq[-1][3:] = location[:] last_pose = predict_pose_seq[-1]
I don't understand these steps.Can you explain these for me? I look forward to your reply. Thank you.
Hi, i have the same question as you. Have you solved this question?
same question :(
The first line gets the rotation matrix. The second line multiplies the rotation matrix by the predicted pose; so it comes in the right way according to the last pose and rotation. In the third and forth line it applies these changes so that we have the right pose in continuous of the poses till now.