# Trajectory Optimization

Trajectory optimization involves adjusting the lidar system's trajectory, which in turn changes the position of the lidar points. Position (south, east, up) and attitude (roll, pitch, yaw) can be adjusted by the optimizer at any point along the trajectory in order to achieve better agreement between lidar data from different times along the trajectory. Trajectory optimization can also be used to adjust lidar data towards ground control points.&#x20;

LiDARSnap offers two presets for trajectory optimization - **Airborne Trajectory Optimization** and M**obile Trajectory Optimization**. Each of these presets contain a set of parameters that have been found to work well with their respective data set types, however all parameters can be modified by the user. The mobile trajectory preset optimizes for all parameters (south, east, up, roll, pitch, yaw) at a very fine spline interval (every 2 seconds), whereas the airborne trajectory preset only optimizes the vertical parameter (up) at a coarser interval (every 10 seconds).&#x20;

The result of trajectory optimization is a POF trajectory created by LiDARSnap:

<figure><img src="/files/qt3sHF1vVX1vYtR74b3K" alt=""><figcaption><p>POF trajectory (yellow) produced by LiDARSnap trajectory optimization</p></figcaption></figure>

SpatialExplorer will automatically recompute the point cloud in respect to this new trajectory; however, if the optimization results are satisfactory, it is recommended that you save the pointcloud and PLP before proceeding with classification, colorization or any other processing.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.phoenixlidar.com/spatialexplorer-8-and-9/user-interface/toolbars/workflow/lidarsnap-v4/trajectory-optimization.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
