selfdriving
viz.h
Go to the documentation of this file.
1 /* -------------------------------------------------------------------------
2  * SelfDriving C++ library based on PTGs and mrpt-nav
3  * Copyright (C) 2019-2022 Jose Luis Blanco, University of Almeria
4  * See LICENSE for license information.
5  * ------------------------------------------------------------------------- */
6 
7 #pragma once
8 
10 #include <mpp/data/PlannerOutput.h>
11 #include <mpp/data/RenderOptions.h>
12 #include <mpp/data/trajectory_t.h>
13 
14 namespace mpp
15 {
17 {
18  /** dont return viz_nav_plan() until user closes the window */
19  bool gui_modal = true;
20 
22 };
23 
24 void viz_nav_plan(
25  const PlannerOutput& plan, const VisualizationOptions& opts = {},
26  const std::vector<CostEvaluator::Ptr> costEvaluators = {});
27 
29  const PlannerOutput& plan, const mpp::trajectory_t& traj,
30  const RenderOptions& opts = {},
31  const std::vector<CostEvaluator::Ptr> costEvaluators = {});
32 
33 } // namespace mpp
RenderOptions renderOptions
Definition: viz.h:21
void viz_nav_plan(const PlannerOutput &plan, const VisualizationOptions &opts={}, const std::vector< CostEvaluator::Ptr > costEvaluators={})
Definition: viz.h:16
Definition: bestTrajectory.h:15
Definition: RenderOptions.h:21
Definition: PlannerOutput.h:19
bool gui_modal
Definition: viz.h:19
void viz_nav_plan_animation(const PlannerOutput &plan, const mpp::trajectory_t &traj, const RenderOptions &opts={}, const std::vector< CostEvaluator::Ptr > costEvaluators={})
std::map< duration_seconds_t, trajectory_state_t > trajectory_t
Definition: trajectory_t.h:26