gtsam 4.2
gtsam
Loading...
Searching...
No Matches
SFMdata.h File Reference

Simple example for the structure-from-motion problems. More...

Go to the source code of this file.

Functions

std::vector< gtsam::Point3createPoints ()
 A structure-from-motion example with landmarks, default function arguments give.
std::vector< gtsam::Pose3createPoses (const gtsam::Pose3 &init=gtsam::Pose3(gtsam::Rot3::Ypr(M_PI/2, 0,-M_PI/2), gtsam::Point3(30, 0, 0)), const gtsam::Pose3 &delta=gtsam::Pose3(gtsam::Rot3::Ypr(0,-M_PI/4, 0), gtsam::Point3(sin(M_PI/4) *30, 0, 30 *(1-sin(M_PI/4)))), int steps=8)

Detailed Description

Simple example for the structure-from-motion problems.

Author
Duy-Nguyen Ta

Function Documentation

◆ createPoints()

std::vector< gtsam::Point3 > createPoints ( )

A structure-from-motion example with landmarks, default function arguments give.

  • The landmarks form a 10 meter cube
  • The robot rotates around the landmarks, always facing towards the cube Passing function argument allows to specificy an initial position, a pose increment and step count.