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
Merge requests
!462
Resolve "Subscriber&processor for landmark external detections"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Subscriber&processor for landmark external detections"
478-subscriber-processor-for-landmark-external-detections
into
devel
Overview
0
Commits
22
Pipelines
35
Changes
35
Merged
Joan Vallvé Navarro
requested to merge
478-subscriber-processor-for-landmark-external-detections
into
devel
2 years ago
Overview
0
Commits
22
Pipelines
35
Changes
35
Expand
Closes
#478 (closed)
0
0
Merge request reports
Compare
devel
version 17
e777fb36
2 years ago
version 16
e5bc7f2c
2 years ago
version 15
299261e3
2 years ago
version 14
92029e61
2 years ago
version 13
62e1d7db
2 years ago
version 12
6c851df5
2 years ago
version 11
bdd11183
2 years ago
version 10
50d13cad
2 years ago
version 9
7ad831e2
2 years ago
version 8
8ac94b73
2 years ago
version 7
b4e1a2ba
2 years ago
version 6
e7bda114
2 years ago
version 5
8fdce41f
2 years ago
version 4
d43342dc
2 years ago
version 3
1a21a64b
2 years ago
version 2
bc57a1f1
2 years ago
version 1
49c6d7ff
2 years ago
devel (base)
and
latest version
latest version
235c973c
22 commits,
2 years ago
version 17
e777fb36
20 commits,
2 years ago
version 16
e5bc7f2c
19 commits,
2 years ago
version 15
299261e3
18 commits,
2 years ago
version 14
92029e61
16 commits,
2 years ago
version 13
62e1d7db
15 commits,
2 years ago
version 12
6c851df5
14 commits,
2 years ago
version 11
bdd11183
13 commits,
2 years ago
version 10
50d13cad
12 commits,
2 years ago
version 9
7ad831e2
11 commits,
2 years ago
version 8
8ac94b73
10 commits,
2 years ago
version 7
b4e1a2ba
9 commits,
2 years ago
version 6
e7bda114
8 commits,
2 years ago
version 5
8fdce41f
7 commits,
2 years ago
version 4
d43342dc
5 commits,
2 years ago
version 3
1a21a64b
4 commits,
2 years ago
version 2
bc57a1f1
2 commits,
2 years ago
version 1
49c6d7ff
1 commit,
2 years ago
35 files
+
4294
−
826
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
35
Search (e.g. *.vue) (Ctrl+P)
include/core/capture/capture_landmarks_external.h
0 → 100644
+
61
−
0
Options
//--------LICENSE_START--------
//
// Copyright (C) 2020,2021,2022 Institut de Robòtica i Informàtica Industrial, CSIC-UPC.
// Authors: Joan Solà Ortega (jsola@iri.upc.edu)
// All rights reserved.
//
// This file is part of WOLF
// WOLF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
//--------LICENSE_END--------
#pragma once
//Wolf includes
#include
"core/capture/capture_base.h"
namespace
wolf
{
struct
LandmarkDetection
{
int
id
;
// id of landmark
Eigen
::
VectorXd
measure
;
// either pose or position
Eigen
::
MatrixXd
covariance
;
// covariance of the measure
double
quality
;
// [0, 1] quality of the detection
};
WOLF_PTR_TYPEDEFS
(
CaptureLandmarksExternal
);
//class CaptureLandmarksExternal
class
CaptureLandmarksExternal
:
public
CaptureBase
{
protected:
std
::
vector
<
LandmarkDetection
>
detections_
;
public:
CaptureLandmarksExternal
(
const
TimeStamp
&
_ts
,
SensorBasePtr
_sensor_ptr
,
const
std
::
vector
<
int
>&
_ids
=
{},
const
std
::
vector
<
Eigen
::
VectorXd
>&
_detections
=
{},
const
std
::
vector
<
Eigen
::
MatrixXd
>&
_covs
=
{},
const
std
::
vector
<
double
>&
_qualities
=
{});
~
CaptureLandmarksExternal
()
override
;
std
::
vector
<
LandmarkDetection
>
getDetections
()
const
{
return
detections_
;};
void
addDetection
(
const
int
&
_id
,
const
Eigen
::
VectorXd
&
_detection
,
const
Eigen
::
MatrixXd
&
_cov
,
const
double
&
quality
);
};
}
//namespace wolf
\ No newline at end of file
Loading