How to use declare_parameters with a vector of floats?
I'm using ros2 source build master branch. I was trying
this->declare_parameters<std::vector<float>>("foo", { {"bar", {1.2}},{ {"zee", {4.2}}});
but that fails with
/home/usr/ros2_foxy/install/rclcpp_lifecycle/include/rclcpp_lifecycle/lifecycle_node_impl.hpp:144:21: error: no matching function for call to ‘rclcpp::ParameterValue::get<std::vector<float, std::allocator<float> > >() const’
144 | ).get<ParameterT>();
Is there currently a way to specify a list of parameters which have vectors as their values?