StackResult.cpp
Go to the documentation of this file.
1#include "StackResult.h"
2
4{
5 // Stack result
6 // core::TrajectoryPtr
7 // StackResult::trajectory() const
8 // {
9 // if (localTrajectory)
10 // {
11 // return localTrajectory;
12 // }
13
14 // ARMARX_CHECK_NOT_NULL(globalPlannerResult);
15 // return globalPlannerResult;
16 // }
17
18 // core::Twist
19 // StackResult::velocity() const
20 // {
21 // if (safeVelocity.has_value())
22 // {
23 // return safeVelocity.value();
24 // }
25
26 // ARMARX_CHECK(controlVelocity.has_value());
27 // return *controlVelocity;
28 // }
29
30 // bool
31 // StackResult::isValid() const
32 // {
33 // return globalPlannerResult != nullptr and controlVelocity.has_value();
34 // }
35
36} // namespace armarx::navigation::server
This file is part of ArmarX.