Template Function fuse_models::parameters::loadSensorConfig

Function Documentation

template<typename T>
inline std::vector<size_t> fuse_models::parameters::loadSensorConfig(fuse_core::node_interfaces::NodeInterfaces<fuse_core::node_interfaces::Parameters> interfaces, const std::string &name)

Utility method to load a sensor configuration, i.e. the dimension indices.

Template Parameters:

T – - The variable type the dimension indices belong to

Parameters:
  • nh[in] - The node interfaces with which to load parameters

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

Returns:

A vector with the dimension indices, that would be empty if the parameter does not exist