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 );
DoorFoot
Definition: door_foot.h:9
DoorFoot::showNextStepCb
void showNextStepCb(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
Definition: door_foot.cpp:261
DoorFoot::server_name
std::string server_name
Definition: door_foot.h:40
DoorFoot::pullDoorCb
void pullDoorCb(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
Definition: door_foot.cpp:297
DoorFoot::procAnimation
void procAnimation()
ros.h
DoorFoot::makeFootMarker
visualization_msgs::Marker makeFootMarker(geometry_msgs::Pose pose, bool right)
Definition: door_foot.cpp:174
DoorFoot::push
bool push
Definition: door_foot.h:45
menu_handler.h
DoorFoot::makeInteractiveMarker
visualization_msgs::InteractiveMarker makeInteractiveMarker()
Definition: door_foot.cpp:199
DoorFoot::makeKnobMarker
visualization_msgs::Marker makeKnobMarker()
Definition: door_foot.cpp:67
DoorFoot::use_color_knob
bool use_color_knob
Definition: door_foot.h:46
DoorFoot::door_pose
geometry_msgs::Pose door_pose
Definition: door_foot.h:48
getXmlValue
double getXmlValue(XmlRpc::XmlRpcValue val)
Definition: interactive_marker_utils.cpp:639
DoorFoot::footstep_show_initial_p_
bool footstep_show_initial_p_
Definition: door_foot.h:34
pose
pose
DoorFoot::foot_list
std::vector< geometry_msgs::PoseStamped > foot_list
Definition: door_foot.h:47
interactive_markers::MenuHandler
DoorFoot::showPreviousStepCb
void showPreviousStepCb(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
Definition: door_foot.cpp:276
DoorFoot::server_
std::shared_ptr< interactive_markers::InteractiveMarkerServer > server_
Definition: door_foot.h:38
DoorFoot::makeLWallMarker
visualization_msgs::Marker makeLWallMarker()
Definition: door_foot.cpp:28
DoorFoot::makeDoorMarker
visualization_msgs::Marker makeDoorMarker()
Definition: door_foot.cpp:48
DoorFoot::size_
double size_
Definition: door_foot.h:44
DoorFoot::makeRFootMarker
visualization_msgs::Marker makeRFootMarker()
Definition: door_foot.cpp:133
interactive_marker_server.h
interactive_marker_helpers.h
DoorFoot::marker_name
std::string marker_name
Definition: door_foot.h:41
DoorFoot::showStandLocationCb
void showStandLocationCb(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
Definition: door_foot.cpp:257
DoorFoot::nh_
ros::NodeHandle nh_
Definition: door_foot.h:36
DoorFoot::footstep_index_
int footstep_index_
Definition: door_foot.h:35
DoorFoot::pushDoorCb
void pushDoorCb(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
Definition: door_foot.cpp:292
DoorFoot::updateBoxInteractiveMarker
void updateBoxInteractiveMarker()
Definition: door_foot.cpp:314
DoorFoot::pnh_
ros::NodeHandle pnh_
Definition: door_foot.h:37
DoorFoot::moveBoxCb
void moveBoxCb(const visualization_msgs::InteractiveMarkerFeedbackConstPtr &feedback)
Definition: door_foot.cpp:251
DoorFoot::makeRWallMarker
visualization_msgs::Marker makeRWallMarker()
Definition: door_foot.cpp:9
DoorFoot::makeLFootMarker
visualization_msgs::Marker makeLFootMarker()
Definition: door_foot.cpp:153
DoorFoot::menu_handler
interactive_markers::MenuHandler menu_handler
Definition: door_foot.h:43
XmlRpc::XmlRpcValue
getPose
geometry_msgs::Pose getPose(XmlRpc::XmlRpcValue val)
Definition: interactive_marker_utils.cpp:614
ros::NodeHandle
DoorFoot::DoorFoot
DoorFoot()
Definition: door_foot.cpp:323
DoorFoot::makeMenuHandler
interactive_markers::MenuHandler makeMenuHandler()
Definition: door_foot.cpp:303


jsk_interactive_marker
Author(s): furuta
autogenerated on Fri Aug 2 2024 08:50:24