unreal.TrackingAlignmentFunctionLibrary

class unreal.TrackingAlignmentFunctionLibrary(outer: Object | None = None, name: Name | str = 'None')

Bases: BlueprintFunctionLibrary

Blueprint functions to caluclate tracking space alignment.

C++ Source:

  • Plugin: CameraCalibration

  • Module: TrackingAlignment

  • File: TrackingAlignmentBPLibrary.h

classmethod find_and_update_origin_actor(tracking_actors) (tracking_actors=TrackingAlignmentActors, out_new_parent_actor=Actor) or None

Given an actor being tracked, find and update its origin actor to the direct parent actor.

Parameters:

tracking_actors (TrackingAlignmentActors)

Returns:

tracking_actors (TrackingAlignmentActors):

out_new_parent_actor (Actor):

Return type:

tuple or None

classmethod get_aligned_tracker_b_origin(calibration_profile) Transform

Given a UTrackingAlignmentCalibrationProfile, returns the calculated alignment origin for TrackerB space to Tracker A space. Uses OpenCV to solve the space alignment using Eye-To-Hand calibration with the given calibration method.

Parameters:

calibration_profile (TrackingAlignmentCalibrationProfile)

Return type:

Transform

classmethod get_minimum_required_tracker_aligment_sample_count() int32

Gets the minimum number of require tracker alignment samples to be able to calculate a Cam2Base value.

Return type:

int32