z-value in eulerAngles

"Anders Lyhagen" <[email protected]> Thu, 18 Mar 2004 11:44:06 +0100
Newsgroups gmane.comp.cybernetics.webot.contest
Message-ID <002f01c40cd5$f0778ab0$413e7f3e@Anders>
Hi,
I don't quite understand what the inclinometer method eulerAngles return. The x-value seems to be the inclinometer value in the direction of back_1 (no matter the orientation of the robot), but the z value seems a bit wierd though. For example, a robot standing up straight has z = 0 (as expected), but when lying on its belly the z value is pi, thus z cannot be the tilt value.(?) I would like to find an exclusive criteria telling whether the robot is lying on its side. Any Suggestions?

Best,
Anders.L