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> {}; struct traits<Event> : internal::Manifold<Event> {};
/// Time of arrival to given sensor /// Time of arrival to given sensor
class TimeOfArrival { class GTSAM_EXPORT TimeOfArrival {
const double speed_; ///< signal speed const double speed_; ///< signal speed
public: public:

View File

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

View File

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