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 |
Definition at line 28 of file ROSClientTabletopObjectDetector.java.
edu.tum.cs.ias.knowrob.tutorial.ROSClientTabletopObjectDetector.ROSClientTabletopObjectDetector | ( | String | node_name | ) | [inline] |
Constructor: initializes the ROS environment
node_name | A unique node name |
Definition at line 40 of file ROSClientTabletopObjectDetector.java.
TabletopDetectionResult edu.tum.cs.ias.knowrob.tutorial.ROSClientTabletopObjectDetector.callTabletopObjDetection | ( | ) | [inline] |
Call the tabletop_object_detector service and return the result
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
node_name | A unique node name |
Definition at line 50 of file ROSClientTabletopObjectDetector.java.
static void edu.tum.cs.ias.knowrob.tutorial.ROSClientTabletopObjectDetector.main | ( | String[] | args | ) | [inline, static] |
Definition at line 149 of file ROSClientTabletopObjectDetector.java.
static double [] edu.tum.cs.ias.knowrob.tutorial.ROSClientTabletopObjectDetector.objectPose | ( | DatabaseModelPose | p | ) | [inline, static] |
Read the pose of an object from the DatabaseModelPose (detection result)
p | A detected object as DatabaseModelPose |
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
p | Point (position) |
q | Quaternion (orientation) |
Definition at line 106 of file ROSClientTabletopObjectDetector.java.
NodeHandle edu.tum.cs.ias.knowrob.tutorial.ROSClientTabletopObjectDetector.n [static, package] |
Definition at line 32 of file ROSClientTabletopObjectDetector.java.
Ros edu.tum.cs.ias.knowrob.tutorial.ROSClientTabletopObjectDetector.ros [static, package] |
Definition at line 31 of file ROSClientTabletopObjectDetector.java.
Boolean edu.tum.cs.ias.knowrob.tutorial.ROSClientTabletopObjectDetector.rosInitialized = false [static, package] |
Definition at line 30 of file ROSClientTabletopObjectDetector.java.