FixedFramePose3DBasics#set(ReferenceFrame, Pose3DReadOnly) throws an exception if the referenceFrame passed in is different, which makes sense for a fixed frame object. But very often, what you've actually got is a non-fixed frame pose, and the set(ReferenceFrame, Pose3DReadOnly) could be more helpful by figuring it out instead. This is pretty much just a setIncludingFrame and changeFrame back to the original.
FixedFramePose3DBasics#set(ReferenceFrame, Pose3DReadOnly)
throws an exception if thereferenceFrame
passed in is different, which makes sense for a fixed frame object. But very often, what you've actually got is a non-fixed frame pose, and theset(ReferenceFrame, Pose3DReadOnly)
could be more helpful by figuring it out instead. This is pretty much just asetIncludingFrame
andchangeFrame
back to the original.