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
8a6f3135
Commit
8a6f3135
authored
6 years ago
by
PierreGtch
Browse files
Options
Downloads
Patches
Plain Diff
checkTimeTolerace made static
parent
a9afbdf1
No related branches found
No related tags found
1 merge request
!290
Resolve "ProcessorLoopClosureBase class"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/core/processor/processor_base.h
+3
-3
3 additions, 3 deletions
include/core/processor/processor_base.h
with
3 additions
and
3 deletions
include/core/processor/processor_base.h
+
3
−
3
View file @
8a6f3135
...
...
@@ -96,14 +96,14 @@ public:
* Check if the time distance between two time stamps is smaller than
* the time tolerance.
*/
bool
simpleCheckTimeTolerance
(
const
TimeStamp
&
_time_stamp1
,
const
TimeStamp
&
_time_stamp2
,
const
Scalar
&
_time_tolerance
);
static
bool
simpleCheckTimeTolerance
(
const
TimeStamp
&
_time_stamp1
,
const
TimeStamp
&
_time_stamp2
,
const
Scalar
&
_time_tolerance
);
/**\brief Check time tolerance
*
* Check if the time distance between two time stamps is smaller than
* the minimum time tolerance of the two frames.
*/
bool
doubleCheckTimeTolerance
(
const
TimeStamp
&
_time_stamp1
,
const
Scalar
&
_time_tolerance1
,
const
TimeStamp
&
_time_stamp2
,
const
Scalar
&
_time_tolerance2
);
static
bool
doubleCheckTimeTolerance
(
const
TimeStamp
&
_time_stamp1
,
const
Scalar
&
_time_tolerance1
,
const
TimeStamp
&
_time_stamp2
,
const
Scalar
&
_time_tolerance2
);
protected
:
...
...
@@ -143,7 +143,7 @@ class BufferPackKeyFrame : public Buffer<PackKeyFramePtr>
/**\brief Alias funct
*
*/
bool
checkTimeTolerance
(
const
TimeStamp
&
_time_stamp1
,
const
Scalar
&
_time_tolerance1
,
const
TimeStamp
&
_time_stamp2
,
const
Scalar
&
_time_tolerance2
)
static
bool
checkTimeTolerance
(
const
TimeStamp
&
_time_stamp1
,
const
Scalar
&
_time_tolerance1
,
const
TimeStamp
&
_time_stamp2
,
const
Scalar
&
_time_tolerance2
)
{
return
doubleCheckTimeTolerance
(
_time_stamp1
,
_time_tolerance1
,
_time_stamp2
,
_time_tolerance2
);
};
};
...
...
This diff is collapsed.
Click to expand it.
Pierre Guetschel
@pguetschel
mentioned in commit
47cf5106
·
6 years ago
mentioned in commit
47cf5106
mentioned in commit 47cf5106c47bf5ccc190749d3f25c14444c8937d
Toggle commit list
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