NimbRo ROS Soccer Package
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
loc_display.h
1 // Localization display for RViz
2 // Author: Max Schwarz <max.schwarz@uni-bonn.de>
3 
4 #ifndef LOC_DISPLAY_H
5 #define LOC_DISPLAY_H
6 
7 #include <rviz/display.h>
8 #include <rviz/properties/tf_frame_property.h>
9 #include <field_model/field_model.h>
10 #include <OGRE/OgreManualObject.h>
11 
12 namespace loc_display
13 {
14 
15 class LocDisplay : public rviz::Display
16 {
17 public:
18  LocDisplay();
19  virtual ~LocDisplay();
20 
21  virtual void onInitialize();
22 
23  virtual void update(float wall_dt, float ros_dt);
24 private:
25  void addMarkers(field_model::WorldObject::Type type);
26 
27  rviz::TfFrameProperty* m_frame_property;
28 
29  Ogre::ManualObject* m_manual_object;
30 };
31 
32 }
33 
34 #endif
Type
Object type.
Definition: field_model.h:23