NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
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 GRAPH_OPTIMIZER_GRAPH_OPTIMIZER_PARAMS_H_
19
#define GRAPH_OPTIMIZER_GRAPH_OPTIMIZER_PARAMS_H_
20
21
namespace
graph_optimizer
{
22
struct
GraphOptimizerParams
{
23
// Huber k used for all factors.
24
double
huber_k
;
25
// Log statistics after destruction.
26
bool
log_stats_on_destruction
;
27
// Log factor graph info and stats after optimization.
28
bool
print_after_optimization
;
29
};
30
}
// namespace graph_optimizer
31
32
#endif // GRAPH_OPTIMIZER_GRAPH_OPTIMIZER_PARAMS_H_
graph_optimizer::GraphOptimizerParams::huber_k
double huber_k
Definition:
graph_optimizer_params.h:24
graph_optimizer::GraphOptimizerParams::log_stats_on_destruction
bool log_stats_on_destruction
Definition:
graph_optimizer_params.h:26
graph_optimizer::GraphOptimizerParams::print_after_optimization
bool print_after_optimization
Definition:
graph_optimizer_params.h:28
graph_optimizer
Definition:
graph_optimizer.h:39
graph_optimizer::GraphOptimizerParams
Definition:
graph_optimizer_params.h:22