Skip to content

Convert JT16 PointCloud2 to LaserScan - #46

Merged
MrBearing merged 3 commits into
jazzyfrom
feature/issue-31-pointcloud-to-laserscan
Aug 21, 2026
Merged

MrBearing merged 3 commits into
jazzyfrom
feature/issue-31-pointcloud-to-laserscan

Conversation

@MrBearing

Copy link
Copy Markdown
Owner

Summary

Validation

  • colcon build --packages-up-to sanehal_bringup
  • colcon test --packages-select sanehal_bringup
  • colcon test-result --verbose: 18 tests, 0 errors, 0 failures
  • verified default and custom PointCloud2/LaserScan remaps connect through to slam_toolbox
  • verified live QoS endpoints: Hesai Reliable/Volatile -> converter Best Effort/Volatile -> slam_toolbox Best Effort/Volatile

Hardware status

  • JT16 serial device symlinks and all nodes were available, but the driver produced no PointCloud2 messages during the sampling window; hardware height/rate/CPU tuning remains pending restoration of the JT16 serial stream
  • upstream Hesai v2.0.12 still required launch escalation to SIGKILL during shutdown

Closes #31

@MrBearing

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 79d619ece0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread sanehal_bringup/launch/slam.launch.py Outdated
@MrBearing

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 65391da4b0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread sanehal_bringup/launch/slam.launch.py
@MrBearing
MrBearing marked this pull request as ready for review August 21, 2026 03:45
@MrBearing

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: ee5047d9cf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@MrBearing
MrBearing merged commit dda2540 into jazzy Aug 21, 2026
2 checks passed
@MrBearing
MrBearing deleted the feature/issue-31-pointcloud-to-laserscan branch August 21, 2026 03:52

Copilot AI 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.

Pull request overview

This PR adds a JT16-focused PointCloud2→LaserScan conversion path and wires it into the existing SANEHAL-2 SLAM bringup so slam_toolbox can consume a generated /scan from the JT16 /lidar_points, with overridable topics and component toggles.

Changes:

  • Add a reusable pointcloud_to_laserscan launch file and a JT16-tuned parameter YAML.
  • Integrate JT16 driver + converter into slam.launch.py with launch arguments to enable/disable components and remap topics.
  • Add a synthetic launch test for the conversion contract and expand README guidance for tuning/QoS/rosbag workflows.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
sanehal_bringup/test/test_pointcloud_to_laserscan.py Adds a launch test that publishes a synthetic PointCloud2 and asserts the resulting LaserScan contract.
sanehal_bringup/README.md Documents the new converter launch, SLAM integration switches, and tuning/recording guidance.
sanehal_bringup/package.xml Declares runtime dependency on pointcloud_to_laserscan and adds test dependencies for the launch test.
sanehal_bringup/launch/slam.launch.py Starts JT16 + converter alongside SLAM/RViz with overridable topics and component flags.
sanehal_bringup/launch/pointcloud_to_laserscan.launch.py New reusable converter launch file with remappable input/output topics and params file.
sanehal_bringup/config/pointcloud_to_laserscan_jt16.yaml New JT16-specific converter tuning parameters (height slice, angles, ranges, scan metadata).
sanehal_bringup/CMakeLists.txt Registers the new launch test via add_launch_test when BUILD_TESTING is enabled.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

JT16のPointCloud2をslam_toolbox向けLaserScanへ変換する

2 participants