-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated rs_launch param names #2847
Merged
SamerKhshiboun
merged 3 commits into
IntelRealSense:ros2-development
from
Arun-Prasad-V:rs_launch_params
Sep 6, 2023
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,56 +27,62 @@ | |
{'name': 'usb_port_id', 'default': "''", 'description': 'choose device by usb port id'}, | ||
{'name': 'device_type', 'default': "''", 'description': 'choose device by type'}, | ||
{'name': 'config_file', 'default': "''", 'description': 'yaml config file'}, | ||
{'name': 'unite_imu_method', 'default': "0", 'description': '[0-None, 1-copy, 2-linear_interpolation]'}, | ||
{'name': 'json_file_path', 'default': "''", 'description': 'allows advanced configuration'}, | ||
{'name': 'initial_reset', 'default': 'false', 'description': "''"}, | ||
{'name': 'rosbag_filename', 'default': "''", 'description': 'A realsense bagfile to run from as a device'}, | ||
{'name': 'log_level', 'default': 'info', 'description': 'debug log level [DEBUG|INFO|WARN|ERROR|FATAL]'}, | ||
{'name': 'output', 'default': 'screen', 'description': 'pipe node output [screen|log]'}, | ||
Arun-Prasad-V marked this conversation as resolved.
Show resolved
Hide resolved
|
||
{'name': 'depth_module.profile', 'default': '0,0,0', 'description': 'depth module profile'}, | ||
{'name': 'depth_module.depth_format', 'default': 'Z16', 'description': 'depth stream format'}, | ||
{'name': 'depth_module.infra_format', 'default': 'RGB8', 'description': 'infra0 stream format'}, | ||
{'name': 'depth_module.infra1_format', 'default': 'Y8', 'description': 'infra1 stream format'}, | ||
{'name': 'depth_module.infra2_format', 'default': 'Y8', 'description': 'infra2 stream format'}, | ||
{'name': 'enable_depth', 'default': 'true', 'description': 'enable depth stream'}, | ||
{'name': 'enable_color', 'default': 'true', 'description': 'enable color stream'}, | ||
{'name': 'rgb_camera.profile', 'default': '0,0,0', 'description': 'color image width'}, | ||
{'name': 'rgb_camera.color_format', 'default': 'RGB8', 'description': 'color stream format'}, | ||
{'name': 'rgb_camera.enable_auto_exposure', 'default': 'true', 'description': 'enable/disable auto exposure for color image'}, | ||
{'name': 'enable_color', 'default': 'true', 'description': 'enable color stream'}, | ||
{'name': 'enable_depth', 'default': 'true', 'description': 'enable depth stream'}, | ||
{'name': 'enable_infra', 'default': 'false', 'description': 'enable infra0 stream'}, | ||
{'name': 'enable_infra1', 'default': 'false', 'description': 'enable infra1 stream'}, | ||
{'name': 'enable_infra2', 'default': 'false', 'description': 'enable infra2 stream'}, | ||
{'name': 'enable_fisheye1', 'default': 'true', 'description': 'enable fisheye1 stream'}, | ||
{'name': 'enable_fisheye2', 'default': 'true', 'description': 'enable fisheye2 stream'}, | ||
{'name': 'depth_module.profile', 'default': '0,0,0', 'description': 'depth module profile'}, | ||
{'name': 'depth_module.depth_format', 'default': 'Z16', 'description': 'depth stream format'}, | ||
{'name': 'depth_module.infra_format', 'default': 'RGB8', 'description': 'infra0 stream format'}, | ||
{'name': 'depth_module.infra1_format', 'default': 'Y8', 'description': 'infra1 stream format'}, | ||
{'name': 'depth_module.infra2_format', 'default': 'Y8', 'description': 'infra2 stream format'}, | ||
{'name': 'depth_module.exposure', 'default': '8500', 'description': 'Depth module manual exposure value'}, | ||
{'name': 'depth_module.gain', 'default': '16', 'description': 'Depth module manual gain value'}, | ||
{'name': 'depth_module.hdr_enabled', 'default': 'false', 'description': 'Depth module hdr enablement flag. Used for hdr_merge filter'}, | ||
{'name': 'depth_module.enable_auto_exposure', 'default': 'true', 'description': 'enable/disable auto exposure for depth image'}, | ||
{'name': 'depth_module.exposure.1', 'default': '7500', 'description': 'Depth module first exposure value. Used for hdr_merge filter'}, | ||
{'name': 'depth_module.gain.1', 'default': '16', 'description': 'Depth module first gain value. Used for hdr_merge filter'}, | ||
{'name': 'depth_module.exposure.2', 'default': '1', 'description': 'Depth module second exposure value. Used for hdr_merge filter'}, | ||
{'name': 'depth_module.gain.2', 'default': '16', 'description': 'Depth module second gain value. Used for hdr_merge filter'}, | ||
{'name': 'enable_confidence', 'default': 'true', 'description': 'enable confidence'}, | ||
{'name': 'gyro_fps', 'default': '0', 'description': "''"}, | ||
{'name': 'accel_fps', 'default': '0', 'description': "''"}, | ||
{'name': 'enable_sync', 'default': 'false', 'description': "'enable sync mode'"}, | ||
{'name': 'enable_rgbd', 'default': 'false', 'description': "'enable rgbd topic'"}, | ||
{'name': 'enable_gyro', 'default': 'false', 'description': "'enable gyro stream'"}, | ||
{'name': 'enable_accel', 'default': 'false', 'description': "'enable accel stream'"}, | ||
{'name': 'gyro_fps', 'default': '0', 'description': "''"}, | ||
{'name': 'accel_fps', 'default': '0', 'description': "''"}, | ||
{'name': 'unite_imu_method', 'default': "0", 'description': '[0-None, 1-copy, 2-linear_interpolation]'}, | ||
{'name': 'enable_pose', 'default': 'true', 'description': "'enable pose stream'"}, | ||
{'name': 'pose_fps', 'default': '200', 'description': "''"}, | ||
{'name': 'pointcloud.enable', 'default': 'false', 'description': ''}, | ||
{'name': 'pointcloud.stream_filter', 'default': '2', 'description': 'texture stream for pointcloud'}, | ||
{'name': 'pointcloud.stream_index_filter','default': '0', 'description': 'texture stream index for pointcloud'}, | ||
{'name': 'pointcloud.ordered_pc', 'default': 'false', 'description': ''}, | ||
{'name': 'enable_sync', 'default': 'false', 'description': "'enable sync mode'"}, | ||
{'name': 'enable_rgbd', 'default': 'false', 'description': "'enable rgbd topic'"}, | ||
{'name': 'align_depth.enable', 'default': 'false', 'description': "'enable align depth filter'"}, | ||
{'name': 'colorizer.enable', 'default': 'false', 'description': "''"}, | ||
{'name': 'clip_distance', 'default': '-2.', 'description': "''"}, | ||
{'name': 'angular_velocity_cov', 'default': '0.01', 'description': "''"}, | ||
{'name': 'linear_accel_cov', 'default': '0.01', 'description': "''"}, | ||
{'name': 'initial_reset', 'default': 'false', 'description': "''"}, | ||
{'name': 'allow_no_texture_points', 'default': 'false', 'description': "''"}, | ||
{'name': 'diagnostics_period', 'default': '0.0', 'description': 'Rate of publishing diagnostics. 0=Disabled'}, | ||
{'name': 'publish_tf', 'default': 'true', 'description': '[bool] enable/disable publishing static & dynamic TF'}, | ||
{'name': 'tf_publish_rate', 'default': '0.0', 'description': '[double] rate in Hz for publishing dynamic TF'}, | ||
{'name': 'diagnostics_period', 'default': '0.0', 'description': 'Rate of publishing diagnostics. 0=Disabled'}, | ||
{'name': 'decimation_filter.enable', 'default': 'false', 'description': 'Rate of publishing static_tf'}, | ||
{'name': 'rosbag_filename', 'default': "''", 'description': 'A realsense bagfile to run from as a device'}, | ||
{'name': 'depth_module.exposure.1', 'default': '7500', 'description': 'Depth module first exposure value. Used for hdr_merge filter'}, | ||
{'name': 'depth_module.gain.1', 'default': '16', 'description': 'Depth module first gain value. Used for hdr_merge filter'}, | ||
{'name': 'depth_module.exposure.2', 'default': '1', 'description': 'Depth module second exposure value. Used for hdr_merge filter'}, | ||
{'name': 'depth_module.gain.2', 'default': '16', 'description': 'Depth module second gain value. Used for hdr_merge filter'}, | ||
Arun-Prasad-V marked this conversation as resolved.
Show resolved
Hide resolved
|
||
{'name': 'depth_module.exposure', 'default': '8500', 'description': 'Depth module manual exposure value'}, | ||
{'name': 'depth_module.hdr_enabled', 'default': 'false', 'description': 'Depth module hdr enablement flag. Used for hdr_merge filter'}, | ||
{'name': 'depth_module.enable_auto_exposure', 'default': 'true', 'description': 'enable/disable auto exposure for depth image'}, | ||
{'name': 'pointcloud.enable', 'default': 'false', 'description': ''}, | ||
{'name': 'pointcloud.stream_filter', 'default': '2', 'description': 'texture stream for pointcloud'}, | ||
{'name': 'pointcloud.stream_index_filter','default': '0', 'description': 'texture stream index for pointcloud'}, | ||
{'name': 'pointcloud.ordered_pc', 'default': 'false', 'description': ''}, | ||
{'name': 'pointcloud.allow_no_texture_points', 'default': 'false', 'description': "''"}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Renamed:
|
||
{'name': 'align_depth.enable', 'default': 'false', 'description': 'enable align depth filter'}, | ||
{'name': 'colorizer.enable', 'default': 'false', 'description': 'enable colorizer filter'}, | ||
{'name': 'decimation_filter.enable', 'default': 'false', 'description': 'enable_decimation_filter'}, | ||
{'name': 'spatial_filter.enable', 'default': 'false', 'description': 'enable_spatial_filter'}, | ||
{'name': 'temporal_filter.enable', 'default': 'false', 'description': 'enable_temporal_filter'}, | ||
{'name': 'disparity_filter.enable', 'default': 'false', 'description': 'enable_disparity_filter'}, | ||
{'name': 'hole_filling_filter.enable', 'default': 'false', 'description': 'enable_hole_filling_filter'}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added:
|
||
{'name': 'hdr_merge.enable', 'default': 'false', 'description': 'hdr_merge filter enablement flag'}, | ||
{'name': 'wait_for_device_timeout', 'default': '-1.', 'description': 'Timeout for waiting for device to connect (Seconds)'}, | ||
{'name': 'reconnect_timeout', 'default': '6.', 'description': 'Timeout(seconds) between consequtive reconnection attempts'}, | ||
|
@@ -107,7 +113,7 @@ def launch_setup(context, params, param_name_suffix=''): | |
parameters=[params | ||
, params_from_file | ||
], | ||
output='screen', | ||
output=LaunchConfiguration('output' + param_name_suffix), | ||
arguments=['--ros-args', '--log-level', LaunchConfiguration('log_level' + param_name_suffix)], | ||
) | ||
] | ||
|
@@ -121,7 +127,7 @@ def launch_setup(context, params, param_name_suffix=''): | |
parameters=[params | ||
, params_from_file | ||
], | ||
output='screen', | ||
output=LaunchConfiguration('output' + param_name_suffix), | ||
arguments=['--ros-args', '--log-level', LaunchConfiguration('log_level' + param_name_suffix)], | ||
emulate_tty=True, | ||
) | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-arranged all the params.