fixed python build error

release/4.3a0
mkielo3 2025-05-08 19:57:32 -04:00
parent c5a26aec59
commit 5111215600
3 changed files with 10 additions and 9 deletions

View File

@ -84,7 +84,7 @@ template <>
struct traits<Event> : internal::Manifold<Event> {};
/// Time of arrival to given sensor
class TimeOfArrival {
class GTSAM_EXPORT TimeOfArrival {
const double speed_; ///< signal speed
public:

View File

@ -1514,18 +1514,19 @@ gtsam::TriangulationResult triangulateSafe(
const gtsam::Point2Vector& measurements,
const gtsam::TriangulationParameters& params);
#include <gtsam_unstable/geometry/Event.h>
#include <gtsam/geometry/Event.h>
class Event {
Event();
Event(double t, const gtsam::Point3& p);
Event(double t, double x, double y, double z);
double time() const;
gtsam::Point3 location() const;
TimeOfArrival();
TimeOfArrival(double speed);
double measure(const gtsam::Event& event, const gtsam::Point3& sensor) const;
double height() const;
void print(string s) const;
};
#include <gtsam/geometry/BearingRange.h>
template <POSE, POINT, BEARING, RANGE>
class BearingRange {

View File

@ -379,11 +379,11 @@ virtual class RangeFactor : gtsam::NoiseModelFactor {
typedef gtsam::RangeFactor<gtsam::PoseRTV, gtsam::PoseRTV> RangeFactorRTV;
double height() const;
void print(string s) const;
};
class TimeOfArrival {
TimeOfArrival();
TimeOfArrival(double speed);
double measure(const gtsam::Event& event, const gtsam::Point3& sensor) const;
};
#include <gtsam_unstable/slam/TOAFactor.h>
virtual class TOAFactor : gtsam::NonlinearFactor {