SMACC
Loading...
Searching...
No Matches
smacc_client_library
move_group_interface_client
include
move_group_interface_client
client_behaviors
cb_circular_pivot_motion.h
Go to the documentation of this file.
1
/*****************************************************************************************************************
2
* ReelRobotix Inc. - Software License Agreement Copyright (c) 2018-2020
3
* Authors: Pablo Inigo Blasco, Brett Aldrich
4
*
5
******************************************************************************************************************/
6
#pragma once
7
8
#include "
cb_move_end_effector_trajectory.h
"
9
#include "tf/transform_datatypes.h"
10
#include <tf/transform_listener.h>
11
12
namespace
cl_move_group_interface
13
{
14
class
CbCircularPivotMotion
:
public
CbMoveEndEffectorTrajectory
15
{
16
public
:
17
boost::optional<double>
angularSpeed_rad_s_
;
18
boost::optional<double>
linearSpeed_m_s_
;
19
20
// if not specified it would be used the current robot pose
21
boost::optional<geometry_msgs::Pose>
relativeInitialPose_
;
22
23
CbCircularPivotMotion
(std::string tipLink =
""
);
24
25
CbCircularPivotMotion
(
const
geometry_msgs::PoseStamped &planePivotPose,
double
deltaRadians, std::string tipLink =
""
);
26
27
CbCircularPivotMotion
(
const
geometry_msgs::PoseStamped &planePivotPose,
const
geometry_msgs::Pose &relativeInitialPose,
double
deltaRadians, std::string tipLink =
""
);
28
29
virtual
void
generateTrajectory
()
override
;
30
31
virtual
void
createMarkers
()
override
;
32
33
protected
:
34
geometry_msgs::PoseStamped
planePivotPose_
;
35
36
double
deltaRadians_
;
37
38
private
:
39
void
computeCurrentEndEffectorPoseRelativeToPivot
();
40
};
41
42
}
// namespace cl_move_group_interface
cb_move_end_effector_trajectory.h
cl_move_group_interface::CbCircularPivotMotion
Definition:
cb_circular_pivot_motion.h:15
cl_move_group_interface::CbCircularPivotMotion::planePivotPose_
geometry_msgs::PoseStamped planePivotPose_
Definition:
cb_circular_pivot_motion.h:34
cl_move_group_interface::CbCircularPivotMotion::computeCurrentEndEffectorPoseRelativeToPivot
void computeCurrentEndEffectorPoseRelativeToPivot()
Definition:
cb_circular_pivot_motion.cpp:121
cl_move_group_interface::CbCircularPivotMotion::relativeInitialPose_
boost::optional< geometry_msgs::Pose > relativeInitialPose_
Definition:
cb_circular_pivot_motion.h:21
cl_move_group_interface::CbCircularPivotMotion::angularSpeed_rad_s_
boost::optional< double > angularSpeed_rad_s_
Definition:
cb_circular_pivot_motion.h:17
cl_move_group_interface::CbCircularPivotMotion::createMarkers
virtual void createMarkers() override
Definition:
cb_circular_pivot_motion.cpp:166
cl_move_group_interface::CbCircularPivotMotion::generateTrajectory
virtual void generateTrajectory() override
Definition:
cb_circular_pivot_motion.cpp:26
cl_move_group_interface::CbCircularPivotMotion::linearSpeed_m_s_
boost::optional< double > linearSpeed_m_s_
Definition:
cb_circular_pivot_motion.h:18
cl_move_group_interface::CbCircularPivotMotion::deltaRadians_
double deltaRadians_
Definition:
cb_circular_pivot_motion.h:36
cl_move_group_interface::CbMoveEndEffectorTrajectory
Definition:
cb_move_end_effector_trajectory.h:37
cl_move_group_interface
Definition:
cl_movegroup.h:19
Generated by
1.9.5