Skip to content

Jetson NEON - Map pointcloud and align filter names to their ROS parameter names - #3577

Merged
remibettan merged 1 commit into
realsenseai:ros2-developmentfrom
remibettan:map-neon-filter-names
Oct 12, 2026
Merged

remibettan merged 1 commit into
realsenseai:ros2-developmentfrom
remibettan:map-neon-filter-names

Conversation

@remibettan

Copy link
Copy Markdown
Collaborator

Tracked by: RSDEV-14909

On ARM64 builds with NEON, librealsense names the pointcloud and align filters Pointcloud (NEON) and Align (NEON). rs2_to_ros() only mapped the SSE3 and CUDA names, so the parameters were registered as pointcloud__neon_.* and pointcloud.enable:=true was silently ignored.

Add the NEON names to the map so the parameters keep their usual pointcloud.* and align_depth.* names.

Verified on a Jetson Orin (Humble container, librealsense 2.59.0 with NEON): before the change only pointcloud__neon_.* existed; after it ros2 param get /camera/camera pointcloud.enable returns True.

🤖 Generated with Claude Code

@sysrsbuild-gh-agentic

Copy link
Copy Markdown

Hi @remibettan, thank you for your contribution!

This pull request targets the ros2-master branch. Please note that we do not accept direct contributions to ros2-master. Before proceeding, kindly review our contributions guide to understand the correct target branch and process:

👉 https://github.com/realsenseai/realsense-ros/blob/ros2-development/CONTRIBUTING.md

Please update your PR to target the appropriate branch as described in the guide. The review will be paused until then.

⚠️ This comment was auto-generated by the rs-agentic bot.

@remibettan
remibettan changed the base branch from ros2-master to ros2-development October 12, 2026 06:10
@remibettan
remibettan force-pushed the map-neon-filter-names branch from 08c9a51 to ee1de19 Compare October 12, 2026 07:38

@sysrsbuild-gh-agentic sysrsbuild-gh-agentic left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-generated review by rs-agentic bot

The fix is correct and well-scoped. Adding "Pointcloud (NEON)" → "Pointcloud" and "Align (NEON)" → "Align Depth" to the static map in rs2_to_ros() mirrors exactly how the SSE3/CUDA variants are handled, and directly addresses the ARM64/Jetson silent-ignore regression.

No bugs found. A few notes:

  • Indentation cleanup (CUDA entries): The consistency fix alongside the new entries is welcome.
  • Future-proofing consideration (not a bug): If librealsense later adds SIMD-qualified names for other processing blocks (e.g. a NEON-accelerated disparity or decimation filter), each will need a manual entry here. Worth noting in case the pattern recurs — a generic suffix-stripping approach could eventually replace the explicit map, but it's not needed now.

@remibettan
remibettan requested a review from AviaAv October 12, 2026 07:50
@remibettan
remibettan merged commit a34e2a9 into realsenseai:ros2-development Oct 12, 2026
@remibettan
remibettan deleted the map-neon-filter-names branch October 12, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants