How to rotate a pose

hi @luca-0

i had a similar problem in the past.
try reading this answer on my post.

basically, where thinking in terms of RPY but we need to convert that to rotation vector using rpy2rotvec()
(hopefully, i understood it correctly)