Skip to content

Conversation

@deepanaishtaweera
Copy link
Contributor

No description provided.

Copy link

Copilot AI left a comment

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 cleans up obsolete launch files, standardizes the RGB camera pipeline for SMB264 on Jetson, and updates related configuration and installation.

  • Removed legacy and redundant launch scripts (e.g., smb_nuc_system, smb, motor_controller, jetson_rgb_camera, flir_camera).
  • Refactored sensors.launch.py to only include the RGB camera group and an image_proc container, and updated the camera serial for Jetson.
  • Enhanced rgb_camera_driver.launch.py with dynamic calibration file lookup, updated default camera name/serial, and adjusted image parameters.
  • Updated camera YAMLs to reflect new camera_name, added a twist_mux_topics.yaml config, and extended CMake install to include rviz.

Reviewed Changes

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

Show a summary per file
File Description
launch/sensors.launch.py Kept only RGB camera group and image_proc container, updated serial
launch/rgb_camera_driver.launch.py Added dynamic calibration file logic, updated defaults and pixel format
config/smb264_cam0.yaml Changed camera_name from 0 to rgb_camera
config/smb261_cam0.yaml Changed camera_name from 0 to flir_camera
config/twist_mux_topics.yaml New twist mux topic configuration
CMakeLists.txt Added rviz directory to install target
launch/*.launch.py (5 files) Removed obsolete launch scripts
Comments suppressed due to low confidence (4)

launch/sensors.launch.py:26

  • ComposableNodeContainer and ComposableNode are used here but not imported; add from launch_ros.actions import ComposableNodeContainer and from launch_ros.descriptions import ComposableNode to prevent runtime errors.
    container = ComposableNodeContainer(

launch/sensors.launch.py:13

  • [nitpick] There are large blocks of commented-out code above; consider removing legacy comments or moving them to a separate branch to keep this file concise and maintainable.
    rgb_camera_group = GroupAction([

launch/rgb_camera_driver.launch.py:22

  • [nitpick] The PythonExpression import is not used in this file; removing unused imports can improve readability.
from launch.substitutions import PathJoinSubstitution, PythonExpression

CMakeLists.txt:15

  • Ensure that the rviz directory exists in the project before installing; otherwise CMake will warn about a missing directory.
  rviz

Choose a reason for hiding this comment

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

This rviz line gives an error while building on the jetson

Choose a reason for hiding this comment

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

shouldn't this file be renamed with subscript jetson?

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.

7 participants