Easy Navigation
Loading...
Searching...
No Matches
TFInfo.hpp
Go to the documentation of this file.
1// Copyright 2025 Intelligent Robotics Lab
2//
3// This file is part of the project Easy Navigation (EasyNav in short)
4// licensed under the GNU General Public License v3.0.
5// See <http://www.gnu.org/licenses/> for details.
6//
7// Easy Navigation program is free software: you can redistribute it and/or modify
8// it under the terms of the GNU General Public License as published by
9// the Free Software Foundation, either version 3 of the License, or
10// (at your option) any later version.
11//
12// This program is distributed in the hope that it will be useful,
13// but WITHOUT ANY WARRANTY; without even the implied warranty of
14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15// GNU General Public License for more details.
16//
17// You should have received a copy of the GNU General Public License
18// along with this program. If not, see <http://www.gnu.org/licenses/>.
19
20#ifndef EASYNAV_COMMON__TYPES__TFINFO_HPP_
21#define EASYNAV_COMMON__TYPES__TFINFO_HPP_
22
23#include <string>
24
25namespace easynav
26{
27
29struct TFInfo
30{
31 // These parameters are designed to enforce compliance with REP-105:
32 // http://www.ros.org/reps/rep-0105.html
33
35 std::string tf_prefix {""};
36
38 std::string map_frame {"map"};
39
41 std::string odom_frame {"odom"};
42
44 std::string robot_frame {"base_link"};
45
47 std::string robot_footprint_frame {"base_footprint"};
48
50 std::string world_frame{"earth"};
51};
52
53} // namespace easynav
54
55#endif // EASYNAV_COMMON__TYPES__TFINFO_HPP_
Definition CircularBuffer.hpp:28
Aggregated TF configuration used across EasyNav.
Definition TFInfo.hpp:30
std::string robot_frame
Robot base frame (base_link equivalent).
Definition TFInfo.hpp:44
std::string world_frame
World frame used by global estimators (e.g. earth-fixed frame).
Definition TFInfo.hpp:50
std::string robot_footprint_frame
Robot base frame (base_footprint equivalent).
Definition TFInfo.hpp:47
std::string map_frame
Global map frame.
Definition TFInfo.hpp:38
std::string tf_prefix
Optional TF prefix applied to frame names.
Definition TFInfo.hpp:35
std::string odom_frame
Odometry frame.
Definition TFInfo.hpp:41