My Project 1.0
Holistic Fusion: A Generic Framework for Multimodal Sensor Fusion
Loading...
Searching...
No Matches
ElementToRoot.h
Go to the documentation of this file.
1/*
2Copyright 2022 by Julian Nubert, Robotic Systems Lab, ETH Zurich.
3All rights reserved.
4This file is released under the "BSD-3-Clause License".
5Please see the LICENSE file that has been included as part of this package.
6 */
7
8#ifndef ELEMENTTOROOT_H
9#define ELEMENTTOROOT_H
10
11#include "tf/tf.h"
12
13namespace holistic_fusion {
14
15class ElementToRoot final {
16 public:
18 explicit ElementToRoot(const tf::Transform& T, const std::string& rootName_, const std::string& elementName_)
19 : T_root_element(T), rootName(rootName_), elementName(elementName_) {}
20
21 tf::Transform T_root_element;
22 std::string rootName;
23 std::string elementName;
24};
25
26} // namespace holistic_fusion
27
28#endif // ELEMENTTOROOT_H
std::string elementName
The name of the element.
ElementToRoot(const tf::Transform &T, const std::string &rootName_, const std::string &elementName_)
Constructor.
std::string rootName
The name of the root element to which this link is attached.
tf::Transform T_root_element
The KDL segment.