Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef ROTORS_GAZEBO_PLUGINS_SDF_API_WRAPPER_H
00023 #define ROTORS_GAZEBO_PLUGINS_SDF_API_WRAPPER_H
00024
00025 #include <gazebo/gazebo.hh>
00026
00027 namespace gazebo {
00028
00029 #if SDF_MAJOR_VERSION >= 3
00030 typedef ignition::math::Vector3d SdfVector3;
00031 #else
00032 class SdfVector3 : public sdf::Vector3 {
00033
00034
00035
00036
00037
00038 public:
00039 using sdf::Vector3::Vector3;
00040 virtual ~SdfVector3() {}
00041
00044 double X() { return this->x; }
00045
00048 double Y() { return this->y; }
00049
00052 double Z() { return this->z; }
00053 };
00054 #endif
00055 }
00056
00057 #endif // ROTORS_GAZEBO_PLUGINS_SDF_API_WRAPPER_H
rotors_gazebo_plugins
Author(s): Fadri Furrer, Michael Burri, Mina Kamel, Janosch Nikolic, Markus Achtelik
autogenerated on Thu Apr 18 2019 02:43:43