Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Create quaternion from euler in arduino

HI

How to create a quaternion from Euler angles in arduino?

In python it is possible to use this function:

from geometry_msgs.msg import Quaternion
import tf
.
.
.
odom_orientation = Quaternion()
odom_orientation = tf.transformations.quaternion_from_euler(0.0, 0.0, th)

thanks