PathFactory.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
* @package ArmarXGuiPlugins::RobotTrajectoryDesigner::ImportExport
17
* @author Liran Dattner
18
* @date 2018
19
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20
* GNU General Public License
21
*/
22
#ifndef PATHFACTORY_H
23
#define PATHFACTORY_H
24
25
#include <Eigen/Core>
26
27
#include <VirtualRobot/TimeOptimalTrajectory/Path.h>
28
29
#include "../Model/DesignerTrajectory.h"
30
31
namespace
armarx
32
{
33
class
PathFactory;
34
35
/**
36
* @class PathFactory
37
* @brief Creates a Simox VirtualRobot::Path from a set of nodes representing joint angles and a maximum deviation parameter.
38
*/
39
class
PathFactory
40
{
41
public
:
42
/**
43
* @brief Creates a Path out of the nodes with a maximum deviation.
44
* @param nodes The nodes the path goes through.
45
* @param maxDeviation The maximum deviation of the points along the path.
46
* @return The created path.
47
*/
48
static
VirtualRobot::Path
createPath
(std::vector<std::vector<double>>& nodes,
49
double
maxDeviation);
50
};
51
}
// namespace armarx
52
#endif // PATHFACTORY_H
armarx::PathFactory
Creates a Simox VirtualRobot::Path from a set of nodes representing joint angles and a maximum deviat...
Definition:
PathFactory.h:39
armarx::armem::server::ltm::detail::mixin::Path
std::filesystem::path Path
Definition:
DiskStorageMixin.h:17
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition:
ArmarXTimeserver.cpp:27
armarx::PathFactory::createPath
static VirtualRobot::Path createPath(std::vector< std::vector< double >> &nodes, double maxDeviation)
Creates a Path out of the nodes with a maximum deviation.
Definition:
PathFactory.cpp:4
RobotComponents
gui-plugins
RobotTrajectoryDesignerGuiPlugin
TrajectoryCalculation
PathFactory.h
Generated on Sat Mar 29 2025 09:17:33 for armarx_documentation by
1.8.17