Template Struct convert< lupnt::Real >¶
Defined in File yaml.h
Struct Documentation¶
-
template<>
struct convert<lupnt::Real>¶ yaml-cppconvert<>specialization enablingnode.as<lupnt::Real>()/node = some_realfor LuPNT’s autodiff scalar type.Lets simulation YAML config files (loaded via
lupnt::GetYamlConfig,lupnt/core/file.h) be read directly intoRealparameters — e.g. dynamics/device config values such asconfig["dt"].as<Real>(),config["mass"].as<Real>()(numerical_orbit_dynamics.cc),cfg["lat_ref"].as<Real>()(rover.cc) — without callers needing to round-trip throughdoublethemselves.