diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-25 08:07:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-25 08:07:03 +0000 |
commit | a1b20429e7e2ba1b44414459afd5a2b50788cd9c (patch) | |
tree | e721db30ecc3e534a03ab9b3115762959cc0c28c /dev-ros/hector_pose_estimation_core/files | |
parent | dbbd2ae5e62a232616ede4dae3ed69e15903940a (diff) |
gentoo auto-resync : 25:01:2023 - 08:07:03
Diffstat (limited to 'dev-ros/hector_pose_estimation_core/files')
-rw-r--r-- | dev-ros/hector_pose_estimation_core/files/eigen.patch | 13 | ||||
-rw-r--r-- | dev-ros/hector_pose_estimation_core/files/gcc6.patch | 35 | ||||
-rw-r--r-- | dev-ros/hector_pose_estimation_core/files/includes.patch | 12 |
3 files changed, 0 insertions, 60 deletions
diff --git a/dev-ros/hector_pose_estimation_core/files/eigen.patch b/dev-ros/hector_pose_estimation_core/files/eigen.patch deleted file mode 100644 index b58bb9e8ca3d..000000000000 --- a/dev-ros/hector_pose_estimation_core/files/eigen.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: hector_pose_estimation_core/src/measurements/poseupdate.cpp -=================================================================== ---- hector_pose_estimation_core.orig/src/measurements/poseupdate.cpp -+++ hector_pose_estimation_core/src/measurements/poseupdate.cpp -@@ -382,7 +382,7 @@ double PoseUpdate::updateInternal(State - ROS_DEBUG_STREAM_NAMED("poseupdate", "alpha = " << alpha << ", beta = " << beta); - - if (max_error > 0.0) { -- double error2 = error.transpose() * Ix * (Ix + Iy).inverse() * Iy * error; -+ double error2 = error.transpose().dot( Ix * (Ix + Iy).inverse() * Iy * error); - if (error2 > max_error * max_error) { - if (!jump_on_max_error_ || !jump_function) { - ROS_WARN_STREAM_NAMED("poseupdate", "Ignoring poseupdate for " << text << " as the error [ " << error.transpose() << " ], |error| = " << sqrt(error2) << " sigma exceeds max_error!"); diff --git a/dev-ros/hector_pose_estimation_core/files/gcc6.patch b/dev-ros/hector_pose_estimation_core/files/gcc6.patch deleted file mode 100644 index 42862915244b..000000000000 --- a/dev-ros/hector_pose_estimation_core/files/gcc6.patch +++ /dev/null @@ -1,35 +0,0 @@ -Index: hector_pose_estimation_core/include/hector_pose_estimation/input.h -=================================================================== ---- hector_pose_estimation_core.orig/include/hector_pose_estimation/input.h -+++ hector_pose_estimation_core/include/hector_pose_estimation/input.h -@@ -79,7 +79,7 @@ public: - return *variance_; - } - -- virtual bool hasVariance() const { return variance_; } -+ virtual bool hasVariance() const { return variance_ != NULL; } - virtual Variance const &getVariance() { if (!variance_) variance_.reset(new Variance); return *variance_; } - virtual Variance const &getVariance() const { return *variance_; } - virtual Variance& variance() { if (!variance_) variance_.reset(new Variance); return *variance_; } -Index: hector_pose_estimation_core/src/system/imu_model.cpp -=================================================================== ---- hector_pose_estimation_core.orig/src/system/imu_model.cpp -+++ hector_pose_estimation_core/src/system/imu_model.cpp -@@ -51,7 +51,7 @@ GyroModel::~GyroModel() - bool GyroModel::init(PoseEstimation& estimator, System &system, State& state) - { - bias_ = state.addSubState<3,3>(this, system.getName() + "_bias"); -- return bias_; -+ return bias_ != NULL; - } - - void GyroModel::getPrior(State &state) -@@ -113,7 +113,7 @@ AccelerometerModel::~AccelerometerModel( - bool AccelerometerModel::init(PoseEstimation& estimator, System &system, State& state) - { - bias_ = state.addSubState<3,3>(this, system.getName() + "_bias"); -- return bias_; -+ return bias_ != NULL; - } - - void AccelerometerModel::getPrior(State &state) diff --git a/dev-ros/hector_pose_estimation_core/files/includes.patch b/dev-ros/hector_pose_estimation_core/files/includes.patch deleted file mode 100644 index 2b530f18633c..000000000000 --- a/dev-ros/hector_pose_estimation_core/files/includes.patch +++ /dev/null @@ -1,12 +0,0 @@ -Index: hector_localization-0.3.0/hector_pose_estimation_core/include/hector_pose_estimation/state.h -=================================================================== ---- hector_localization-0.3.0.orig/include/hector_pose_estimation/state.h -+++ hector_localization-0.3.0/include/hector_pose_estimation/state.h -@@ -29,6 +29,7 @@ - #ifndef HECTOR_POSE_ESTIMATION_STATE_H - #define HECTOR_POSE_ESTIMATION_STATE_H - -+#include <vector> - #include <hector_pose_estimation/types.h> - - #include <boost/function.hpp> |