简体   繁体   中英

scipy Rotation.as_euler and rotation converter produce different results

www.andre-gaschler.com/rotationconverter

** https://i.stack.imgur.com/8CKxr.png Euler angles in Output section. **

Rotation.as_euler

R.from_rotvec([0.246806, -0.816317, -0.220443]).as_euler("xyz", degrees=True)
>> array([ 24.49758771, -43.57370107, -23.37261822])

Which one is wrong?

You're inputting radians on the site but you've got degrees=True in the function call. Try playing around with them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM