diff options
-rw-r--r-- | navigation/navigation.cpp | 9 | ||||
-rw-r--r-- | navigation/navigation.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/navigation/navigation.cpp b/navigation/navigation.cpp index de98bea..8210310 100644 --- a/navigation/navigation.cpp +++ b/navigation/navigation.cpp @@ -91,15 +91,6 @@ void Navigation::broadcastStatus(QString state) delete nmsg; } -void Navigation::broadcastWaypoints(QJsonObject waypoints) -{ - NavigationMessage *nmsg = new NavigationMessage(); - QJsonObject parameter; - nmsg->createRequest("broadcast_waypoints", parameter); - m_mloop->sendMessage(nmsg); - delete nmsg; -} - void Navigation::onConnected() { QStringListIterator eventIterator(events); diff --git a/navigation/navigation.h b/navigation/navigation.h index 09fae3f..7262107 100644 --- a/navigation/navigation.h +++ b/navigation/navigation.h @@ -37,7 +37,6 @@ class Navigation : public QObject Q_INVOKABLE void broadcastPosition(double lat, double lon, double drc, double dst); Q_INVOKABLE void broadcastRouteInfo(double lat, double lon, double route_lat, double route_lon); Q_INVOKABLE void broadcastStatus(QString state); - Q_INVOKABLE void broadcastWaypoints(QJsonObject waypoints); // only support one waypoint for now Q_INVOKABLE void sendWaypoint(double lat, double lon); |