NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
utilities.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 GROUND_TRUTH_LOCALIZER_UTILITIES_H_
19 #define GROUND_TRUTH_LOCALIZER_UTILITIES_H_
20 
21 #include <ff_msgs/EkfState.h>
24 
25 #include <geometry_msgs/PoseStamped.h>
26 #include <geometry_msgs/TwistStamped.h>
27 #include <std_msgs/Header.h>
28 
29 #include <Eigen/Geometry>
30 
31 namespace ground_truth_localizer {
32 Eigen::Isometry3d PoseFromMsg(const geometry_msgs::PoseStamped& pose_msg);
33 Twist TwistFromMsg(const geometry_msgs::TwistStamped& twist_msg);
34 ff_msgs::EkfState LocStateMsg(const Eigen::Isometry3d& pose, const Twist& twist, const localization_common::Time& time);
35 } // namespace ground_truth_localizer
36 
37 #endif // GROUND_TRUTH_LOCALIZER_UTILITIES_H_
ground_truth_localizer::PoseFromMsg
Eigen::Isometry3d PoseFromMsg(const geometry_msgs::PoseStamped &pose_msg)
Definition: utilities.cc:27
vision_common::Isometry3d
Eigen::Isometry3d Isometry3d(const cv::Mat &rodrigues_rotation_cv, const cv::Mat &translation_cv)
Definition: utilities.cc:58
ground_truth_localizer::LocStateMsg
ff_msgs::EkfState LocStateMsg(const Eigen::Isometry3d &pose, const Twist &twist, const localization_common::Time &time)
Definition: utilities.cc:42
time.h
ground_truth_localizer::TwistFromMsg
Twist TwistFromMsg(const geometry_msgs::TwistStamped &twist_msg)
Definition: utilities.cc:35
twist.h
ground_truth_localizer
Definition: ground_truth_localizer_nodelet.h:42
localization_common::Time
double Time
Definition: time.h:23