From 240a9592b92ca2a2ff8a048b6131c7d96c38aa9b Mon Sep 17 00:00:00 2001 From: lvzhaoyang Date: Sun, 7 Dec 2014 00:41:12 -0500 Subject: [PATCH] A wrong commit of last smartRangeFactor.m Now fixed. --- matlab/unstable_examples/SmartRangeFactorExample.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab/unstable_examples/SmartRangeFactorExample.m b/matlab/unstable_examples/SmartRangeFactorExample.m index 93e5dce0c..7535447df 100644 --- a/matlab/unstable_examples/SmartRangeFactorExample.m +++ b/matlab/unstable_examples/SmartRangeFactorExample.m @@ -82,8 +82,8 @@ for ind_pose = 2:7 key_prev = poseKey(ind_pose-1); key_curr = poseKey(ind_pose); - prev_pose = smartValues.at(key_prev); - curr_pose = smartValues.at(key_curr); + prev_pose = smartValues.atPose2(key_prev); + curr_pose = smartValues.atPose2(key_curr); GTDeltaPose = prev_pose.between(curr_pose); noisePose = Pose2([t_noise*rand; t_noise*rand; r_noise*rand]); NoisyDeltaPose = GTDeltaPose.compose(noisePose);