.. user_guide gvf_viewer ================ GVF Viewer ================ GVF Viewer is a GCS widget that allows us to visualise parametric trajectories and vector fields generated by GVF (guiding vector field) guidance algorithm. .. image:: gvf_viewer_showcase.png How to load GVF Viewer ----------------------- The GVF Viewer tool is built inside the GCS map widget but will be deactivated until you load it in your layout. In the image below you can see how we load ``gvf_layout.xml``. This layout is a simple example that just includes the GVF Viewer widget in the left column. .. image:: gvf_viewer_layout.png .. code-block:: xml Once we loaded GVF Viewer, we need an aircraft working with GVF. In order to test some features of this tool, the user can load the GVF configurations located in ``conf/userconf/conf_example_gvf.xml`` and compile the simulation target. How GVF Viewer works -------------------- The GVF Viewer uses the ``GVF`` and ``GVF_PARAMETRIC`` telemetry messages data to draw both the vector field and the parametric trajectory. This way, once the server recive any of these messages from any AC, the tool will start to draw with the default configuration. To set up a custom configuration we just have to click on the GVF icon. In the new dialog that instantly appears the user will be able to change some variables of the drawer and visualise the altitude color bar. GVF trajectories ---------------- Although GVF formally allows to follow every parametric trajectory, at this moment there are just a few examples implemented. GVF classic ___________ The GVF classic version currently includes the line, 2D ellipse, and sine trajectories. .. image:: gvf_classic.png GVF parametric ______________ In GVF parametric the user will find more complex trajectories such as the trefoil, 3D ellipse, and lissajous. .. image:: gvf_parametric.png