Finds the position of the scenario wrt world coordinates. All tracker data and scenario data are expressed wrt to this position. The scenario position is only needed when relating to world coordinates (e.g. external motion capture).

find_scenario_position(scenario_data)

Arguments

scenario_data

The scenario data list (should be read from scenario .json file)

Value

A list representing the scenario position with 6 items, "pos_x", "pos_y", and "pos_z", the x, y, and z position of the object in Unity units (m), as well as the Euler Angles "rot_x", "rot_y", and "rot_z". NULL if none found.