transform_storage.h
Go to the documentation of this file.
1 #include "sick_scan/sick_scan_base.h" /* Base definitions included in all header files, added by add_sick_scan_base_header.py. Do not edit this line. */
2 /*
3  * Copyright (c) 2010, Willow Garage, Inc.
4  * All rights reserved.
5  *
6  * Redistribution and use in source and binary forms, with or without
7  * modification, are permitted provided that the following conditions are met:
8  *
9  * * Redistributions of source code must retain the above copyright
10  * notice, this list of conditions and the following disclaimer.
11  * * Redistributions in binary form must reproduce the above copyright
12  * notice, this list of conditions and the following disclaimer in the
13  * documentation and/or other materials provided with the distribution.
14  * * Neither the name of the Willow Garage, Inc. nor the names of its
15  * contributors may be used to endorse or promote products derived from
16  * this software without specific prior written permission.
17  *
18  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
22  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28  * POSSIBILITY OF SUCH DAMAGE.
29  */
30 
33 #ifndef TF2_TRANSFORM_STORAGE_H
34 #define TF2_TRANSFORM_STORAGE_H
35 
36 #include <tf2/LinearMath/Vector3.h>
37 #include <tf2/LinearMath/Quaternion.h>
38 
39 #include <ros/message_forward.h>
40 #include <ros/time.h>
41 #include <ros/types.h>
42 
43 namespace geometry_msgs
44 {
46 }
47 
48 namespace tf2
49 {
50 
51 typedef uint32_t CompactFrameID;
52 
54 class TransformStorage
55 {
56 public:
59 
61  {
62  *this = rhs;
63  }
64 
66  {
67 #if 01
68  rotation_ = rhs.rotation_;
70  stamp_ = rhs.stamp_;
71  frame_id_ = rhs.frame_id_;
73 #endif
74  return *this;
75  }
76 
82 };
83 
84 }
85 
86 #endif // TF2_TRANSFORM_STORAGE_H
87 
geometry_msgs::Vector3
::geometry_msgs::Vector3_< std::allocator< void > > Vector3
Definition: kinetic/include/geometry_msgs/Vector3.h:58
tf2::TransformStorage::TransformStorage
TransformStorage()
tf2::TransformStorage::operator=
TransformStorage & operator=(const TransformStorage &rhs)
geometry_msgs
geometry_msgs::TransformStamped
::geometry_msgs::TransformStamped_< std::allocator< void > > TransformStamped
Definition: TransformStamped.h:60
tf2::TransformStorage::child_frame_id_
CompactFrameID child_frame_id_
Definition: transform_storage.h:81
data
data
tf2::CompactFrameID
uint32_t CompactFrameID
tf2::TransformStorage::rotation_
tf2::Quaternion rotation_
Definition: transform_storage.h:77
tf2::TransformStorage
Storage for transforms and their parent.
Definition: transform_storage.h:54
geometry_msgs::ROS_DECLARE_MESSAGE
ROS_DECLARE_MESSAGE(TransformStamped)
tf2::TransformStorage::stamp_
ros::Time stamp_
Definition: transform_storage.h:79
tf2::TransformStorage::translation_
tf2::Vector3 translation_
Definition: transform_storage.h:78
tf2::TransformStorage::frame_id_
CompactFrameID frame_id_
Definition: transform_storage.h:80
ros::Time
tf2
sick_scan_base.h
tf2::Quaternion
The Quaternion implements quaternion to perform linear algebra rotations in combination with Matrix3x...
Definition: melodic/include/tf2/LinearMath/Quaternion.h:29
geometry_msgs::TransformStamped_
Definition: TransformStamped.h:25


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:12