selfdriving
SpeedTrimmablePTG.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 
9 #include <cstdlib>
10 
11 namespace mpp::ptg
12 {
13 /** A PTG with a dynamic variable for speed modulation [0,1], usable in
14  * the V and W expressions.
15  *
16  */
18 {
19  public:
20  SpeedTrimmablePTG() = default;
21  ~SpeedTrimmablePTG() = default;
22 
23  double trimmableSpeed_ = 1.0;
24 };
25 } // namespace mpp::ptg
Definition: SpeedTrimmablePTG.h:17
double trimmableSpeed_
Definition: SpeedTrimmablePTG.h:23
Definition: DiffDrive_C.h:14