Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Gems/ViewportStreamer/Code/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ ly_add_target(
Include
Source
BUILD_DEPENDENCIES
PRIVATE
Gem::Atom_Feature_Common.Public
PUBLIC
AZ::AzCore
AZ::AzFramework
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <AzCore/Serialization/SerializeContext.h>
#include <AzCore/std/containers/vector.h>
#include <AzCore/std/string/string.h>
#include <ROS2/Clock/ROS2ClockRequestBus.h>
#include <ROS2/Communication/QoS.h>
#include <ROS2/ROS2Bus.h>
#include <ViewportStreamer/ViewportStreamerTypeIds.h>
Expand Down Expand Up @@ -171,7 +172,7 @@ namespace ViewportStreamer
auto passHierarchy = GetPassHierarchyFromRenderPipeline(pipeline);

std_msgs::msg::Header messageHeader;
messageHeader.stamp = ROS2::ROS2Interface::Get()->GetROSTimestamp();
messageHeader.stamp = ROS2::ROS2ClockInterface::Get()->GetROSTimestamp();
messageHeader.frame_id = m_frameName.c_str();

RequestMessagePublication(passHierarchy, messageHeader);
Expand Down
2 changes: 1 addition & 1 deletion Gems/ViewportStreamer/gem.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"gem_name": "ViewportStreamer",
"version": "1.0.0",
"version": "2.0.0",
"display_name": "ViewportStreamer",
"license": "Apache-2.0",
"license_url": "https://opensource.org/licenses/Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Note that this is not a "Canonical" part of O3DE - those gems are third-party co
| [**ROS2ScriptIntegration**](#ros2scriptintegration) | compatible |
| [**SensorDebug**](#sensordebug) | not verified |
| [**Smoothing**](#smoothing) | not verified |
| [**ViewportStreamer**](#viewportstreamer) | not verified |
| [**ViewportStreamer**](#viewportstreamer) | compatible |
| [**WheelAnimTool**](#wheelanimtool) | not verified |

# CsvSpawner
Expand Down
Loading