12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- #include < geography_utils /projection.hpp>
15
+ #include < autoware_geography_utils /projection.hpp>
16
16
17
17
#include < gtest/gtest.h>
18
18
@@ -41,7 +41,7 @@ TEST(GeographyUtilsProjection, ProjectForwardToMGRS)
41
41
42
42
// conversion
43
43
const geometry_msgs::msg::Point converted_point =
44
- geography_utils::project_forward (geo_point, projector_info);
44
+ autoware:: geography_utils::project_forward (geo_point, projector_info);
45
45
46
46
EXPECT_NEAR (converted_point.x , local_point.x , 1.0 );
47
47
EXPECT_NEAR (converted_point.y , local_point.y , 1.0 );
@@ -70,7 +70,7 @@ TEST(GeographyUtilsProjection, ProjectReverseFromMGRS)
70
70
71
71
// conversion
72
72
const geographic_msgs::msg::GeoPoint converted_point =
73
- geography_utils::project_reverse (local_point, projector_info);
73
+ autoware:: geography_utils::project_reverse (local_point, projector_info);
74
74
75
75
EXPECT_NEAR (converted_point.latitude , geo_point.latitude , 0.0001 );
76
76
EXPECT_NEAR (converted_point.longitude , geo_point.longitude , 0.0001 );
@@ -93,9 +93,9 @@ TEST(GeographyUtilsProjection, ProjectForwardAndReverseMGRS)
93
93
94
94
// conversion
95
95
const geometry_msgs::msg::Point converted_local_point =
96
- geography_utils::project_forward (geo_point, projector_info);
96
+ autoware:: geography_utils::project_forward (geo_point, projector_info);
97
97
const geographic_msgs::msg::GeoPoint converted_geo_point =
98
- geography_utils::project_reverse (converted_local_point, projector_info);
98
+ autoware:: geography_utils::project_reverse (converted_local_point, projector_info);
99
99
100
100
EXPECT_NEAR (converted_geo_point.latitude , geo_point.latitude , 0.0001 );
101
101
EXPECT_NEAR (converted_geo_point.longitude , geo_point.longitude , 0.0001 );
@@ -126,7 +126,7 @@ TEST(GeographyUtilsProjection, ProjectForwardToLocalCartesianUTMOrigin)
126
126
127
127
// conversion
128
128
const geometry_msgs::msg::Point converted_point =
129
- geography_utils::project_forward (geo_point, projector_info);
129
+ autoware:: geography_utils::project_forward (geo_point, projector_info);
130
130
131
131
EXPECT_NEAR (converted_point.x , local_point.x , 1.0 );
132
132
EXPECT_NEAR (converted_point.y , local_point.y , 1.0 );
@@ -151,9 +151,9 @@ TEST(GeographyUtilsProjection, ProjectForwardAndReverseLocalCartesianUTMOrigin)
151
151
152
152
// conversion
153
153
const geometry_msgs::msg::Point converted_local_point =
154
- geography_utils::project_forward (geo_point, projector_info);
154
+ autoware:: geography_utils::project_forward (geo_point, projector_info);
155
155
const geographic_msgs::msg::GeoPoint converted_geo_point =
156
- geography_utils::project_reverse (converted_local_point, projector_info);
156
+ autoware:: geography_utils::project_reverse (converted_local_point, projector_info);
157
157
158
158
EXPECT_NEAR (converted_geo_point.latitude , geo_point.latitude , 0.0001 );
159
159
EXPECT_NEAR (converted_geo_point.longitude , geo_point.longitude , 0.0001 );
0 commit comments