All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends
Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Static Package Attributes
edu.tum.cs.ias.knowrob.tutorial.ROSClientTabletopObjectDetector Class Reference

List of all members.

Public Member Functions

TabletopDetectionResult callTabletopObjDetection ()
 ROSClientTabletopObjectDetector (String node_name)

Static Public Member Functions

static void main (String[] args)
static double[] objectPose (DatabaseModelPose p)

Static Protected Member Functions

static void initRos (String node_name)
static double[] quaternionToMatrix (Point p, Quaternion q)

Static Package Attributes

static NodeHandle n
static Ros ros
static Boolean rosInitialized = false

Detailed Description

Definition at line 28 of file ROSClientTabletopObjectDetector.java.


Constructor & Destructor Documentation

Constructor: initializes the ROS environment

Parameters:
node_nameA unique node name

Definition at line 40 of file ROSClientTabletopObjectDetector.java.


Member Function Documentation

Call the tabletop_object_detector service and return the result

Returns:
An instance of TabletopDetectionResult with the objects detected on the table

Definition at line 66 of file ROSClientTabletopObjectDetector.java.

static void edu.tum.cs.ias.knowrob.tutorial.ROSClientTabletopObjectDetector.initRos ( String  node_name) [inline, static, protected]

Initialize the ROS environment if it has not yet been initialized

Parameters:
node_nameA unique node name

Definition at line 50 of file ROSClientTabletopObjectDetector.java.

Definition at line 149 of file ROSClientTabletopObjectDetector.java.

Read the pose of an object from the DatabaseModelPose (detection result)

Parameters:
pA detected object as DatabaseModelPose
Returns:
Row-based 4x4 pose matrix representation

Definition at line 94 of file ROSClientTabletopObjectDetector.java.

static double [] edu.tum.cs.ias.knowrob.tutorial.ROSClientTabletopObjectDetector.quaternionToMatrix ( Point  p,
Quaternion  q 
) [inline, static, protected]

Convert point/quaternion into a 4x4 pose matrix

Parameters:
pPoint (position)
qQuaternion (orientation)
Returns:
4x4 pose matrix, row-based

Definition at line 106 of file ROSClientTabletopObjectDetector.java.


Member Data Documentation

Definition at line 32 of file ROSClientTabletopObjectDetector.java.

Definition at line 31 of file ROSClientTabletopObjectDetector.java.

Definition at line 30 of file ROSClientTabletopObjectDetector.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


knowrob_tutorial
Author(s): Moritz Tenorth
autogenerated on Wed Apr 17 2013 01:34:58