brax icon indicating copy to clipboard operation
brax copied to clipboard

quat_to_euler can produce NaNs

Open erikfrey opened this issue 3 years ago • 1 comments

jp.arcsin can produce a NaN in quat_to_euler under certain conditions, which suggests that jp.norm(q) > 1 + epsilon. This is probably a numerical issue tied to XLA - the bug only shows up when code is jitted.

erikfrey avatar Jun 16 '22 22:06 erikfrey

Hi @erikfrey,

I'm experiencing a similar issue with quat_to_euler, did this ever get resolved?

Thanks!

willthibault avatar Jun 19 '24 15:06 willthibault