From 28f623fa5062679582fff5824d3565f8ba998532 Mon Sep 17 00:00:00 2001 From: hengli Date: Thu, 18 Nov 2010 12:00:41 +0100 Subject: [PATCH] Forgot to check in updated header file. --- src/ui/map3D/Pixhawk3DWidget.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/map3D/Pixhawk3DWidget.h b/src/ui/map3D/Pixhawk3DWidget.h index 3f94576..34e3189 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