Go to the documentation of this file.
12 #include <gtsam_unstable/dllexport.h>
23 static const size_t dimension = 2;
33 : azimuth_(
Rot2::fromAngle(azimuth)), elevation_(
Rot2::fromAngle(elevation)) {}
36 : azimuth_(azimuth), elevation_(elevation) {}
50 template<
class POSE,
class TARGET>
52 return fromDownwardsObservation(
A.pose(),
B.translation());
65 void print(
const std::string&
s =
"")
const;
75 inline static size_t Dim() {
return dimension; }
78 inline size_t dim()
const {
return dimension; }
93 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION //
95 friend class boost::serialization::access;
96 template<
class Archive>
97 void serialize(Archive & ar,
const unsigned int ) {
98 ar & BOOST_SERIALIZATION_NVP(azimuth_);
99 ar & BOOST_SERIALIZATION_NVP(elevation_);
Array< double, 1, 3 > e(1./3., 0.5, 2.)
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
def retract(a, np.ndarray xi)
void print(const Matrix &A, const string &s, ostream &stream)
static BearingS2 fromDownwardsObservation(const POSE &A, const TARGET &B)
static size_t Dim()
Dimensionality of tangent space = 2 DOF - used to autodetect sizes.
BearingS2(double azimuth, double elevation)
Array< int, Dynamic, 1 > v
BearingS2(const Rot2 &azimuth, const Rot2 &elevation)
size_t dim() const
Dimensionality of tangent space = 2 DOF.
const Rot2 & elevation() const
3D Pose manifold SO(3) x R^3 and group SE(3)
const Rot2 & azimuth() const
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:11