Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
wolf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_lib
wolf
Commits
2668f5bd
Commit
2668f5bd
authored
6 years ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
removed commented lines
parent
9be1e9d5
No related branches found
No related tags found
1 merge request
!274
Resolve "Emplace API inconsistent with ProcessorTrackerFeature/Landmark functions"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/core/factor/factor_base.h
+0
-24
0 additions, 24 deletions
include/core/factor/factor_base.h
with
0 additions
and
24 deletions
include/core/factor/factor_base.h
+
0
−
24
View file @
2668f5bd
...
@@ -180,11 +180,6 @@ class FactorBase : public NodeBase, public std::enable_shared_from_this<FactorBa
...
@@ -180,11 +180,6 @@ class FactorBase : public NodeBase, public std::enable_shared_from_this<FactorBa
protected
:
protected
:
void
setFeature
(
const
FeatureBasePtr
_ft_ptr
){
feature_ptr_
=
_ft_ptr
;}
void
setFeature
(
const
FeatureBasePtr
_ft_ptr
){
feature_ptr_
=
_ft_ptr
;}
// protected:
// template<typename D>
// void print(const std::string& name, const Eigen::MatrixBase<D>& mat) const; // Do nothing if input Scalar type is ceres::Jet
// template<int R, int C>
// void print(const std::string& name, const Eigen::Matrix<Scalar, R, C>& mat) const; // Normal print if Scalar type is wolf::Scalar
};
};
}
}
...
@@ -199,25 +194,6 @@ class FactorBase : public NodeBase, public std::enable_shared_from_this<FactorBa
...
@@ -199,25 +194,6 @@ class FactorBase : public NodeBase, public std::enable_shared_from_this<FactorBa
namespace
wolf
{
namespace
wolf
{
//template<typename D>
//inline void FactorBase::print(const std::string& name, const Eigen::MatrixBase<D>& mat) const {} // Do nothing if input Scalar type is ceres::Jet
//template<int R, int C>
//inline void FactorBase::print(const std::string& name, const Eigen::Matrix<Scalar, R, C>& mat) const // Normal print if Scalar type is wolf::Scalar
//{
// if (mat.cols() == 1)
// {
// WOLF_TRACE(name, ": ", mat.transpose());
// }
// else if (mat.rows() == 1)
// {
// WOLF_TRACE(name, ": ", mat);
// }
// else
// {
// WOLF_TRACE(name, ":\n", mat);
// }
//}
template
<
typename
classType
,
typename
...
T
>
template
<
typename
classType
,
typename
...
T
>
std
::
shared_ptr
<
FactorBase
>
FactorBase
::
emplace
(
FeatureBasePtr
_ftr_ptr
,
T
&&
...
all
)
std
::
shared_ptr
<
FactorBase
>
FactorBase
::
emplace
(
FeatureBasePtr
_ftr_ptr
,
T
&&
...
all
)
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment