this line expects (and reads from adjacent memory) values for all joints (including mimic joints), while further up we make sure that only active joints are passed in.
Unfortunately we currently have a cases where the first joint is not an active joint and the value gets written "somewhere"
We have this bug about ten times all over our product, maybe a helper function should be added to RobotState to do the sane thing and set only the active joint positions?
https://github.com/ros-planning/moveit_visual_tools/blob/c166f8ee6412023b4183fc091abe6acbcdba2448/src/moveit_visual_tools.cpp#L273
this line expects (and reads from adjacent memory) values for all joints (including mimic joints), while further up we make sure that only active joints are passed in.
Unfortunately we currently have a cases where the first joint is not an active joint and the value gets written "somewhere"