SMACC
Loading...
Searching...
No Matches
cb_undo_path_backwards.h
Go to the documentation of this file.
1/*****************************************************************************************************************
2 * ReelRobotix Inc. - Software License Agreement Copyright (c) 2018
3 * Authors: Pablo Inigo Blasco, Brett Aldrich
4 *
5 ******************************************************************************************************************/
6#pragma once
7
8#include <tf/transform_listener.h>
10
11namespace cl_move_base_z
12{
14{
15 BackwardsLocalPlanner, /*default, it is able to move freely backwards, or combined straightsegments with pure spinning
16 segments*/
17 PureSpinningLocalPlanner /*only pure spinnings, be careful it may not be able to undo the path if it was not a pure
18 spinning segment*/
19};
20
22{
23public:
24 boost::optional<UndoPathLocalPlanner> forceUndoLocalPlanner;
25
26 virtual void onEntry() override;
27
28 virtual void onExit() override;
29
30private:
31 tf::TransformListener listener;
32};
33} // namespace cl_move_base_z
boost::optional< UndoPathLocalPlanner > forceUndoLocalPlanner