Bug report
Required Info:
- Operating System:
- Installation type:
- source (Linux) and fat archives (macOS)
- Version or commit hash:
- DDS implementation:
- Client library (if applicable):
Steps to reproduce issue
Run the talker C++ demo:
ros2 run demo_nodes_cpp talker
Run the listener C++ demo:
ros2 run demo_nodes_cpp listener
Set the use_sim_time parameter for the talker to something other than a bool:
ros2 param set talker use_sim_time foo
Expected behavior
We see an error (or warning) logged from the talker node regarding the type mismatch for the use_sim_time parameter. E.g.
[ERROR] [talker]: use_sim_time parameter set to something besides a bool
Actual behavior
We see the above error message, not only for the talker node, but also for the listener node. I.e. both the talker and the listener log the following error message:
[ERROR] [talker]: use_sim_time parameter set to something besides a bool
Additional information
We can see that the parameter is set on the talker node, but not on the listener node, which is correct. The bug is that we see the listener log an error when it is not expected.
Bug report
Required Info:
Steps to reproduce issue
Run the talker C++ demo:
Run the listener C++ demo:
Set the
use_sim_timeparameter for the talker to something other than a bool:Expected behavior
We see an error (or warning) logged from the talker node regarding the type mismatch for the
use_sim_timeparameter. E.g.Actual behavior
We see the above error message, not only for the talker node, but also for the listener node. I.e. both the talker and the listener log the following error message:
Additional information
We can see that the parameter is set on the talker node, but not on the listener node, which is correct. The bug is that we see the listener log an error when it is not expected.