35 #ifndef ROBOT_NAV_RVIZ_PLUGINS_NAV_GRID_DISPLAY_H 36 #define ROBOT_NAV_RVIZ_PLUGINS_NAV_GRID_DISPLAY_H 39 #include <boost/thread/thread.hpp> 40 #include <OgreTexture.h> 41 #include <OgreMaterial.h> 42 #include <OgreSharedPtr.h> 85 explicit NavGridDisplay(
const std::string& data_type,
bool include_ignore_property =
false);
92 void reset()
override;
93 void setTopic(
const QString &topic,
const QString &datatype)
override;
94 void update(
float wall_dt,
float ros_dt)
override;
202 #endif // ROBOT_NAV_RVIZ_PLUGINS_NAV_GRID_DISPLAY_H
virtual void updateIgnore()
void showMap(const nav_core2::UIntBounds &updated_bounds)
rviz::FloatProperty * alpha_property_
rviz::FloatProperty * resolution_property_
rviz::BoolProperty * draw_behind_property_
rviz::IntProperty * width_property_
void clear()
Clear the data and remove the objects from the screen.
void setTopic(const QString &topic, const QString &datatype) override
void unsubscribe()
Called to trigger unsubscribing.
rviz::FloatProperty * ignore_property_
std::vector< std::string > color_scheme_names_
nav_grid::NavGridInfo cached_info_
void onInitialize() override
rviz::BoolProperty * unreliable_property_
virtual void onSubscribe(const std::string &topic)
Actual subscription logic, called by subscribe.
rviz::EnumProperty * color_scheme_property_
void onDisable() override
std::shared_ptr< OgrePanel > Ptr
rviz::EnumProperty * ignore_type_property_
virtual void updateIgnoreType()
rviz::RosTopicProperty * topic_property_
rviz::IntProperty * height_property_
IgnoreType getIgnoreType() const
nav_grid::VectorNavGrid< unsigned char > panel_data_
void update(float wall_dt, float ros_dt) override
Several reusable pieces for displaying polygons.
NavGridDisplay(const std::string &data_type, bool include_ignore_property=false)
Constructor for the display.
virtual ~NavGridDisplay()
OgrePanel::Ptr panel_display_
virtual void onUnsubscribe()
Actual unsubscription logic, called by unsubscribe.
void mapUpdated(const nav_core2::UIntBounds &updated_bounds)
Custom signal emitted when new map data is received.
void transformMap()
Put the map in its proper place.
void subscribe()
Called to trigger subscription, handles empty topics setting status.
pluginlib::ClassLoader< NavGridPalette > palette_loader_
Displays a nav_grid (of unspecified type) along the XY plane.
virtual int getOptionInt()
void fixedFrameChanged() override