Function fuse_core::loadLossConfig

Function Documentation

inline fuse_core::Loss::SharedPtr fuse_core::loadLossConfig(node_interfaces::NodeInterfaces<node_interfaces::Base, node_interfaces::Logging, node_interfaces::Parameters> interfaces, const std::string &name)

Utility method to load a loss configuration.

Parameters:
  • interfaces[in] - The node interfaces used to load the parameter

  • name[in] - The ROS parameter name for the loss configuration parameter

Returns:

Loss function or nullptr if the parameter does not exist