NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
timestamped_node_adder_model_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 NODE_ADDERS_TIMESTAMPED_NODE_ADDER_MODEL_PARAMS_H_
19
#define NODE_ADDERS_TIMESTAMPED_NODE_ADDER_MODEL_PARAMS_H_
20
21
#include <boost/serialization/serialization.hpp>
22
23
namespace
node_adders
{
24
struct
TimestampedNodeAdderModelParams
{
25
double
huber_k
;
26
27
private
:
28
// Serialization function
29
friend
class
boost::serialization::access
;
30
template
<
class
ARCHIVE>
31
void
serialize(ARCHIVE& ar,
const
unsigned
int
/*version*/
) {
32
// TODO(rsoussan): Why does this lead to a compile error in test?
33
// ar& BOOST_SERIALIZATION_NVP(huber_k);
34
}
35
};
36
}
// namespace node_adders
37
38
#endif // NODE_ADDERS_TIMESTAMPED_NODE_ADDER_MODEL_PARAMS_H_
node_adders
Definition:
between_factor_node_adder_model.h:35
node_adders::TimestampedNodeAdderModelParams::access
friend class boost::serialization::access
Definition:
timestamped_node_adder_model_params.h:29
node_adders::TimestampedNodeAdderModelParams::huber_k
double huber_k
Definition:
timestamped_node_adder_model_params.h:25
node_adders::TimestampedNodeAdderModelParams
Definition:
timestamped_node_adder_model_params.h:24