Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
objectslam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
plugins
objectslam
Commits
6f3f12cc
Commit
6f3f12cc
authored
2 years ago
by
Mederic Fourmy
Browse files
Options
Downloads
Patches
Plain Diff
We can't put a Quaterniond operator randomly here
parent
5be31508
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/processor/processor_tracker_landmark_object.cpp
+1
-10
1 addition, 10 deletions
src/processor/processor_tracker_landmark_object.cpp
with
1 addition
and
10 deletions
src/processor/processor_tracker_landmark_object.cpp
+
1
−
10
View file @
6f3f12cc
...
...
@@ -637,15 +637,6 @@ bool ProcessorTrackerLandmarkObject::matchingRANSAC(const std::vector<Eigen::Iso
return
true
;
}
std
::
ostream
&
operator
<<
(
std
::
ostream
&
flux
,
Quaterniond
quat
)
{
flux
<<
quat
.
x
()
<<
" "
;
flux
<<
quat
.
y
()
<<
" "
;
flux
<<
quat
.
z
()
<<
" "
;
flux
<<
quat
.
w
()
<<
" "
;
return
flux
;
}
bool
ProcessorTrackerLandmarkObject
::
isInliers
(
Eigen
::
Isometry3d
cl_M_ol
,
Eigen
::
Isometry3d
ci_M_oi
,
Eigen
::
Isometry3d
cl_M_ci
)
{
...
...
@@ -667,7 +658,7 @@ bool ProcessorTrackerLandmarkObject::isInliers(Eigen::Isometry3d cl_M_ol, Eigen:
quat_feat_identity
.
coeffs
()
=
R2q
(
wRf_i
).
coeffs
().
transpose
();
Vector3d
pos_feat_identity
=
identity
.
translation
();
std
::
cout
<<
"
\n\n\n\n\n
"
<<
quat_feat
<<
" "
<<
quat_feat_identity
<<
std
::
endl
;
std
::
cout
<<
"
\n\n\n\n\n
"
<<
quat_feat
.
coeffs
().
transpose
()
<<
" "
<<
quat_feat_identity
.
coeffs
().
transpose
()
<<
std
::
endl
;
std
::
cout
<<
pos_feat
<<
"
\n
"
<<
pos_feat_identity
<<
"
\n\n\n\n\n
"
<<
std
::
endl
;
// Error between identity and ol_M_oi
...
...
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