GraspShape.hh
Go to the documentation of this file.
1 
8 #ifndef _GRASP_SHAPE_HH
9 #define _GRASP_SHAPE_HH
10 
11 // Gazebo
12 #include <gazebo/gazebo_client.hh>
13 #include <gazebo/gazebo_config.h>
14 #include <gazebo/transport/transport.hh>
15 #include <gazebo/msgs/msgs.hh>
16 
17 // Debug streams
18 #include "debug.hh"
19 
20 // Functions
21 
24 {
26  public: std::string name;
28  public: std::vector < std::pair < std::string, double > > pre;
30  public: std::vector < std::pair < std::string, double > > post;
31 
32  // TODO - Only use PIDs
34  public: std::vector < std::pair < std::string, double > > forces;
35 
36  // Functions
37 
40  GraspShape(std::string & _name);
41 };
42 
43 #endif
std::vector< std::pair< std::string, double > > post
Post-grasp joint configurations.
Definition: GraspShape.hh:30
std::vector< std::pair< std::string, double > > pre
Pre-grasp joint configurations.
Definition: GraspShape.hh:28
std::string name
Grasp shape name.
Definition: GraspShape.hh:26
Grasp pre/post shape class.
Definition: GraspShape.hh:23
GraspShape(std::string &_name)
Constructs the object.
Definition: GraspShape.cc:11
std::vector< std::pair< std::string, double > > forces
Forces for closing fingers, per joint.
Definition: GraspShape.hh:34