19 Pose3Upright::Pose3Upright(
const Rot2& bearing,
const Point3&
t)
20 : T_(bearing,
Point2(t.
x(), t.
y())), z_(t.
z())
26 :
T_(x, y, theta),
z_(z)
44 cout << s <<
"(" <<
T_.
x() <<
", " <<
T_.
y() <<
", " <<
z_ <<
", " <<
T_.
theta() <<
")" << endl;
92 H1_.topLeftCorner(2, 2) = H3x3.topLeftCorner(2, 2);
93 H1_.topRightCorner(2, 1) = H3x3.topRightCorner(2, 1);
109 H1_.topLeftCorner(2,2) = H3x3.topLeftCorner(2,2);
110 H1_.topRightCorner(2, 1) = H3x3.topRightCorner(2, 1);
128 H1_.topLeftCorner(2,2) = H3x3_1.topLeftCorner(2,2);
129 H1_.topRightCorner(2, 1) = H3x3_1.topRightCorner(2, 1);
138 assert(v.size() == 4);
153 assert(xi.size() == 4);
static Pose3Upright Expmap(const Vector &xi)
Exponential map at identity - create a rotation from canonical coordinates.
bool equals(const Pose3Upright &pose, double tol=1e-9) const
Pose3Upright()
Default constructor initializes at origin.
Pose3Upright retract(const Vector &v) const
static Vector Logmap(const Pose3Upright &p)
Log map at identity - return the canonical coordinates of this rotation.
const Point2 & t() const
translation
Rot3 is a 3D rotation represented as a rotation matrix if the preprocessor symbol GTSAM_USE_QUATERNIO...
TangentVector localCoordinates(const Class &g) const
localCoordinates as required by manifold concept: finds tangent vector between *this and g ...
static GTSAM_EXPORT Vector3 Logmap(const Pose2 &p, ChartJacobian H={})
Log map at identity - return the canonical coordinates of this rotation.
static Rot3 Yaw(double t)
Positive yaw is to right (as in aircraft heading). See ypr.
Point3 translation() const
Pose3Upright inverse(OptionalJacobian< 4, 4 > H1={}) const
inverse transformation with derivatives
void print(const std::string &s="") const
const Rot2 & r() const
rotation
Pose3Upright compose(const Pose3Upright &p2, OptionalJacobian< 4, 4 > H1={}, OptionalJacobian< 4, 4 > H2={}) const
compose this transformation onto another (first *this and then p2)
double theta() const
get theta
Array< int, Dynamic, 1 > v
Point2 translation2() const
Vector localCoordinates(const Pose3Upright &p2) const
Local 3D coordinates of Pose3Upright manifold neighborhood around current pose.
Class compose(const Class &g) const
typedef and functions to augment Eigen's VectorXd
GTSAM_EXPORT bool equals(const Pose2 &pose, double tol=1e-9) const
Class retract(const TangentVector &v) const
retract as required by manifold concept: applies v at *this
Class between(const Class &g) const
Pose3Upright between(const Pose3Upright &p2, OptionalJacobian< 4, 4 > H1={}, OptionalJacobian< 4, 4 > H2={}) const
Special class for optional Jacobian arguments.
GTSAM_EXPORT Pose2 inverse() const
inverse
static GTSAM_EXPORT Pose2 Expmap(const Vector3 &xi, ChartJacobian H={})
Exponential map at identity - create a rotation from canonical coordinates .
The matrix class, also used for vectors and row-vectors.
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
Variation of a Pose3 in which the rotation is constained to purely yaw This state is essentially a Po...