aron_conversions.cpp
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  * @date 2022
18  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
19  * GNU General Public License
20  */
21 
22 #include "aron_conversions.h"
23 
25 
29 #include <armarx/navigation/platform_controller/aron/PlatformGlobalTrajectoryControllerConfig.aron.generated.h>
30 #include <armarx/navigation/platform_controller/aron/PlatformLocalTrajectoryControllerConfig.aron.generated.h>
33 
34 
36 {
37 
38  namespace platform_global_trajectory
39  {
40 
41  void
42  fromAron(const arondto::Targets& dto, Targets& bo)
43  {
44  fromAron(dto.trajectory, bo.trajectory);
45  }
46 
47  void
48  fromAron(const arondto::Config& dto, Config& bo)
49  {
50  fromAron(dto.params, bo.params);
51  fromAron(dto.targets, bo.targets);
52  }
53 
54  } // namespace platform_global_trajectory
55 
56  namespace platform_local_trajectory
57  {
58 
59  void
60  fromAron(const arondto::Targets& dto, Targets& bo)
61  {
62  fromAron(dto.trajectory, bo.trajectory);
63  }
64 
65  void
66  fromAron(const arondto::Config& dto, Config& bo)
67  {
68  fromAron(dto.params, bo.params);
69  fromAron(dto.targets, bo.targets);
70  }
71 
72  } // namespace platform_local_trajectory
73 
74 } // namespace armarx::navigation::platform_controller
aron_conversions.h
armarx::navigation::platform_controller::platform_local_trajectory::fromAron
void fromAron(const arondto::Targets &dto, Targets &bo)
Definition: aron_conversions.cpp:60
armarx::navigation::platform_controller::platform_local_trajectory::Config
Definition: PlatformLocalTrajectoryController.h:49
armarx::navigation::platform_controller::platform_local_trajectory::Targets
Definition: PlatformLocalTrajectoryController.h:44
armarx::navigation::platform_controller::platform_global_trajectory::Targets
Definition: PlatformGlobalTrajectoryController.h:45
PlatformLocalTrajectoryController.h
armarx::navigation::platform_controller::platform_global_trajectory::Config
Definition: PlatformGlobalTrajectoryController.h:50
armarx::navigation::platform_controller
This file is part of ArmarX.
Definition: aron_conversions.cpp:35
armarx::navigation::platform_controller::platform_global_trajectory::fromAron
void fromAron(const arondto::Targets &dto, Targets &bo)
Definition: aron_conversions.cpp:42
PlatformGlobalTrajectoryController.h
aron_conversions.h
aron_conversions.h
eigen.h
armarx::aron::bo
const std::optional< BoT > & bo
Definition: aron_conversions.h:168