SMACC2
Loading...
Searching...
No Matches
smacc2_client_library
moveit2z_client
include
moveit2z_client
client_behaviors
cb_undo_last_trajectory.hpp
Go to the documentation of this file.
1
// Copyright 2021 RobosoftAI Inc.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
/*****************************************************************************************************************
16
*
17
* Authors: Pablo Inigo Blasco, Brett Aldrich
18
*
19
*****************************************************************************************************************/
20
21
#pragma once
22
23
#include <
moveit2z_client/client_behaviors/cb_move_end_effector_trajectory.hpp
>
24
#include <
moveit2z_client/components/cp_trajectory_history.hpp
>
25
26
namespace
cl_moveit2z
27
{
28
class
CbUndoLastTrajectory
:
public
CbMoveEndEffectorTrajectory
29
{
30
public
:
31
CbUndoLastTrajectory
();
32
33
CbUndoLastTrajectory
(
int
backIndex);
34
35
virtual
~CbUndoLastTrajectory
();
36
37
virtual
void
onEntry
()
override
;
38
39
virtual
void
generateTrajectory
();
40
41
private
:
42
int
backIndex_
= -1;
43
44
moveit_msgs::msg::RobotTrajectory
trajectory
;
45
moveit_msgs::msg::RobotTrajectory
reversed
;
46
};
47
48
}
// namespace cl_moveit2z
cb_move_end_effector_trajectory.hpp
cl_moveit2z::CbMoveEndEffectorTrajectory
Definition
cb_move_end_effector_trajectory.hpp:53
cl_moveit2z::CbUndoLastTrajectory
Definition
cb_undo_last_trajectory.hpp:29
cl_moveit2z::CbUndoLastTrajectory::CbUndoLastTrajectory
CbUndoLastTrajectory()
Definition
cb_undo_last_trajectory.cpp:26
cl_moveit2z::CbUndoLastTrajectory::backIndex_
int backIndex_
Definition
cb_undo_last_trajectory.hpp:42
cl_moveit2z::CbUndoLastTrajectory::onEntry
virtual void onEntry() override
Definition
cb_undo_last_trajectory.cpp:34
cl_moveit2z::CbUndoLastTrajectory::trajectory
moveit_msgs::msg::RobotTrajectory trajectory
Definition
cb_undo_last_trajectory.hpp:44
cl_moveit2z::CbUndoLastTrajectory::~CbUndoLastTrajectory
virtual ~CbUndoLastTrajectory()
Definition
cb_undo_last_trajectory.cpp:30
cl_moveit2z::CbUndoLastTrajectory::generateTrajectory
virtual void generateTrajectory()
Definition
cb_undo_last_trajectory.cpp:32
cl_moveit2z::CbUndoLastTrajectory::reversed
moveit_msgs::msg::RobotTrajectory reversed
Definition
cb_undo_last_trajectory.hpp:45
cp_trajectory_history.hpp
cl_moveit2z
Definition
cl_moveit2z.hpp:35
Generated by
1.9.8