SMACC2
Loading...
Searching...
No Matches
smacc2_client_library
move_group_interface_client
include
move_group_interface_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 <
move_group_interface_client/client_behaviors/cb_move_end_effector_trajectory.hpp
>
24
#include <
move_group_interface_client/components/cp_trajectory_history.hpp
>
25
26
namespace
cl_move_group_interface
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_move_group_interface
cb_move_end_effector_trajectory.hpp
cl_move_group_interface::CbMoveEndEffectorTrajectory
Definition:
cb_move_end_effector_trajectory.hpp:53
cl_move_group_interface::CbUndoLastTrajectory
Definition:
cb_undo_last_trajectory.hpp:29
cl_move_group_interface::CbUndoLastTrajectory::backIndex_
int backIndex_
Definition:
cb_undo_last_trajectory.hpp:42
cl_move_group_interface::CbUndoLastTrajectory::trajectory
moveit_msgs::msg::RobotTrajectory trajectory
Definition:
cb_undo_last_trajectory.hpp:44
cl_move_group_interface::CbUndoLastTrajectory::CbUndoLastTrajectory
CbUndoLastTrajectory()
Definition:
cb_undo_last_trajectory.cpp:26
cl_move_group_interface::CbUndoLastTrajectory::onEntry
virtual void onEntry() override
Definition:
cb_undo_last_trajectory.cpp:34
cl_move_group_interface::CbUndoLastTrajectory::reversed
moveit_msgs::msg::RobotTrajectory reversed
Definition:
cb_undo_last_trajectory.hpp:45
cl_move_group_interface::CbUndoLastTrajectory::~CbUndoLastTrajectory
virtual ~CbUndoLastTrajectory()
Definition:
cb_undo_last_trajectory.cpp:30
cl_move_group_interface::CbUndoLastTrajectory::generateTrajectory
virtual void generateTrajectory()
Definition:
cb_undo_last_trajectory.cpp:32
cp_trajectory_history.hpp
cl_move_group_interface
Definition:
cl_movegroup.hpp:35
Generated by
1.9.5