ros2 / openrobotics_darknet_ros

ROS 2 interface to darknet, an open source neural network library.
Apache License 2.0
19 stars 13 forks source link

Problem with Config File #8

Open khaghanijavad opened 2 years ago

khaghanijavad commented 2 years ago

Hi,

After building the node on ROS2 Galactic, for running the node, I receive the following error:

terminate called after throwing an instance of 'rclcpp::exceptions::InvalidParameterTypeException' what(): parameter 'network.config' has invalid type: cannot declare a statically typed parameter with an uninitialized value

Could you please help me with solving the issue? Thanks

GeorgUr commented 2 years ago

Since ROS2 Galactic the function rclcpp::ParameterValue() requires a default value. Beside this issue there are several more concerning Galactic. For a working solution checkout my Galactic branch of this repo: https://github.com/GeorgUr/openrobotics_darknet_ros/tree/galactic

khaghanijavad commented 2 years ago

Thank you very much for your reply and help.