Skip to content

Commit

Permalink
Adjust to ROS2 gem changes
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksander Kamiński <[email protected]>
  • Loading branch information
alek-kam-robotec-ai committed Aug 8, 2024
1 parent dbb932d commit 3d5afba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Code/Source/Lidar/LidarRaycaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ namespace RGL
m_graph.ConfigureRayPosesNode(rglRayTransforms);
}

void LidarRaycaster::ConfigureRayRange(ROS2::Range range)
void LidarRaycaster::ConfigureRayRange(ROS2::RayRange range)
{
m_range = range;

Expand Down
4 changes: 2 additions & 2 deletions Code/Source/Lidar/LidarRaycaster.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace RGL
protected:
// LidarRaycasterRequestBus overrides
void ConfigureRayOrientations(const AZStd::vector<AZ::Vector3>& orientations) override;
void ConfigureRayRange(ROS2::Range range) override;
void ConfigureRayRange(ROS2::RayRange range) override;
void ConfigureRaycastResultFlags(ROS2::RaycastResultFlags flags) override;
bool CanHandlePublishing() override;

Expand All @@ -59,7 +59,7 @@ namespace RGL
bool m_isMaxRangeEnabled{ false }; //!< Determines whether max range point addition is enabled.
ROS2::RaycastResultFlags m_resultFlags{ ROS2::RaycastResultFlags::Points };

AZStd::optional<ROS2::Range> m_range{};
AZStd::optional<ROS2::RayRange> m_range{};
AZStd::vector<AZ::Matrix3x4> m_rayTransforms{ AZ::Matrix3x4::CreateIdentity() };

PipelineGraph::RaycastResults m_rglRaycastResults;
Expand Down

0 comments on commit 3d5afba

Please sign in to comment.