Referring to this code.
The use of tildes in parameter naming in ROS2 is redundant - seems like the code was translated to ROS2 verbatim but these can be removed:
this->declare_parameter("~param") => this->declare_parameter("param")
As a workaround I have to include the tilde as part of parameter name in the launch file but I suggest all the ~ are removed from audio_capture.cpp and elsewhere.
Referring to this code. The use of tildes in parameter naming in ROS2 is redundant - seems like the code was translated to ROS2 verbatim but these can be removed:
this->declare_parameter("~param")
=>this->declare_parameter("param")
As a workaround I have to include the tilde as part of parameter name in the launch file but I suggest all the
~
are removed fromaudio_capture.cpp
and elsewhere.