SMACC
Loading...
Searching...
No Matches
cb_pouring_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
9#include "tf/transform_datatypes.h"
10#include <tf/transform_listener.h>
11
13{
15 {
16 public:
17 boost::optional<double> angularSpeed_rad_s_;
18
19 boost::optional<double> linearSpeed_m_s_;
20
21 CbCircularPouringMotion(const geometry_msgs::Point &pivotPoint, double deltaHeight, std::string tipLink , std::string globalFrame);
22
23 virtual void generateTrajectory() override;
24
25 virtual void createMarkers() override;
26
27 geometry_msgs::Vector3 directionVector_;
28
29 // relative position of the "lid" of the bottle in the end effector reference frame.
30 // that point is the one that must do the linear motion
31 geometry_msgs::Pose pointerRelativePose_;
32 protected:
33 geometry_msgs::Point relativePivotPoint_;
34
35 // distance in meters from the initial pose to the bottom/top direction in z axe
37
38 std::vector<geometry_msgs::PoseStamped> pointerTrajectory_;
39
40 private:
42
43 std::string globalFrame_;
44 };
45
46} // namespace cl_move_group_interface
std::vector< geometry_msgs::PoseStamped > pointerTrajectory_