File tree Expand file tree Collapse file tree 5 files changed +15
-13
lines changed Expand file tree Collapse file tree 5 files changed +15
-13
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ ly_add_target(
54
54
Gem::Atom_RPI.Public
55
55
Gem::AtomLyIntegration_CommonFeatures.Static
56
56
Gem::ROS2.Static
57
+ Gem::LevelGeoreferencing.API
57
58
)
58
59
59
60
# Here add ${gem_name} target, it depends on the Private Object library and Public API interface
Original file line number Diff line number Diff line change 3
3
#include < AzCore/Component/TransformBus.h>
4
4
#include < AzCore/Serialization/EditContext.h>
5
5
#include < AzCore/Serialization/SerializeContext.h>
6
+ #include < Georeferencing/GeoreferenceBus.h>
6
7
#include < LmbrCentral/Scripting/TagComponentBus.h>
7
8
#include < LmbrCentral/Shape/SplineComponentBus.h>
8
- #include < ROS2/Georeference/GeoreferenceBus.h>
9
9
10
10
namespace SplineTools
11
11
{
@@ -115,13 +115,14 @@ namespace SplineTools
115
115
}
116
116
else if (frame == " WGS84" && m_config.m_allowWGS84 )
117
117
{
118
- ROS2::WGS::WGS84Coordinate currentPositionWGS84;
118
+ using namespace Georeferencing ;
119
+ WGS::WGS84Coordinate currentPositionWGS84;
119
120
currentPositionWGS84.m_latitude = pose.position .x ;
120
121
currentPositionWGS84.m_longitude = pose.position .y ;
121
122
currentPositionWGS84.m_altitude = pose.position .z ;
122
123
AZ::Vector3 levelPosition{ 0 };
123
- ROS2:: GeoreferenceRequestsBus::BroadcastResult (
124
- levelPosition, &ROS2:: GeoreferenceRequests::ConvertFromWGS84ToLevel, currentPositionWGS84);
124
+ GeoreferenceRequestsBus::BroadcastResult (
125
+ levelPosition, &GeoreferenceRequests::ConvertFromWGS84ToLevel, currentPositionWGS84);
125
126
points[i] = worldTm.TransformPoint (levelPosition);
126
127
}
127
128
else
Original file line number Diff line number Diff line change 3
3
#include < AzCore/Component/TransformBus.h>
4
4
#include < AzCore/Serialization/EditContext.h>
5
5
#include < AzToolsFramework/UI/UICore/WidgetHelpers.h>
6
+ #include < Georeferencing/GeoreferenceBus.h>
7
+ #include < Georeferencing/GeoreferenceStructures.h>
6
8
#include < LmbrCentral/Shape/SplineComponentBus.h>
7
9
#include < QFileDialog>
8
10
#include < QMessageBox>
9
- #include < ROS2/Georeference/GeoreferenceBus.h>
10
- #include < ROS2/Georeference/GeoreferenceStructures.h>
11
11
#include < csv/csv.hpp>
12
12
13
13
namespace SplineTools
@@ -240,13 +240,13 @@ namespace SplineTools
240
240
{
241
241
for (csv::CSVRow& row : reader)
242
242
{
243
- ROS2::WGS::WGS84Coordinate coordinate;
243
+ using namespace Georeferencing ;
244
+ WGS::WGS84Coordinate coordinate;
244
245
coordinate.m_latitude = row[*indexLat].get <double >();
245
246
coordinate.m_longitude = row[*indexLon].get <double >();
246
247
coordinate.m_altitude = row[*indexAlt].get <float >();
247
248
auto coordinateInLevel = AZ::Vector3 (-1 );
248
- ROS2::GeoreferenceRequestsBus::BroadcastResult (
249
- coordinateInLevel, &ROS2::GeoreferenceRequests::ConvertFromWGS84ToLevel, coordinate);
249
+ GeoreferenceRequestsBus::BroadcastResult (coordinateInLevel, &GeoreferenceRequests::ConvertFromWGS84ToLevel, coordinate);
250
250
251
251
ret.emplace_back (AZStd::move (coordinateInLevel));
252
252
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"gem_name" : " SplineTools" ,
3
- "version" : " 1 .0.0" ,
3
+ "version" : " 2 .0.0" ,
4
4
"display_name" : " SplineTools" ,
5
5
"license" : " Apache-2.0" ,
6
6
"license_url" : " https://opensource.org/licenses/Apache-2.0" ,
20
20
"icon_path" : " preview.png" ,
21
21
"requirements" : " No requirements" ,
22
22
"documentation_url" : " " ,
23
- "dependencies" : [" ROS2" ],
23
+ "dependencies" : [" ROS2" , " LevelGeoreferencing " ],
24
24
"repo_uri" : " " ,
25
- "compatible_engines" : [],
25
+ "compatible_engines" : [" o3de>=2.4.0 " ],
26
26
"engine_api_dependencies" : [],
27
27
"restricted" : " SplineTools"
28
28
}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Note that this is not a "Canonical" part of O3DE - those gems are third-party co
20
20
| ** RandomizeUtils** | not verified |
21
21
| ** RobotecRecordingTools** | not verified |
22
22
| ** RobotecSpectatorCamera** | not verified |
23
- | ** RobotecSplineTools** | incompatible |
23
+ | ** RobotecSplineTools** | compatible |
24
24
| ** RobotecWatchdogTools** | not verified |
25
25
| ** ROS2PoseControl** | incompatible |
26
26
| ** ROS2ScriptIntegration** | not verified |
You can’t perform that action at this time.
0 commit comments