SphericalCoordinatesPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012-2016 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 
18 #ifndef _GAZEBO_SPHERICALCOORDINATES_PRIVATE_HH_
19 #define _GAZEBO_SPHERICALCOORDINATES_PRIVATE_HH_
20 
21 #include <ignition/math/Angle.hh>
22 #include <ignition/math/Matrix3.hh>
23 #include <ignition/math/Vector3.hh>
24 
26 #include "gazebo/util/system.hh"
27 
28 namespace gazebo
29 {
30  namespace common
31  {
32  class SphericalCoordinates;
33 
36 
41  {
44 
46  public: ignition::math::Angle latitudeReference;
47 
49  public: ignition::math::Angle longitudeReference;
50 
52  public: double elevationReference;
53 
56  public: ignition::math::Angle headingOffset;
57 
59  public: double ellA;
60 
62  public: double ellB;
63 
65  public: double ellF;
66 
68  public: double ellE;
69 
71  public: double ellP;
72 
74  public: ignition::math::Matrix3d rotECEFToGlobal;
75 
77  public: ignition::math::Matrix3d rotGlobalToECEF;
78 
80  public: ignition::math::Vector3d origin;
81 
83  public: double cosHea;
84 
86  public: double sinHea;
87  };
89  }
90 }
91 #endif
double ellF
Flattening ellipse parameter.
Definition: SphericalCoordinatesPrivate.hh:65
ignition::math::Angle latitudeReference
Latitude of reference point.
Definition: SphericalCoordinatesPrivate.hh:46
SphericalCoordinates::SurfaceType surfaceType
Type of surface being used.
Definition: SphericalCoordinatesPrivate.hh:43
double sinHea
Cache sine head transform.
Definition: SphericalCoordinatesPrivate.hh:86
double ellB
Semi-minor axis ellipse parameter.
Definition: SphericalCoordinatesPrivate.hh:62
ignition::math::Matrix3d rotECEFToGlobal
Rotation matrix that moves ECEF to GLOBAL.
Definition: SphericalCoordinatesPrivate.hh:74
ignition::math::Angle headingOffset
Heading offset, expressed as angle from East to gazebo x-axis, or equivalently from North to gazebo y...
Definition: SphericalCoordinatesPrivate.hh:56
ignition::math::Matrix3d rotGlobalToECEF
Rotation matrix that moves GLOBAL to ECEF.
Definition: SphericalCoordinatesPrivate.hh:77
double ellA
Semi-major axis ellipse parameter.
Definition: SphericalCoordinatesPrivate.hh:59
#define GZ_COMMON_VISIBLE
Definition: system.hh:84
double elevationReference
Elevation of reference point relative to sea level in meters.
Definition: SphericalCoordinatesPrivate.hh:52
commmon/common.hh
Definition: SphericalCoordinatesPrivate.hh:40
double cosHea
Cache cosine head transform.
Definition: SphericalCoordinatesPrivate.hh:83
double ellE
First eccentricity ellipse parameter.
Definition: SphericalCoordinatesPrivate.hh:68
SurfaceType
Unique identifiers for planetary surface models.
Definition: SphericalCoordinates.hh:46
ignition::math::Vector3d origin
Cache the ECEF position of the the origin.
Definition: SphericalCoordinatesPrivate.hh:80
ignition::math::Angle longitudeReference
Longitude of reference point.
Definition: SphericalCoordinatesPrivate.hh:49
double ellP
Second eccentricity ellipse parameter.
Definition: SphericalCoordinatesPrivate.hh:71