* Loads the waypoint from a YAML file. * @param node YAML node. */
| 42 | * @param node YAML node. |
| 43 | */ |
| 44 | void Waypoint::load(const YAML::Node &node) |
| 45 | { |
| 46 | Target::load(node); |
| 47 | _id = node["id"].as<int>(_id); |
| 48 | } |
| 49 | |
| 50 | /** |
| 51 | * Saves the waypoint to a YAML file. |