@@ -88,6 +88,32 @@ class Navigation : public Service {
8888 virtual MapType get_properties (const std::string) = 0;
8989 virtual ProtoStruct do_command (const ProtoStruct& command) = 0;
9090
91+ // overloads without `extra` param.
92+ inline Mode get_mode (const std::string name) {
93+ return get_mode (name, {});
94+ }
95+ inline void set_mode (const std::string name, const Mode mode) {
96+ set_mode (name, mode, {});
97+ }
98+ inline LocationResponse get_location (const std::string name) {
99+ return get_location (name, {});
100+ }
101+ inline std::unique_ptr<std::vector<Waypoint>> get_waypoints (const std::string name) {
102+ return get_waypoints (name, {});
103+ }
104+ inline void add_waypoint (const std::string name, const geo_point& location) {
105+ add_waypoint (name, location, {});
106+ }
107+ inline void remove_waypoint (const std::string name, const std::string id) {
108+ remove_waypoint (name, id, {});
109+ }
110+ inline std::unique_ptr<std::vector<geo_geometry>> get_obstacles (const std::string name) {
111+ return get_obstacles (name, {});
112+ }
113+ inline std::unique_ptr<std::vector<Path>> get_paths (const std::string name) {
114+ return get_paths (name, {});
115+ }
116+
91117 protected:
92118 explicit Navigation (std::string name);
93119};
0 commit comments