Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
c
d
e
f
g
i
k
l
m
n
p
q
r
s
t
u
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Classes
Class List
Class Hierarchy
Class Members
All
!
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
!
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
f
k
l
m
n
o
p
r
s
t
v
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
:
a
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
u
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Enumerations
Enumerator
b
c
e
f
g
i
l
m
n
o
p
r
s
t
u
v
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
doc
Code
doc/Code/VisualISAMExample.cpp
Go to the documentation of this file.
1
int
relinearizeInterval
= 3;
2
NonlinearISAM
isam
(
relinearizeInterval
);
3
4
// ... first frame initialization omitted ...
5
6
// Loop over the different poses, adding the observations to iSAM
7
for
(
size_t
i
= 1;
i
< poses.size(); ++
i
) {
8
9
// Add factors for each landmark observation
10
NonlinearFactorGraph
graph
;
11
for
(
size_t
j
= 0;
j
< points.size(); ++
j
) {
12
graph
.add(
13
GenericProjectionFactor<Pose3, Point3, Cal3_S2>
14
(
z
[
i
][
j
], noise,Symbol(
'x'
,
i
), Symbol(
'l'
,
j
),
K
)
15
);
16
}
17
18
// Add an initial guess for the current pose
19
Values
initialEstimate;
20
initialEstimate.insert(Symbol(
'x'
,
i
), initial_x[
i
]);
21
22
// Update iSAM with the new factors
23
isam
.update(
graph
, initialEstimate);
24
}
Values
relinearizeInterval
int relinearizeInterval
Definition:
doc/Code/VisualISAMExample.cpp:1
j
std::ptrdiff_t j
Definition:
tut_arithmetic_redux_minmax.cpp:2
isam
NonlinearISAM isam(relinearizeInterval)
pybind_wrapper_test_script.z
z
Definition:
pybind_wrapper_test_script.py:61
K
#define K
Definition:
igam.h:8
graph
NonlinearFactorGraph graph
Definition:
doc/Code/OdometryExample.cpp:2
i
int i
Definition:
BiCGSTAB_step_by_step.cpp:9
gtsam
Author(s):
autogenerated on Wed Mar 19 2025 03:09:03