Segfault when reading from Value Array
Issue #313
resolved
Using the OdometryExample.py and extending it by
# print the result from python (better try reading it.)
for j in result.keys():
print("Reading: " + str(j))
pose = result.atPose2(j)
print(pose.x(), pose.y(), pose.theta())
which should read the poses infered causes a segfault.
Reading: 1
7.46978305326e-16 -5.34409097331e-16 -1.78381860782e-16
Reading: 2
[1] 27330 segmentation fault python gtsam_test.py
Also see the full code attached.
VisualISAM2Example.py also causes a segfault. Probably also due to the reading from the value array.
Commit: 687ae3d
Comments (5)
-
-
-
assigned issue to
-
assigned issue to
-
- removed responsible
-
-
assigned issue to
-
assigned issue to
-
- changed status to resolved
Works fine in cython wrapper
- Log in to comment
Any update on this?