selfdriving
mrpt_path_planning
include
mpp
ptgs
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
*/
17
class
SpeedTrimmablePTG
18
{
19
public
:
20
SpeedTrimmablePTG
() =
default
;
21
~SpeedTrimmablePTG
() =
default
;
22
23
double
trimmableSpeed_
= 1.0;
24
};
25
}
// namespace mpp::ptg
mpp::ptg::SpeedTrimmablePTG
Definition:
SpeedTrimmablePTG.h:17
mpp::ptg::SpeedTrimmablePTG::trimmableSpeed_
double trimmableSpeed_
Definition:
SpeedTrimmablePTG.h:23
mpp::ptg
Definition:
DiffDrive_C.h:14
mpp::ptg::SpeedTrimmablePTG::SpeedTrimmablePTG
SpeedTrimmablePTG()=default
mpp::ptg::SpeedTrimmablePTG::~SpeedTrimmablePTG
~SpeedTrimmablePTG()=default
Generated on Sun Jul 2 2023 09:45:17 for selfdriving by
1.8.13