Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deprecation warning calling declare_parameter
As of ros2/rclcpp#1522, we must also declare the type of the parameter. We can do this implicitly by providing a default value. Prior to this change, distance_ was being default-initialized to 0.0 anyways. Signed-off-by: Jacob Perron <[email protected]>
- Loading branch information