Function hardware_interface::stod

Function Documentation

double hardware_interface::stod(const std::string &s)

Helper function to convert a std::string to double in a locale-independent way.

Throws:

std::invalid_argument – if not a valid number from https://github.com/ros-planning/srdfdom/blob/ad17b8d25812f752c397a6011cec64aeff090c46/src/model.cpp#L53