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
19925d89
Commit
19925d89
authored
7 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Put pointers in correct place in constructor
parent
4bb25864
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!125
add processor_ptr_ in ConstraintBase
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/constraint_imu.h
+2
-1
2 additions, 1 deletion
src/constraint_imu.h
src/constraint_sparse.h
+1
-1
1 addition, 1 deletion
src/constraint_sparse.h
with
3 additions
and
2 deletions
src/constraint_imu.h
+
2
−
1
View file @
19925d89
...
...
@@ -141,8 +141,9 @@ class ConstraintIMU : public ConstraintSparse<15, 3, 4, 3, 3, 3, 3, 4, 3, 3, 3>
const
Eigen
::
Matrix3s
sqrt_W_r_dt_inv
;
};
inline
ConstraintIMU
::
ConstraintIMU
(
const
ProcessorBasePtr
&
_processor_ptr
,
const
FeatureIMUPtr
&
_ftr_ptr
,
inline
ConstraintIMU
::
ConstraintIMU
(
const
FeatureIMUPtr
&
_ftr_ptr
,
const
FrameIMUPtr
&
_frame_ptr
,
const
ProcessorBasePtr
&
_processor_ptr
,
bool
_apply_loss_function
,
ConstraintStatus
_status
)
:
ConstraintSparse
<
15
,
3
,
4
,
3
,
3
,
3
,
3
,
4
,
3
,
3
,
3
>
(
CTR_IMU
,
_frame_ptr
,
nullptr
,
nullptr
,
_processor_ptr
,
_apply_loss_function
,
_status
,
_frame_ptr
->
getPPtr
(),
_frame_ptr
->
getOPtr
(),
_frame_ptr
->
getVPtr
(),
...
...
This diff is collapsed.
Click to expand it.
src/constraint_sparse.h
+
1
−
1
View file @
19925d89
...
...
@@ -185,7 +185,7 @@ ConstraintSparse<RESIDUAL_SIZE,
StateBlockPtr
_state7Ptr
,
StateBlockPtr
_state8Ptr
,
StateBlockPtr
_state9Ptr
)
:
ConstraintBase
(
_tp
,
_processor_ptr
,
_frame_other_ptr
,
_feature_other_ptr
,
_landmark_other_ptr
,
_apply_loss_function
,
_status
),
ConstraintBase
(
_tp
,
_frame_other_ptr
,
_feature_other_ptr
,
_landmark_other_ptr
,
_processor_ptr
,
_apply_loss_function
,
_status
),
state_ptr_vector_
({
_state0Ptr
,
_state1Ptr
,
_state2Ptr
,
_state3Ptr
,
_state4Ptr
,
_state5Ptr
,
_state6Ptr
,
_state7Ptr
,
_state8Ptr
,
_state9Ptr
}),
state_block_sizes_vector_
({
BLOCK_0_SIZE
,
BLOCK_1_SIZE
,
BLOCK_2_SIZE
,
BLOCK_3_SIZE
,
BLOCK_4_SIZE
,
BLOCK_5_SIZE
,
BLOCK_6_SIZE
,
BLOCK_7_SIZE
,
BLOCK_8_SIZE
,
BLOCK_9_SIZE
})
{
...
...
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