This post demonstrates an undocumented feature in Pathfinder for visualizing experimental trajectory data in the Result Viewer. You can download this zip file seyfried_trajectory_demo.zip for the example Pathfinder file and experimental data file used in the video.
1) Format the trajectory data in a plain text file with agent data in the following format.
person# frame# x y z
2) Place your trajectory data file in the same folder as the Pathfinder results.
3) Setup a model like you normally to define the navigation surfaces, but with only one agent in the simulation.
4) Run the simulation.
5) Edit the resulting PFR file in a text editor so it has these lines:
The values for each of these parameters are example values only. You will need to modify these values to align the trajectory data display with your individual model or video data.
Note: You will be replacing the AnimFile line in the PFR file with the filename of your trajectory data file in the same directory.
The transformations of the experimental data are applied in this order: Scale, Rotate, Translate.
TrajFramerate – Sets the number of data frames per second.
TrajRot – Rotates all of the data trajectories by the number of degrees specified.
TrajScale – Multiplies the data x,y and z values by the factor specified.
TrajOffset[X,Y,Z] – Translates the x,y,z values by this amount, specified in meters.
TrajZOverride – Sets all of the Z values in the data to the value specified in meters.
6) Double-click the pfr file to visualize in the 3D Results.
If you have any questions, please contact firstname.lastname@example.org