Skip to content

Commit f8b9207

Browse files
v17 O3DE integration hotfix (#318)
* Move deprecation attribute * Add radar messages package dependency instruction. * Remove deprecated rgl_node_points_compact Signed-off-by: Aleksander Kamiński <[email protected]> --------- Signed-off-by: Aleksander Kamiński <[email protected]>
1 parent 7391cd2 commit f8b9207

File tree

4 files changed

+1
-32
lines changed

4 files changed

+1
-32
lines changed

docs/Ros2Extension.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ For some, the process has been automated - run `setup.py --install-ros2-deps` to
3131
```bash
3232
apt install -y ros-${ROS_DISTRO}-cyclonedds ros-${ROS_DISTRO}-rmw-cyclonedds-cpp
3333
apt install -y ros-${ROS_DISTRO}-fastrtps ros-${ROS_DISTRO}-rmw-fastrtps-cpp
34+
apt install -y ros-${ROS_DISTRO}-radar-msgs
3435
apt install patchelf
3536
```
3637

include/rgl/api/core.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -808,16 +808,6 @@ RGL_API rgl_status_t rgl_node_points_format(rgl_node_t* node, const rgl_field_t*
808808
*/
809809
RGL_API rgl_status_t rgl_node_points_yield(rgl_node_t* node, const rgl_field_t* fields, int32_t field_count);
810810

811-
/**
812-
* Creates or modifies CompactPointsNode.
813-
* The Node removes non-hit points. In other words, it converts a point cloud into a dense one.
814-
* Graph input: point cloud
815-
* Graph output: point cloud (compacted)
816-
* @param node If (*node) == nullptr, a new Node will be created. Otherwise, (*node) will be modified.
817-
*/
818-
RGL_API [[deprecated("Use rgl_node_points_compact_by_field(rgl_node_t* node, rgl_field_t field) instead.")]] rgl_status_t
819-
rgl_node_points_compact(rgl_node_t* node);
820-
821811
/**
822812
* Creates or modifies CompactPointsByFieldNode.
823813
* The Node removes points if the given field is set to a non-zero value.

src/api/apiCore.cpp

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,26 +1046,6 @@ void TapeCore::tape_node_points_yield(const YAML::Node& yamlNode, PlaybackState&
10461046
state.nodes.insert({nodeId, node});
10471047
}
10481048

1049-
RGL_API rgl_status_t rgl_node_points_compact(rgl_node_t* node)
1050-
{
1051-
auto status = rglSafeCall([&]() {
1052-
RGL_API_LOG("rgl_node_points_compact(node={})", repr(node));
1053-
CHECK_ARG(node != nullptr);
1054-
1055-
createOrUpdateNode<CompactByFieldPointsNode>(node, RGL_FIELD_IS_HIT_I32);
1056-
});
1057-
TAPE_HOOK(node);
1058-
return status;
1059-
}
1060-
1061-
void TapeCore::tape_node_points_compact(const YAML::Node& yamlNode, PlaybackState& state)
1062-
{
1063-
auto nodeId = yamlNode[0].as<TapeAPIObjectID>();
1064-
rgl_node_t node = state.nodes.contains(nodeId) ? state.nodes.at(nodeId) : nullptr;
1065-
rgl_node_points_compact(&node);
1066-
state.nodes.insert({nodeId, node});
1067-
}
1068-
10691049
RGL_API rgl_status_t rgl_node_points_compact_by_field(rgl_node_t* node, rgl_field_t field)
10701050
{
10711051
auto status = rglSafeCall([&]() {

src/tape/TapeCore.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ class TapeCore
5959
static void tape_node_raytrace_configure_default_intensity(const YAML::Node& yamlNode, PlaybackState& state);
6060
static void tape_node_points_format(const YAML::Node& yamlNode, PlaybackState& state);
6161
static void tape_node_points_yield(const YAML::Node& yamlNode, PlaybackState& state);
62-
static void tape_node_points_compact(const YAML::Node& yamlNode, PlaybackState& state);
6362
static void tape_node_points_compact_by_field(const YAML::Node& yamlNode, PlaybackState& state);
6463
static void tape_node_points_spatial_merge(const YAML::Node& yamlNode, PlaybackState& state);
6564
static void tape_node_points_temporal_merge(const YAML::Node& yamlNode, PlaybackState& state);
@@ -119,7 +118,6 @@ class TapeCore
119118
TapeCore::tape_node_raytrace_configure_default_intensity),
120119
TAPE_CALL_MAPPING("rgl_node_points_format", TapeCore::tape_node_points_format),
121120
TAPE_CALL_MAPPING("rgl_node_points_yield", TapeCore::tape_node_points_yield),
122-
TAPE_CALL_MAPPING("rgl_node_points_compact", TapeCore::tape_node_points_compact),
123121
TAPE_CALL_MAPPING("rgl_node_points_compact_by_field", TapeCore::tape_node_points_compact_by_field),
124122
TAPE_CALL_MAPPING("rgl_node_points_spatial_merge", TapeCore::tape_node_points_spatial_merge),
125123
TAPE_CALL_MAPPING("rgl_node_points_temporal_merge", TapeCore::tape_node_points_temporal_merge),

0 commit comments

Comments
 (0)