Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bodydynamics
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
bodydynamics
Commits
8b260022
Commit
8b260022
authored
4 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
rename emplaceKeyFrame -> emplace and emplaceFrame
parent
d199f331
No related branches found
No related tags found
3 merge requests
!18
Release after RAL
,
!17
After 2nd RAL submission
,
!8
Resolve "follow core:#313"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/gtest_factor_force_torque.cpp
+1
-1
1 addition, 1 deletion
test/gtest_factor_force_torque.cpp
test/gtest_processor_force_torque_preint.cpp
+1
-1
1 addition, 1 deletion
test/gtest_processor_force_torque_preint.cpp
with
2 additions
and
2 deletions
test/gtest_factor_force_torque.cpp
+
1
−
1
View file @
8b260022
...
...
@@ -151,7 +151,7 @@ void perturbateAllIfUnFixed(const FrameBasePtr& KF)
FrameBasePtr
createKFWithCDLI
(
const
ProblemPtr
&
problem
,
const
TimeStamp
&
t
,
VectorComposite
x_origin
,
Vector3d
c
,
Vector3d
cd
,
Vector3d
Lc
,
Vector6d
bias_imu
)
{
FrameBasePtr
KF
=
FrameBase
::
emplace
KeyFrame
<
FrameBase
>
(
problem
->
getTrajectory
(),
t
,
"POV"
,
x_origin
);
FrameBasePtr
KF
=
FrameBase
::
emplace
<
FrameBase
>
(
problem
->
getTrajectory
(),
t
,
"POV"
,
x_origin
);
StateBlockPtr
sbc
=
make_shared
<
StateBlock
>
(
c
);
KF
->
addStateBlock
(
'C'
,
sbc
,
problem
);
StateBlockPtr
sbd
=
make_shared
<
StateBlock
>
(
cd
);
KF
->
addStateBlock
(
'D'
,
sbd
,
problem
);
StateBlockPtr
sbL
=
make_shared
<
StateBlock
>
(
Lc
);
KF
->
addStateBlock
(
'L'
,
sbL
,
problem
);
...
...
This diff is collapsed.
Click to expand it.
test/gtest_processor_force_torque_preint.cpp
+
1
−
1
View file @
8b260022
...
...
@@ -204,7 +204,7 @@ public:
// - call setOrigin on processors isMotion
setOriginState
();
MatrixXd
P_origin_
=
pow
(
1e-3
,
2
)
*
MatrixXd
::
Identity
(
18
,
18
);
KF1_
=
problem_
->
emplace
Key
Frame
(
t0_
,
x_origin_
);
KF1_
=
problem_
->
emplaceFrame
(
t0_
,
x_origin_
);
// Prior pose factor
CapturePosePtr
pose_prior_capture
=
CaptureBase
::
emplace
<
CapturePose
>
(
KF1_
,
t0_
,
nullptr
,
x_origin_
.
head
(
7
),
P_origin_
.
topLeftCorner
(
6
,
6
));
pose_prior_capture
->
emplaceFeatureAndFactor
();
...
...
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