door_foot.h
Go to the documentation of this file.
1 #include <ros/ros.h>
4 
6 #include <jsk_interactive_marker/SetPose.h>
7 #include <jsk_interactive_marker/MarkerSetPose.h>
8 
9 class DoorFoot{
10  public:
11  void procAnimation();
12  visualization_msgs::Marker makeRWallMarker();
13  visualization_msgs::Marker makeLWallMarker();
14  visualization_msgs::Marker makeDoorMarker();
15  visualization_msgs::Marker makeKnobMarker();
16  visualization_msgs::Marker makeKnobMarker(int position);
17 
18  visualization_msgs::Marker makeRFootMarker();
19  visualization_msgs::Marker makeLFootMarker();
20 
21  visualization_msgs::Marker makeFootMarker(geometry_msgs::Pose pose, bool right);
22  visualization_msgs::InteractiveMarker makeInteractiveMarker();
23  void moveBoxCb( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback);
24  void pushDoorCb( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback);
25  void pullDoorCb( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback);
26  void showStandLocationCb( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback);
27  void showNextStepCb( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback);
28  void showPreviousStepCb( const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback);
31 
32  DoorFoot ();
33  private:
38  std::shared_ptr<interactive_markers::InteractiveMarkerServer> server_;
39 
40  std::string server_name;
41  std::string marker_name;
42 
44  double size_;
45  bool push;
47  std::vector<geometry_msgs::PoseStamped> foot_list;
48  geometry_msgs::Pose door_pose;
49 };
50 
51 geometry_msgs::Pose getPose( XmlRpc::XmlRpcValue val);
52 double getXmlValue( XmlRpc::XmlRpcValue val );
ros::NodeHandle pnh_
Definition: door_foot.h:37
interactive_markers::MenuHandler menu_handler
Definition: door_foot.h:43
void procAnimation()
std::string server_name
Definition: door_foot.h:40
bool push
Definition: door_foot.h:45
geometry_msgs::Pose getPose(XmlRpc::XmlRpcValue val)
void showNextStepCb(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
Definition: door_foot.cpp:261
geometry_msgs::Pose door_pose
Definition: door_foot.h:48
visualization_msgs::Marker makeLWallMarker()
Definition: door_foot.cpp:28
visualization_msgs::Marker makeRFootMarker()
Definition: door_foot.cpp:133
pose
visualization_msgs::Marker makeFootMarker(geometry_msgs::Pose pose, bool right)
Definition: door_foot.cpp:174
void pullDoorCb(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
Definition: door_foot.cpp:297
ros::NodeHandle nh_
Definition: door_foot.h:36
double getXmlValue(XmlRpc::XmlRpcValue val)
void updateBoxInteractiveMarker()
Definition: door_foot.cpp:314
bool footstep_show_initial_p_
Definition: door_foot.h:34
void showPreviousStepCb(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
Definition: door_foot.cpp:276
int footstep_index_
Definition: door_foot.h:35
visualization_msgs::InteractiveMarker makeInteractiveMarker()
Definition: door_foot.cpp:199
void moveBoxCb(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
Definition: door_foot.cpp:251
bool use_color_knob
Definition: door_foot.h:46
visualization_msgs::Marker makeDoorMarker()
Definition: door_foot.cpp:48
void pushDoorCb(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
Definition: door_foot.cpp:292
std::vector< geometry_msgs::PoseStamped > foot_list
Definition: door_foot.h:47
double size_
Definition: door_foot.h:44
visualization_msgs::Marker makeLFootMarker()
Definition: door_foot.cpp:153
void showStandLocationCb(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
Definition: door_foot.cpp:257
std::shared_ptr< interactive_markers::InteractiveMarkerServer > server_
Definition: door_foot.h:38
interactive_markers::MenuHandler makeMenuHandler()
Definition: door_foot.cpp:303
std::string marker_name
Definition: door_foot.h:41
visualization_msgs::Marker makeKnobMarker()
Definition: door_foot.cpp:67
visualization_msgs::Marker makeRWallMarker()
Definition: door_foot.cpp:9


jsk_interactive_marker
Author(s): furuta
autogenerated on Sat Mar 20 2021 03:03:33