Skip to content
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

Create /imu topic only when motion streams enabled #2849

Merged
merged 5 commits into from
Sep 6, 2023

Conversation

Arun-Prasad-V
Copy link
Contributor

@Arun-Prasad-V Arun-Prasad-V commented Aug 18, 2023

Tracked by RSDEV-550

@Arun-Prasad-V Arun-Prasad-V marked this pull request as ready for review August 18, 2023 08:50
@@ -305,6 +307,11 @@ void BaseRealSenseNode::startPublishers(const std::vector<stream_profile>& profi
rclcpp::QoS(rclcpp::QoSInitialization::from_rmw(extrinsics_qos), extrinsics_qos), std::move(options));
}
}
if (_is_accel_enabled && _is_gyro_enabled && (_imu_sync_method > imu_sync_method::NONE))
{
_synced_imu_publisher = std::make_shared<SyncedImuPublisher>(_node.create_publisher<sensor_msgs::msg::Imu>("~/imu", 5));
Copy link
Collaborator

Choose a reason for hiding this comment

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

I know this was before, but do you think 5 is fair enough ? or should we use here QoS in the same format as we used in other topics ?

@SamerKhshiboun
Copy link
Collaborator

I think we need to edit this part in the Readme
1 - add "-" to the first mark
2- replaces ? I don't think it replace, I think it is an addition, or am I wrong ?

image

@SamerKhshiboun SamerKhshiboun merged commit d9e61a9 into IntelRealSense:ros2-development Sep 6, 2023
6 checks passed
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.

2 participants