summaryrefslogtreecommitdiff
path: root/dev-ros/hector_pose_estimation_core/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
commit1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch)
treee48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-ros/hector_pose_estimation_core/files
parentd87262dd706fec50cd150aab3e93883b6337466d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ros/hector_pose_estimation_core/files')
-rw-r--r--dev-ros/hector_pose_estimation_core/files/eigen.patch13
-rw-r--r--dev-ros/hector_pose_estimation_core/files/gcc6.patch35
-rw-r--r--dev-ros/hector_pose_estimation_core/files/includes.patch12
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 0188d027ed9d..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/hector_pose_estimation_core/include/hector_pose_estimation/state.h
-+++ hector_localization-0.3.0/hector_pose_estimation_core/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>