You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where p1 and p2 are PoseWithCovariance type from ROS. Printing p1mrpt and p2mrpt gives me correct result.
Then when I try to add p1mrpt and p2mrpt that breaks because __add__ method (and therefore + operator) is missing. Deterministic poses (CPose3DPDF) seem to have + operator and in old bindings + operator also worked for uncertain poses.
I next tried this for a workaround given the methods that are available:
I am trying to compose two uncertain poses using Jacobian composition. I go from ROS poses to MRPT poses, which seems to work fine:
where
p1
andp2
arePoseWithCovariance
type from ROS. Printingp1mrpt
andp2mrpt
gives me correct result.Then when I try to add
p1mrpt
andp2mrpt
that breaks because__add__
method (and therefore+
operator) is missing. Deterministic poses (CPose3DPDF
) seem to have+
operator and in old bindings+
operator also worked for uncertain poses.I next tried this for a workaround given the methods that are available:
That returned
None
type, so that seems to be broken too.Am I missing something and if it's really a bug, is there a viable workaround?
The text was updated successfully, but these errors were encountered: