Difference between revisions of "Rigid Body Tracking"

Line 65: Line 65:
'''2. Vary heights.''' Use marker bases, or posts, with different heights to introduce variations in elevation to create additional unique arrangments.
'''2. Vary heights.''' Use marker bases, or posts, with different heights to introduce variations in elevation to create additional unique arrangments.
'''3. Vary Maximum Marker to Marker Distance.''' Increase or decrease overall marker to marker distance to vary the overall size of the arrangements.
'''3. Vary Maximum Marker to Marker Distance.''' Increase or decrease the overall size of the marker arrangements.
'''4. Vary Marker Two (or more) Markers''' Lastly, if additional variation is needed, add extra markers to introduce the uniqueness. We recommended adding at least two extra markers in case any of them is occluded.}}}}
'''4. Vary Marker Two (or more) Markers''' Lastly, if additional variation is needed, add extra markers to introduce the uniqueness. We recommended adding at least two extra markers in case any of them is occluded.}}}}
=Creating Rigid Body=
=Creating Rigid Body=

Revision as of 19:59, 3 March 2016

Back to Page References

For object tracking in Motive, rigid body assets are created from the markers attached on the tracked objects. From these assets, position and orientation (6 degree of freedom) can be obtained. This page details instructions on how to create the rigid bodies and other useful features associated with the assets.

Rigid Body Marker Placement

Rigid bodies in Motive are three or more markers in 3D space that are interconnected to each other with an assumption that the objects are undeformable. More specifically, it is assumed that the spatial relationship among the markers remain constant, and marker-to-marker distance does not change beyond the allowable deflection tolerance defined under the Rigid Body Properties. Otherwise, involved markers may become unlabeled. Cover any reflective surfaces on the rigid body with non-reflective materials, and attach the markers on the exterior of the rigid body where cameras can easily capture them. In 3D space, a minimum of three coordinates are necessary for defining a plane and calculating orientations using vector relationships. Likewise, at least three markers are required to create a rigid body in Motive.

Tip: If you wish to get more accurate 3D orientation data (pitch, roll, and yaw) of a rigid body, it is beneficial to spread markers as far as you can within the same rigid body. By placing the markers this way, any slight deviation in the orientation will be reflected from small changes in the position.

  • Retroreflective markers placed on a quadrocopter
  • The corresponding rigid body defined in Motive

Number of Markers

Additional markers can provide more 3D coordinates for computing orientation of the rigid body, and they can also be beneficial when accommodating marker occlusions. When any of rigid body markers are occluded, Motive can reference to other visible markers to solve for the missing data and compute position and orientation of the rigid body. Whenever possible it is best to use 4+ markers to create rigid bodies. This helps for a few reasons:

  • It adds at least one redundant marker which is helpful when markers get occluded because you do not lose tracking as easily.
  • The rigid body solve benefits from having a point not on the same plane as all the other markers, because it makes the overall shape more unique.
  • It adds increased stability. Having extra markers not in the same plane also helps the stability of the rigid body solve because it give you data in the missing axis.

However, placing too many markers is not recommended. When too many markers are placed in close vicinity, individual reflections may be indistinguishable from the camera view. Furthermore, it may increase likelihood of label-swaps during capture. Securely place a sufficient number of markers (usually less than 10) just enough to cover the main frame of the rigid body.

Asymmetrical Marker Placements

Within a rigid body, a set of markers should be placed asymmetrically, because it provides clear distinction of orientation within the asset itself. Avoid symmetrical shapes such as squares, isosceles, or equilateral triangles. Symmetrical arrangements makes asset identification difficult, and they may cause the rigid body assets to flip during capture.

Unique Marker Placements

Noncongruent, or unique, five markers placements in 2D

When tracking multiple objects, it is beneficial to create unique rigid body assets in Motive. Specifically, you need to place retroreflective markers in a distinctive arrangement for each object. The major benefit of having unique rigid bodies is that it allows Motive to more clearly distinguish the markers on each rigid body throughout capture. In other words, their unique, non-congruent, arrangements work as distinctive identification flags among multiple assets in Motive. This not only reduces amount of required computation for the rigid body solver, but it also improves the stability of the tracking. Not having unique rigid bodies could be critical especially when tracking several assets with similar size and shape.

What Makes Rigid Bodies Unique?

The key idea of creating unique rigid body is to avoid geometrical congruency within multiple rigid bodies in Motive.

  • Unique Marker Arrangement. Each rigid body must have a unique, non-congruent, marker placement creating a unique shape when the markers are interconnected.
  • Unique Marker-to-Marker Distances. When tracking several objects, introducing unique shapes could be difficult. Another solution is to vary Marker-to-marker distances. This will create similar shapes with varying sizes, and make them distinctive from the others.
  • Unique Marker Counts Adding extra markers is another method of introducing the uniqueness. Extra markers will not only make the rigid bodies more distinctive, but they will also provide more options for varying the arrangements to avoid the congruency.

What Happens When Rigid Bodies Are Not Unique?

Unique rigid bodies improve tracking stability. However, in Motive, non-unique rigid bodies can also be tracked fairly well as long as the non-unique rigid bodies are continuously tracked throughout capture. Motive can refer to the trajectory history to identify and associate corresponding rigid bodies within different frames. In order to track non-unique rigid bodies, you must make sure the Properties → General Settings → Unique setting in Rigid Body Properties of the assets are set to False.

Even though it is possible to track non-unique rigid bodies, it is strongly recommended to make each asset unique. Tracking of multiple congruent rigid bodies could be lost during capture either by occlusion or by stepping outside of the capture volume. Also, when two non-unique rigid bodies are positioned in vicinity and overlap in the scene, their definitions may be swapped. In these cases, additional efforts will be required for correcting the labels in post-processing of the data.

Multiple Rigid Bodies Tracking

Depending on the object, there could be limitations on marker placements and number of variations of unique placements that could be achieved. The following list provides sample methods for varying unique arrangements when tracking multiple rigid bodies.

1. Create Distinctive 2D Arrangements. Create distinctive, non-congruent, marker arrangements as the starting point for producing multiple variations, as shown in the examples above.

2. Vary heights. Use marker bases, or posts, with different heights to introduce variations in elevation to create additional unique arrangments.

3. Vary Maximum Marker to Marker Distance. Increase or decrease the overall size of the marker arrangements.

4. Vary Marker Two (or more) Markers Lastly, if additional variation is needed, add extra markers to introduce the uniqueness. We recommended adding at least two extra markers in case any of them is occluded.

Creating Rigid Body

Creating a rigid body from Project Pane. Properties for the selected asset is described at the bottom.

A set of markers attached to a rigid object can be grouped and auto-labeled as a rigid body. This rigid body definition can be utilized in multiple takes to continuously auto-label the same rigid body for every Take. Motive recognizes the unique spatial relationship in the marker arrangement, and auto-labels each marker to recreate the rigid body.

At least three coordinates are required to define a plane in 3D space. For this reason, a minimum of three markers are essential for creating a rigid body. To create a rigid body, select all associated rigid body markers in the 3D view pane and right-click to access the context menu. Then, go to Create From Selected Markers under Rigid Body. This can also be done by using the Create Rigid Body Assets RBIcon.png button in Project Pane, or by using the Hotkey while the markers are selected. When a rigid body is created, included markers will be colored, and they will be grouped by rigging. A newly created rigid body will be displayed under Assets in the Project pane.

When a rigid body is selected, rigid body properties will show up at the bottom of project pane. Here, you can access different settings, such as properties, display, transformation, and real-time info, for the selected rigid body. Default settings for the newly created rigid body is set from the Rigid Bodies tab under Application Settings.

Asset RBRightClick.png Asset RBbat.png
Creating a rigid body from the perspective view

ATake needs to be reconstructed and auto-labeled again if the rigid bodies, or skeletons, are created in the post-processing pipeline. Labels are applied only in 3D data and the capture data must be reconstructed for newly applied labels to be effective.

Adding or Removing Markers

An existing rigid body can be modified by adding or removing markers.

  1. First select a rigid body from the Project Pane or by selecting the pivot point in the Perspective View.
  2. Ctrl + left-click the markers that you wish to add/remove.
  3. Left-click on the Perspective View pane to open the rigid body context menu.
  4. Under Rigid Body, choose Add/Remove selected markers to/from rigid body.
  5. If needed, right-click on the rigid body and select Reset Pivot to relocate the pivot point to the new center.
