NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
timestamped_handrail_pose.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_MEASUREMENTS_TIMESTAMPED_HANDRAIL_POSE_H_
20
#define LOCALIZATION_MEASUREMENTS_TIMESTAMPED_HANDRAIL_POSE_H_
21
22
#include <
localization_measurements/timestamped_pose.h
>
23
#include <
localization_common/time.h
>
24
25
namespace
localization_measurements
{
26
struct
TimestampedHandrailPose
:
public
TimestampedPose
{
27
TimestampedHandrailPose
(
const
gtsam::Pose3&
pose
,
const
localization_common::Time
time
,
28
const
bool
accurate_z_position
,
const
double
length
,
const
double
distance_to_wall
)
29
:
TimestampedPose
(
pose
,
time
),
30
accurate_z_position
(
accurate_z_position
),
31
length
(
length
),
32
distance_to_wall
(
distance_to_wall
) {}
33
TimestampedHandrailPose
() =
default
;
34
// Sometimes the handrail endpoints aren't seen and the z translation component doesn't reflect the center
35
// of the handrail
36
bool
accurate_z_position
;
37
double
length
;
38
double
distance_to_wall
;
39
};
40
}
// namespace localization_measurements
41
42
#endif // LOCALIZATION_MEASUREMENTS_TIMESTAMPED_HANDRAIL_POSE_H_
localization_measurements::TimestampedHandrailPose::distance_to_wall
double distance_to_wall
Definition:
timestamped_handrail_pose.h:38
localization_measurements::TimestampedPose::time
localization_common::Time time
Definition:
timestamped_pose.h:31
localization_measurements::TimestampedHandrailPose::TimestampedHandrailPose
TimestampedHandrailPose(const gtsam::Pose3 &pose, const localization_common::Time time, const bool accurate_z_position, const double length, const double distance_to_wall)
Definition:
timestamped_handrail_pose.h:27
timestamped_pose.h
localization_measurements::TimestampedHandrailPose
Definition:
timestamped_handrail_pose.h:26
time.h
localization_measurements
Definition:
depth_correspondences.h:25
localization_measurements::TimestampedHandrailPose::TimestampedHandrailPose
TimestampedHandrailPose()=default
localization_measurements::TimestampedPose
Definition:
timestamped_pose.h:27
localization_measurements::TimestampedHandrailPose::accurate_z_position
bool accurate_z_position
Definition:
timestamped_handrail_pose.h:36
localization_measurements::TimestampedHandrailPose::length
double length
Definition:
timestamped_handrail_pose.h:37
localization_common::Time
double Time
Definition:
time.h:23
localization_measurements::TimestampedPose::pose
gtsam::Pose3 pose
Definition:
timestamped_pose.h:30