image_view2

Summary

image_view2
Version:

2.0.3

Description:

A simple viewer for ROS image topics with draw-on features

Maintainers:
  • Kei Okada <k-okada AT jsk DOT t DOT u-tokyo DOT ac DOT jp>
Licenses:
  • BSD
Urls:
Authors:
  • Kei Okada <k-okada AT jsk DOT t DOT u-tokyo DOT ac DOT jp>
BuildDepends:
BuildtoolDepends:
 
BuildExportDepends:
 
ExecDepends:

Types

Message types

image_view2/ImageMarker2
Constant:
  • CIRCLE (byte):0
  • LINE_STRIP (byte):1
  • LINE_LIST (byte):2
  • POLYGON (byte):3
  • POINTS (byte):4
  • FRAMES (byte):5
  • TEXT (byte):6
  • LINE_STRIP3D (byte):7
  • LINE_LIST3D (byte):8
  • POLYGON3D (byte):9
  • POINTS3D (byte):10
  • TEXT3D (byte):11
  • CIRCLE3D (byte):12
  • ADD (byte):0
  • REMOVE (byte):1
Field:
byte CIRCLE=0
byte LINE_STRIP=1
byte LINE_LIST=2
byte POLYGON=3
byte POINTS=4
byte FRAMES=5
byte TEXT=6

byte LINE_STRIP3D=7
byte LINE_LIST3D=8
byte POLYGON3D=9
byte POINTS3D=10
byte TEXT3D=11
byte CIRCLE3D=12

byte ADD=0
byte REMOVE=1

Header header
string ns		# namespace, used with id to form a unique id
int32 id          	# unique id within the namespace
int32 type        	# CIRCLE/LINE_STRIP/etc.
int32 action      	# ADD/REMOVE
geometry_msgs/Point position # used for CIRCLE/TEXT, 2D in pixel-coords
geometry_msgs/PointStamped position3D # used for 3DTEXT
geometry_msgs/PoseStamped pose # used for CIRCLE3D
float32 scale	 	# the diameter for a circle, etc.
float32 width	 	# the width for a line, etc.
std_msgs/ColorRGBA outline_color
byte filled		# whether to fill in the shape with color
std_msgs/ColorRGBA fill_color # color [0.0-1.0]
duration lifetime       # How long the object should last before being automatically deleted.  0 means forever
byte arc # used for CIRCLE3D
float32 angle # used for CIRCLE3D


geometry_msgs/Point[] points # used for LINE_STRIP/LINE_LIST/POLYGON/POINTS., 2D in pixel coords
PointArrayStamped points3D # used for 3DLINE_STRIP/3DLINE_LIST/3DPOLYGON/3DPOINTS
std_msgs/ColorRGBA[] outline_colors # a color for each line, point, etc.

string[] frames # used for FRAMES, tf names
string text             # used for TEXT, draw size of text is scale
bool left_up_origin     # draw text from left up origin
bool ratio_scale        #Use ratio respected to original image to specify scale and position
image_view2/MouseEvent
Field:
  • header (std_msgs/Header) –
  • type (int32) –
  • key (int32) –
  • x (int32) –
  • y (int32) –
  • width (int32) –
  • height (int32) –
Constant:
  • KEY_PRESSED (int32):1
  • MOUSE_LEFT_UP (int32):2
  • MOUSE_LEFT_DOWN (int32):3
  • MOUSE_MOVE (int32):4
  • MOUSE_RIGHT_DOWN (int32):5
Header header

# event type
int32 KEY_PRESSED=1
int32 MOUSE_LEFT_UP=2
int32 MOUSE_LEFT_DOWN=3
int32 MOUSE_MOVE=4
int32 MOUSE_RIGHT_DOWN=5
int32 type

int32 key

# location of mouse
int32 x
int32 y

# size of image
int32 width
int32 height
image_view2/PointArrayStamped
Field:
Header header

geometry_msgs/Point[] points

Service types

image_view2/ChangeMode
Field (Request):
 
  • mode (string) –
string mode
---