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
29
30#include <geometry_msgs/Twist.h>
31#include <teb_local_planner/costmap.h>
32#include <teb_local_planner/penalty_models.h>
33#include <teb_local_planner/pose_se2.h>
34#include <teb_local_planner/timed_elastic_band.h>
35
37{
38
39 Eigen::Vector2d toRos2D(const Eigen::Vector2f& vec);
40
41 Eigen::Vector2d toRos(const Eigen::Vector3f& vec);
42 Eigen::Vector3f fromRos(const Eigen::Vector2d& vec);
43
44 teb_local_planner::PoseSE2 toRos(const core::Pose& pose);
45 teb_local_planner::PoseSE2 toRos(const core::Pose2D& pose);
46
47 core::Pose fromRos(const teb_local_planner::PoseSE2& pose);
48
49 geometry_msgs::Twist toRos(const core::Twist& velocity);
50
51 teb_local_planner::TimedElasticBand toRos(const core::GlobalTrajectory& trajectory);
52
53 core::LocalTrajectory fromRos(const teb_local_planner::TimedElasticBand& teb, DateTime timestamp);
54
55 human::shapes::Ellipse toRos(const human::shapes::Ellipse& ellipse);
56
57 teb_local_planner::Costmap toRos(const algorithms::Costmap& costmap);
58
59 teb_local_planner::PenaltyModelPtr toRos(const human::LinearPenaltyModel& model);
60
61 teb_local_planner::PenaltyModelPtr toRos(const human::ExponentialPenaltyModel& model);
62
63} // namespace armarx::navigation::conv
std::string timestamp()
This file is part of ArmarX.
Definition eigen.cpp:11
Eigen::Vector2d toRos(const Eigen::Vector3f &vec)
Eigen::Vector3f fromRos(const Eigen::Vector2d &vec)
Eigen::Vector2d toRos2D(const Eigen::Vector2f &vec)
Eigen::Isometry2f Pose2D
Definition basic_types.h:34
Eigen::Isometry3f Pose
Definition basic_types.h:31