Skip to content
Snippets Groups Projects
Commit 2816ab17 authored by Fabian Reister's avatar Fabian Reister
Browse files

StackResult: using aliases for stack layer results. TODO: each should be a struct

parent 44a66aeb
No related branches found
No related tags found
No related merge requests found
......@@ -31,10 +31,16 @@ namespace armarx::nav::server
struct StackResult
{
core::TrajectoryPtr globalTrajectory;
core::TrajectoryPtr localTrajectory;
std::optional<core::Twist> controlVelocity;
std::optional<core::Twist> safeVelocity;
// TODO make struct, add timestamp
using GlobalPlannerResult = core::TrajectoryPtr;
using LocalPlannerResult = core::TrajectoryPtr;
using TrajectoryControllerResult = std::optional<core::Twist>;
using SafetyControllerResult = std::optional<core::Twist>;
GlobalPlannerResult globalTrajectory;
LocalPlannerResult localTrajectory;
TrajectoryControllerResult controlVelocity;
SafetyControllerResult safeVelocity;
core::TrajectoryPtr trajectory() const;
core::Twist velocity() const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment