Functions
hrl_lib::viz Namespace Reference

Functions

def arrow_direction_to_quat
 make a quaternion from an arrow direction.
def circle_marker
def create_frame_marker
 Creates a Marker message to display a coordinate frame.
def create_mdict
 Creates a dictionary containing marker constants indexed by friendly names.
def list_marker
 Create a visualization_msgs.Marker message containing all the given points.
def single_marker
 Create a visualization_msgs.Marker message given a point.
def text_marker
def text_marker

Function Documentation

make a quaternion from an arrow direction.

can use this quaternion as the pose of the arrow marker to vizualise in rviz.

Parameters:
direc- 3x1 np matrix.
Returns:
quaternion as a 4x1 np matrix

Definition at line 161 of file viz.py.

def hrl_lib.viz.circle_marker (   center,
  radius,
  scale,
  color,
  mframe,
  z = .03,
  duration = 10.0,
  m_id = 0,
  resolution = 1. 
)

Definition at line 91 of file viz.py.

def hrl_lib.viz.create_frame_marker (   center,
  frame,
  line_len,
  frame_id,
  m_id = 0 
)

Creates a Marker message to display a coordinate frame.

Definition at line 142 of file viz.py.

Creates a dictionary containing marker constants indexed by friendly names.

Definition at line 14 of file viz.py.

def hrl_lib.viz.list_marker (   points,
  colors,
  scale,
  mtype,
  mframe,
  duration = 10.0,
  m_id = 0 
)

Create a visualization_msgs.Marker message containing all the given points.

Definition at line 50 of file viz.py.

def hrl_lib.viz.single_marker (   point,
  orientation,
  mtype,
  mframe,
  scale = [.2,
  color = [1.0,
  duration = 10.0,
  m_id = 0 
)

Create a visualization_msgs.Marker message given a point.

Parameters:
point- 3x1 np matrix
orientation- 4x1 np matrix (quaternion)
mtype- string (see the function create_mdict)

Definition at line 115 of file viz.py.

def hrl_lib.viz.text_marker (   text,
  position,
  scale,
  color,
  frame,
  m_id = 0 
)

Definition at line 31 of file viz.py.

def hrl_lib.viz.text_marker (   text,
  center,
  color,
  scale,
  mframe,
  duration = 10.0,
  m_id = 0 
)

Definition at line 73 of file viz.py.



hrl_lib
Author(s): Cressel Anderson, Travis Deyle, Advait Jain, Hai Nguyen, Advisor: Prof. Charlie Kemp, Lab: Healthcare Robotics Lab at Georgia Tech
autogenerated on Wed Nov 27 2013 11:34:06