ros_conversions.h
Go to the documentation of this file.
1 /**
2  * This file is part of ArmarX.
3  *
4  * ArmarX is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  *
8  * ArmarX is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * @author Tobias Gröger ( tobias dot groeger at student dot kit dot edu )
17  * @date 2022
18  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
19  * GNU General Public License
20  */
21 
22 #pragma once
23 
28 #include <geometry_msgs/Twist.h>
29 #include <teb_local_planner/costmap.h>
30 #include <teb_local_planner/penalty_models.h>
31 #include <teb_local_planner/pose_se2.h>
32 #include <teb_local_planner/timed_elastic_band.h>
33 
35 {
36 
37  Eigen::Vector2d toRos2D(const Eigen::Vector2f& vec);
38 
39  Eigen::Vector2d toRos(const Eigen::Vector3f& vec);
40  Eigen::Vector3f fromRos(const Eigen::Vector2d& vec);
41 
42  teb_local_planner::PoseSE2 toRos(const core::Pose& pose);
43  teb_local_planner::PoseSE2 toRos(const core::Pose2D& pose);
44 
45  core::Pose fromRos(const teb_local_planner::PoseSE2& pose);
46 
47  geometry_msgs::Twist toRos(const core::Twist& velocity);
48 
49  teb_local_planner::TimedElasticBand toRos(const core::GlobalTrajectory& trajectory);
50 
51  core::LocalTrajectory fromRos(const teb_local_planner::TimedElasticBand& teb);
52 
53  human::shapes::Ellipse toRos(const human::shapes::Ellipse& ellipse);
54 
55  teb_local_planner::Costmap toRos(const algorithms::Costmap& costmap);
56 
57  teb_local_planner::PenaltyModelPtr toRos(const human::LinearPenaltyModel& model);
58 
59  teb_local_planner::PenaltyModelPtr toRos(const human::ExponentialPenaltyModel& model);
60 
61 } // namespace armarx::navigation::conv
armarx::navigation::core::Pose
Eigen::Isometry3f Pose
Definition: basic_types.h:31
basic_types.h
armarx::navigation::conv::fromRos
Eigen::Vector3f fromRos(const Eigen::Vector2d &vec)
Definition: ros_conversions.cpp:30
armarx::navigation::core::Pose2D
Eigen::Isometry2f Pose2D
Definition: basic_types.h:34
Costmap.h
armarx::navigation::conv
This file is part of ArmarX.
Definition: eigen.cpp:7
armarx::navigation::conv::toRos
Eigen::Vector2d toRos(const Eigen::Vector3f &vec)
Definition: ros_conversions.cpp:24
armarx::navigation::conv::toRos2D
Eigen::Vector2d toRos2D(const Eigen::Vector2f &vec)
Definition: ros_conversions.cpp:18
shapes.h
types.h