diff --git a/src/ui/map3D/Pixhawk3DWidget.h b/src/ui/map3D/Pixhawk3DWidget.h index 3f94576a5a89071905256a2f61b9f8bffd888709..34e318992910ec50184b450034b642ba469162c5 100644 --- a/src/ui/map3D/Pixhawk3DWidget.h +++ b/src/ui/map3D/Pixhawk3DWidget.h @@ -61,7 +61,7 @@ private slots: void showGrid(int state); void showTrail(int state); void showWaypoints(int state); - void recenterCamera(void); + void recenter(void); void toggleFollowCamera(int state); protected: @@ -109,6 +109,8 @@ private: osg::ref_ptr waypointsNode; QPushButton* targetButton; + + float lastRobotX, lastRobotY, lastRobotZ; }; #endif // PIXHAWK3DWIDGET_H