NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
sliding_window_graph_optimizer_params.h
Go to the documentation of this file.
1
/* Copyright (c) 2017, United States Government, as represented by the
2
* Administrator of the National Aeronautics and Space Administration.
3
*
4
* All rights reserved.
5
*
6
* The Astrobee platform is licensed under the Apache License, Version 2.0
7
* (the "License"); you may not use this file except in compliance with the
8
* License. You may obtain a copy of the License at
9
*
10
* http://www.apache.org/licenses/LICENSE-2.0
11
*
12
* Unless required by applicable law or agreed to in writing, software
13
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
* License for the specific language governing permissions and limitations
16
* under the License.
17
*/
18
#ifndef SLIDING_WINDOW_GRAPH_OPTIMIZER_SLIDING_WINDOW_GRAPH_OPTIMIZER_PARAMS_H_
19
#define SLIDING_WINDOW_GRAPH_OPTIMIZER_SLIDING_WINDOW_GRAPH_OPTIMIZER_PARAMS_H_
20
21
#include <
graph_optimizer/graph_optimizer_params.h
>
22
23
namespace
sliding_window_graph_optimizer
{
24
struct
SlidingWindowGraphOptimizerParams
:
public
graph_optimizer::GraphOptimizerParams
{
25
// Add marginal factors to the graph after sliding the window.
26
// Marginal factors consist of linearized errors for factors removed after sliding the window.
27
bool
add_marginal_factors
;
28
// Slide window before or after optimization. Sliding before optimization
29
// ensures a set window size is used during optimization while sliding after
30
// allows more nodes and factors to be included.
31
bool
slide_window_before_optimization
;
32
};
33
}
// namespace sliding_window_graph_optimizer
34
35
#endif // SLIDING_WINDOW_GRAPH_OPTIMIZER_SLIDING_WINDOW_GRAPH_OPTIMIZER_PARAMS_H_
graph_optimizer_params.h
sliding_window_graph_optimizer::SlidingWindowGraphOptimizerParams::add_marginal_factors
bool add_marginal_factors
Definition:
sliding_window_graph_optimizer_params.h:27
sliding_window_graph_optimizer::SlidingWindowGraphOptimizerParams::slide_window_before_optimization
bool slide_window_before_optimization
Definition:
sliding_window_graph_optimizer_params.h:31
sliding_window_graph_optimizer::SlidingWindowGraphOptimizerParams
Definition:
sliding_window_graph_optimizer_params.h:24
sliding_window_graph_optimizer
Definition:
sliding_window_graph_optimizer.h:32
graph_optimizer::GraphOptimizerParams
Definition:
graph_optimizer_params.h:22