-
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
purpose of "re-enable the stream for the change to take effect" #3295
Comments
Hi @christian-rauch Typically, in the ROS2 launch log the message
So the launch is automatically stopping and then re-starting sensors in order to apply the change. You do not need to take any action. |
Indeed, I see this in the full log:
I think this is then the same for setting
but also seems to be handled automatically:
Since I always see the
it is not really clear if this is done automatically because of the warnings or if a user should still stop/starting them again manually. I honestly find these warnings confusing as it appears the user is supposed to do something. What purpose do these warnings server if they are handled automatically? Can you just remove them? |
There have not been previous requests to remove the 're-enable the stream for the change to take effect' warning message so users of the ROS wrapper seem to be okay with it. If a number of users reported that it caused confusion for them then it could certainly be looked at in future, and if any users reading this issue feel confusion about it then they are very welcome to leave a comment here. |
During the launch of the
realsense2_camera_node
with a custom configuration, I seetwice in my screen logs. I am manually setting the
color_profile
anddepth_profile
to640x480x60
each.I assume this message is shown since the camera's default
1280x720x30
and848x480x30
respectively is changed to640x480x60
.From the message itself, it is not really clear how this is caused and what the effect of not "re-enable the stream" will be.
Starting the node with a custom
color_profile
:ros2 run realsense2_camera realsense2_camera_node --ros-args -p rgb_camera.color_profile:="640x480x60"
shows the
re-enable the stream for the change to take effect.
message.However, inspecting the parameter (
ros2 param get /camera/camera rgb_camera.color_profile
) and the topic (ros2 topic echo --no-arr /camera/camera/color/image_raw
) shows me that the parameter is set (String value is: 640x480x60
) and that the image has the expected dimension:So, what is the purpose of this warning? And, if it is important to "re-enable the stream", why is this not done automatically?
The text was updated successfully, but these errors were encountered: