Skip to main content

from_ros_yaml

Function from_ros_yaml 

Source
pub fn from_ros_yaml<R, Rd>(reader: Rd) -> Result<NamedIntrinsicParameters<R>>
Expand description

Construct NamedIntrinsicParameters from ROS format YAML data.

This is a small wrapper around serde_yaml::from_reader() and NamedIntrinsicParameters::try_from().

See the module-level documentation for more information, including an example of use.