com.kuka.nav.object.handling
Class ObjectDetection
java.lang.Object
com.kuka.nav.object.handling.ObjectDetection
public class ObjectDetection
- extends Object
Used to deliver results from the ObjectDetectionContainer action. This class contains detected poses and
a score which rates the quality of the detection.
|
Constructor Summary |
ObjectDetection(double x,
double y,
double z,
double score)
|
|
Method Summary |
com.kuka.nav.Pose |
getPose()
Returns the pose of this detection. |
double |
getScore()
Returns the score of this detection. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectDetection
public ObjectDetection(double x,
double y,
double z,
double score)
- Parameters:
x - The x-coordinate of detected pose.y - The y-coordinate of detected pose.z - The orientation of detected pose.score - The score representing the detection quality.
getPose
public com.kuka.nav.Pose getPose()
- Returns the pose of this detection.
- Returns:
- The pose (x-coordinate, y-coordinate, orientation) of a detected object, relative to the midpoint of
the robot.
getScore
public double getScore()
- Returns the score of this detection.
- Returns:
- The score containing information about how good the found object matches the object model.
It is in the range of [0;1] and the closer it is to 1 the better was the match.
Copyright © 2019. All rights reserved.