fix gtsam::ValuesIncorrectType

release/4.3a0
JzHuai0108 2016-06-06 11:11:57 -04:00
parent 417fc13c7f
commit be494039d8
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ int main(int argc, char* argv[]) {
// Fix the scale ambiguity by adding a prior
graph.push_back(PriorFactor<Pose3>(1, poses[0], noise));
// Create the initial estimate to the solution
Values initialEstimate;
Pose3 delta(Rot3::Rodrigues(-0.1, 0.2, 0.25), Point3(0.05, -0.10, 0.20));