Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
laser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
plugins
laser
Commits
a058da2f
Commit
a058da2f
authored
2 months ago
by
Joan Vallvé Navarro
Browse files
Options
Downloads
Patches
Plain Diff
undo change
parent
21cc59c5
No related branches found
No related tags found
1 merge request
!39
Draft: Resolve "Adapt to new sensor constructors in core"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/gtest_processor_loop_closure_falko.cpp
+4
-4
4 additions, 4 deletions
test/gtest_processor_loop_closure_falko.cpp
with
4 additions
and
4 deletions
test/gtest_processor_loop_closure_falko.cpp
+
4
−
4
View file @
a058da2f
...
@@ -89,7 +89,7 @@ class ProcessorLoopClosureFalkoTest : public testing::Test
...
@@ -89,7 +89,7 @@ class ProcessorLoopClosureFalkoTest : public testing::Test
return
CaptureBase
::
emplace
<
CaptureBase
>
(
frame
,
"CaptureBase"
,
frame
->
getTimeStamp
(),
sensor
);
return
CaptureBase
::
emplace
<
CaptureBase
>
(
frame
,
"CaptureBase"
,
frame
->
getTimeStamp
(),
sensor
);
}
}
CaptureBasePtr
creat
eCapture
(
TimeStamp
ts
)
CaptureBasePtr
emplac
eCapture
(
TimeStamp
ts
)
{
{
return
std
::
make_shared
<
CaptureBase
>
(
"CaptureBase"
,
ts
,
sensor
);
return
std
::
make_shared
<
CaptureBase
>
(
"CaptureBase"
,
ts
,
sensor
);
}
}
...
@@ -128,7 +128,7 @@ TEST_F(ProcessorLoopClosureFalkoTest, frame_stored)
...
@@ -128,7 +128,7 @@ TEST_F(ProcessorLoopClosureFalkoTest, frame_stored)
TEST_F
(
ProcessorLoopClosureFalkoTest
,
capture_stored
)
TEST_F
(
ProcessorLoopClosureFalkoTest
,
capture_stored
)
{
{
// new capture
// new capture
auto
cap1
=
creat
eCapture
(
1
);
auto
cap1
=
emplac
eCapture
(
1
);
// captureCallback
// captureCallback
processor
->
captureCallback
(
cap1
);
processor
->
captureCallback
(
cap1
);
...
@@ -246,7 +246,7 @@ TEST_F(ProcessorLoopClosureFalkoTest, keyFrameCallbackCase3)
...
@@ -246,7 +246,7 @@ TEST_F(ProcessorLoopClosureFalkoTest, keyFrameCallbackCase3)
// new frame
// new frame
auto
frm1
=
problem
->
emplaceFrame
(
2
,
"PO"
,
Vector3d
::
Zero
());
auto
frm1
=
problem
->
emplaceFrame
(
2
,
"PO"
,
Vector3d
::
Zero
());
// new capture
// new capture
auto
cap1
=
creat
eCapture
(
1
);
auto
cap1
=
emplac
eCapture
(
1
);
// captureCallback
// captureCallback
processor
->
captureCallback
(
cap1
);
processor
->
captureCallback
(
cap1
);
...
@@ -265,7 +265,7 @@ TEST_F(ProcessorLoopClosureFalkoTest, keyFrameCallbackCase4)
...
@@ -265,7 +265,7 @@ TEST_F(ProcessorLoopClosureFalkoTest, keyFrameCallbackCase4)
// new frame
// new frame
auto
frm1
=
problem
->
emplaceFrame
(
1
,
"PO"
,
Vector3d
::
Zero
());
auto
frm1
=
problem
->
emplaceFrame
(
1
,
"PO"
,
Vector3d
::
Zero
());
// new capture
// new capture
auto
cap1
=
creat
eCapture
(
2
);
auto
cap1
=
emplac
eCapture
(
2
);
// captureCallback
// captureCallback
processor
->
captureCallback
(
cap1
);
processor
->
captureCallback
(
cap1
);
...
...
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