Classes | Functions
mapviz_plugins Namespace Reference

Classes

class  AttitudeIndicatorPlugin
 
class  CanvasClickFilter
 
class  CoordinatePickerPlugin
 
class  DisparityPlugin
 
class  DrawPolygonPlugin
 
class  GpsPlugin
 
class  GridPlugin
 
class  ImagePlugin
 
class  LaserScanPlugin
 
class  MarkerPlugin
 
class  MoveBasePlugin
 
class  NavSatPlugin
 
class  OdometryPlugin
 
class  PathPlugin
 
class  PlaceableWindowProxy
 
class  PlanRoutePlugin
 
class  PointClickPublisherPlugin
 
class  PointCloud2Plugin
 
class  PointDrawingPlugin
 
class  RobotImagePlugin
 
class  RoutePlugin
 
class  StringPlugin
 
class  TexturedMarkerPlugin
 
class  TfFramePlugin
 

Functions

int32_t findChannelIndex (const sensor_msgs::PointCloud2ConstPtr &cloud, const std::string &channel)
 

Detailed Description

This is a very simple event filter that listens for mouseReleased events; when it sees one, it emits a signal with the given point.

Click events are filtered by how long the mouse was held down and how far the cursor moved in order to prevent the user holding and dragging the map from firing a click event. By default, "clicks" that take longer than 500ms or move longer than 2 pixels are ignored.

This object supports moving/resizing a "window" on the canvas. It should be installed as an event filter on the map canvas and be given an initial rectangle. It will watch for mouse events that occur within the rectangle and move/resize the rectangle accordingly. You can listen to signals to determine when the window was moved, or just use the rectangle at the start of every draw.

Since this class is designed for moving windows around the canvas, it does everything in terms of pixels.

To do: Need to deactivate the proxy when the plugin is marked invisible, or is not drawing data.

This is a pretty straightforward plugin. It watches for user clicks on the canvas, then converts the coordinates into a specified frame and publishes them as PointStamped messages on a specified topic.

Function Documentation

int32_t mapviz_plugins::findChannelIndex ( const sensor_msgs::PointCloud2ConstPtr &  cloud,
const std::string &  channel 
)
inline

Definition at line 283 of file pointcloud2_plugin.cpp.



mapviz_plugins
Author(s): Marc Alban
autogenerated on Thu Jun 6 2019 19:25:16