Assets AddMarkerRB.png

Tracking Rigid Body

Rigid body real-time information. The position is represented in respect to the global origin, and the orientation is represented in respect to the initial orientation when the rigid body was created.
Displaying rigid body pivot points and orientations

The pivot point of a rigid body is used to define both position and orientation. When a rigid body is created, its pivot point is be placed at the center, and its orientation axis will be aligned along the global coordinate axis, which was defined during the Calibration process. To view the pivot point and the orientation in the 3D viewport, set the Pivot and Orientation to true in the display tab of the selected rigid body in the Project Pane.

Real-time Information

Position and orientation of a tracked rigid body can be monitored in real-time. First select a rigid body from the Devices Pane, and in the the properties section at the bottom, access the real-time information tab where the tracking information of selected rigid body is displayed.


As mentioned previously, the orientation axis for a rigid body is aligned along the global coordinate axis when a rigid body is created. To reset the orientation, first physically orient the tracked object in a desired angle in respect to the global system, select the corresponding rigid body in Motive, and press Reset To Current Orientation under the transformation tab in the Project Pane. Then the coordinate axis of the rigid body will be zeroed to the orientation. Precise adjustments on the pitch, roll, and yaw can also be applied from this section.

Adjusting Pivot Point

There are situations where a desired location of a pivot point is not at the center of a rigid body. The location of a pivot point can be adjusted by assigning it to a marker or by translating along the rigid body axis (x,y,z). For most accurate pivot point location, first attach a marker on the desired pivot location, set the pivot point to the marker, and apply the translation for precise adjustments.

Setting Pivot Point to a Marker

To assign the pivot point to a marker, first select the pivot point in the Perspective View pane, and CTRL select the marker that you wish to assign to. Then right-click to open the context menu, and in the rigid body section, click Set Pivot Point to Selected Marker.

Pivot Assign1.png Pivot Assign2.png

Translating Pivot Point

To translate the pivot point, access the Transformation tab in the Project pane while the rigid body is selected. Then, on the Rigid Body Pivot-Point Translation section, insert the amount of translation (in mm) that you wish to apply. Note that the translation will be applied along the x/y/z of the rigid body orientation axis.

Pivot Translate1.png Pivot Translate2.png

Resetting the Pivot Point

If you wish to reset the pivot point, simply open the rigid body context menu in the Perspective pane and click Reset Pivot. The location of the pivot point will be reset back to the center of the rigid body again.

Pivot Reset.png

Pivot for Spherical Placement

This feature is useful when tracking spherical object (e.g. ball). The Update Pivot for Spherical Placement feature will assume that all the rigid body markers are placed on surface of a spherical object, and the pivot point will be calculated and re-positioned accordingly. To do this, select a rigid body, right-click to access the context menu, and click Update Pivot for Spherical Placement.

Export Assets Definition

Assets can be exported into Motive user profile (.MOTIVE) file if it needs to be re-imported. The user profile is a text-readable file that can contain various configuration settings in Motive; including the asset definitions.

When the asset definition(s) is exported to a MOTIVE user profile, it stores marker arrangements calibrated in each asset, and they can be imported into different takes without creating a new one in Motive. Note that these files specifically store the spatial relationship of each marker, and therefore, only the identical marker arrangements will be recognized and defined with the imported asset.

To export the assets, go to Files tab → Export Assets to export all of the assets in the Live-mode or in the current TAK file. You can also use Files tab → Export Profile to export other software settings including the assets.


Important Update Note TRA/SKL files can still be imported into Motive, but they will be deprecated from the next release. This functionality will be replaced with the motive profile functionality. Starting from Motive 2.1, you can export just the Asset definitions into a Motive profile (*.MOTIVE) and re-import them in whenever necessary. In Motive 2.1, you will no longer be able to export out TRA/SKL files.

  • Exporting Assetsinto the User Profile.
  • Exporting user profile that includes assets. This dialogue window is from the Export Profile As... option.