add Dim function
parent
5393c306a4
commit
9d25e28123
|
|
@ -85,6 +85,11 @@ namespace gtsam {
|
|||
return 6;
|
||||
}
|
||||
|
||||
/** Dimensionality of the tangent space */
|
||||
static inline size_t Dim() {
|
||||
return 6;
|
||||
}
|
||||
|
||||
/** Exponential map around p0 */
|
||||
inline StereoCamera expmap(const Vector& d) const {
|
||||
return StereoCamera(pose().expmap(d), calibration());
|
||||
|
|
|
|||
Loading…
Reference in New Issue