Recommended Clarification Needed for: Method object_distance to ALLOW refence to be pose_3d and route_point
Current Method object_distance "reference" should allow more than just physical_object; reference should also allow for pose_3d and route_point.
CURRENT:
object_distance()
Returns the relative distance between the physical_object that calls the method and a reference entity.
The distance is measured using the coordinate system of the physical_object that calls the method.
Prototype
extend physical_object:
def object_distance(reference: physical_object, direction: [longitudinal, lateral], mode: [reference_points, bounding_boxes]) -> length
SUGGESTED CLARIFICATION:
object_distance()
Returns the relative distance between the physical_object that calls the method and a reference entity.
The distance is measured using the coordinate system of the physical_object that calls the method.
Prototype
extend physical_object:
def object_distance(reference: [physical_object, pose_3d, route_point], direction: [longitudinal, lateral], mode: [reference_points, bounding_boxes]) -> length
- People want to be able to know how far they are from a point on their path.
- People want want to know how far then are from a route_point on their route.