robotology/yarp-devices-ros2

Cartesian z coordinate not correctly assigned in frameTransformSet_nwc_ros2

xEnVrE opened this issue · 1 comments

xEnVrE commented

While using the frameTransformSet_nwc_ros2 device from within a C++ executable I noticed that the transforms I was setting were not correctly published in tf. Specifically, the z coordinate was different from the one published by the user and always equal to the y coordinate.

After checking the code I discovered that the assignment is not correct, as per:

tempTransl.x = input.translation.tX;
tempTransl.y = input.translation.tY;
tempTransl.z = input.translation.tY;

xEnVrE commented

I opened #57 to fix that.