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