NavigationStackGeneralConfig.h
Go to the documentation of this file.
1/**
2 * This file is part of ArmarX.
3 *
4 * ArmarX is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * ArmarX is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * @author Fabian Reister ( fabian dot reister at kit dot edu )
17 * @author Christian R. G. Dreher ( c dot dreher at kit dot edu )
18 * @date 2021
19 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20 * GNU General Public License
21 */
22
23#pragma once
24
26
28
30{
32 {
33 // if the desired velocity is below this threshold, the platform will not be moved
34 core::TwistLimits minVel{.linear = 0.F, .angular = 0.F};
35
36 //! max velocity
37 core::TwistLimits maxVel{.linear = 200.F, .angular = 0.2F};
38
39 // Ramping at start and end of trajectory
40 bool enableRampingStart = true;
41 bool enableRampingEnd = true;
43 float rampLength{1000}; // [mm]
44 float cornerVelocity = 200; // [mm/s]
45 float boundaryVelocity = 150; // [mm/s]
46 // the minimum angle between two trajectory segments to be considered a corner (regarding ramping)
47 float cornerLimit = 35; // [deg]
48
49 //! Maximum distance [mm] to search for a valid recovery position when robot starts in collision
51
52 //! If true and the goal is not reachable, navigate to the closest reachable position instead of failing
54
55 virtual ~GeneralConfig() = default;
56
57 virtual aron::data::DictPtr toAron() const;
58
59 static GeneralConfig FromAron(const aron::data::DictPtr& dict);
60 };
61
62} // namespace armarx::navigation::core
std::shared_ptr< Dict > DictPtr
Definition Dict.h:42
This file is part of ArmarX.
static GeneralConfig FromAron(const aron::data::DictPtr &dict)
bool navigateCloseAsPossible
If true and the goal is not reachable, navigate to the closest reachable position instead of failing.
float inCollisionDistanceThresholdForRecovery
Maximum distance [mm] to search for a valid recovery position when robot starts in collision.