euler to quaternion c++
Hi, because I'm quite new to world of ROS, I'm struggling with transforming this Python line to c++ -
quaternion = quaternion_from_euler(roll, pitch, yaw)
I have tried multiple approaches. I used :
setEuler()
, setRPY
and other,but when I conver the RPY to quaternion and compare the results in online calculators it doesn't match. Could someone give me a clue how to solve this issue?