RVIZ: added OrbitOrientedViewController plugin, the camera will follow the orientation of the target frame

git-svn-id: http://rtabmap.googlecode.com/svn/trunk/ros-pkg@1554 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2014-07-13 20:23:40 +00:00
parent 1a7fd11a42
commit c5cd0b7517
4 changed files with 97 additions and 1 deletions
+31
View File
@@ -0,0 +1,31 @@
/*
* OrbitOrientedViewController.h
*
* Created on: 2014-07-13
* Author: mathieu
*/
#ifndef ORBITORIENTEDVIEWCONTROLLER_H_
#define ORBITORIENTEDVIEWCONTROLLER_H_
#include "rviz/default_plugin/view_controllers/orbit_view_controller.h"
namespace rtabmap
{
class OrbitOrientedViewController: public rviz::OrbitViewController
{
Q_OBJECT
public:
OrbitOrientedViewController() {}
virtual ~OrbitOrientedViewController() {}
protected:
virtual void updateCamera();
};
}
#endif /* ORBITORIENTEDVIEWCONTROLLER_H_ */