NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
distance_scaled_pose_covariance_interpolater.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 
19 #ifndef LOCALIZATION_COMMON_DISTANCE_SCALED_POSE_COVARIANCE_INTERPOLATER_H_
20 #define LOCALIZATION_COMMON_DISTANCE_SCALED_POSE_COVARIANCE_INTERPOLATER_H_
21 
23 
24 namespace localization_common {
26  double min_covariance = 1e-4;
27  double translation_scale = 1;
28  double orientation_scale = 0.01;
29 };
30 
32  public:
35 
36  PoseCovariance Interpolate(const PoseWithCovariance& a, const PoseWithCovariance& b, const Time& timestamp_a,
37  const Time& timestamp_b) final;
38 
39  private:
41 };
42 } // namespace localization_common
43 
44 #endif // LOCALIZATION_COMMON_DISTANCE_SCALED_POSE_COVARIANCE_INTERPOLATER_H_
localization_common
Definition: averager.h:33
pose_covariance_interpolater.h
localization_common::DistanceScaledPoseCovarianceInterpolater::DistanceScaledPoseCovarianceInterpolater
DistanceScaledPoseCovarianceInterpolater(const DistanceScaledPoseCovarianceInterpolaterParams &params=DistanceScaledPoseCovarianceInterpolaterParams())
Definition: distance_scaled_pose_covariance_interpolater.cc:22
localization_common::DistanceScaledPoseCovarianceInterpolaterParams::translation_scale
double translation_scale
Definition: distance_scaled_pose_covariance_interpolater.h:27
localization_common::DistanceScaledPoseCovarianceInterpolater::Interpolate
PoseCovariance Interpolate(const PoseWithCovariance &a, const PoseWithCovariance &b, const Time &timestamp_a, const Time &timestamp_b) final
Definition: distance_scaled_pose_covariance_interpolater.cc:26
localization_common::DistanceScaledPoseCovarianceInterpolater
Definition: distance_scaled_pose_covariance_interpolater.h:31
localization_common::DistanceScaledPoseCovarianceInterpolaterParams::orientation_scale
double orientation_scale
Definition: distance_scaled_pose_covariance_interpolater.h:28
localization_common::PoseCovariance
Eigen::Matrix< double, 6, 6 > PoseCovariance
Definition: pose_with_covariance.h:27
localization_common::PoseWithCovariance
Definition: pose_with_covariance.h:28
localization_common::DistanceScaledPoseCovarianceInterpolaterParams
Definition: distance_scaled_pose_covariance_interpolater.h:25
localization_common::DistanceScaledPoseCovarianceInterpolaterParams::min_covariance
double min_covariance
Definition: distance_scaled_pose_covariance_interpolater.h:26
localization_common::PoseCovarianceInterpolater
Definition: pose_covariance_interpolater.h:25
localization_common::Time
double Time
Definition: time.h:23