This fix enables passing parameters to the web_video_server node via the command line or a yaml file, e.g. to change the port or address.
Currently this does not work since the parameters are not declared in the node.
To fix the issue the node option automatically_declare_parameters_from_overrides was set to true.
This then enables passing parameters to the node in ROS 2 (Foxy) like so:
ros2 run web_video_server web_video_server --ros-args -p port:=8181
or like this:
ros2 run web_video_server web_video_server --ros-args --params-file /path/to/your/params.yaml
Public API Changes
None
Description
This fix enables passing parameters to the
web_video_server
node via the command line or ayaml
file, e.g. to change theport
oraddress
.Currently this does not work since the parameters are not declared in the node.
To fix the issue the node option
automatically_declare_parameters_from_overrides
was set to true.This then enables passing parameters to the node in ROS 2 (Foxy) like so:
or like this:
where
params.yaml
: