#include <chomp_cost_server.h>
Public Member Functions | |
ChompCostServer () | |
bool | getChompCollisionCost (chomp_motion_planner::GetChompCollisionCost::Request &request, chomp_motion_planner::GetChompCollisionCost::Response &response) |
bool | getStateCost (chomp_motion_planner::GetStateCost::Request &request, chomp_motion_planner::GetStateCost::Response &response) |
bool | init (bool advertise_service) |
void | mechanismStateCallback (const sensor_msgs::JointStateConstPtr &mech_state) |
int | run () |
virtual | ~ChompCostServer () |
Private Member Functions | |
void | fillDefaultJointArray (KDL::JntArray &jnt_array) |
Private Attributes | |
ChompCollisionSpace | chomp_collision_space_ |
ChompRobotModel | chomp_robot_model_ |
ros::ServiceServer | get_chomp_collision_cost_server_ |
ros::ServiceServer | get_state_cost_server_ |
sensor_msgs::JointState | mechanism_state_ |
boost::mutex | mechanism_state_mutex_ |
ros::Subscriber | mechanism_state_subscriber_ |
ros::NodeHandle | node_ |
ros::Publisher | vis_marker_array_publisher_ |
This node advertises a service that can respond to queries about collision cost for a given robot configuration.
Definition at line 56 of file chomp_cost_server.h.
chomp::ChompCostServer::ChompCostServer | ( | ) |
Definition at line 39 of file chomp_cost_server.cpp.
chomp::ChompCostServer::~ChompCostServer | ( | ) | [virtual] |
Definition at line 43 of file chomp_cost_server.cpp.
void chomp::ChompCostServer::fillDefaultJointArray | ( | KDL::JntArray & | jnt_array | ) | [private] |
Definition at line 195 of file chomp_cost_server.cpp.
bool chomp::ChompCostServer::getChompCollisionCost | ( | chomp_motion_planner::GetChompCollisionCost::Request & | request, | |
chomp_motion_planner::GetChompCollisionCost::Response & | response | |||
) |
Definition at line 72 of file chomp_cost_server.cpp.
bool chomp::ChompCostServer::getStateCost | ( | chomp_motion_planner::GetStateCost::Request & | request, | |
chomp_motion_planner::GetStateCost::Response & | response | |||
) |
Definition at line 167 of file chomp_cost_server.cpp.
bool chomp::ChompCostServer::init | ( | bool | advertise_service | ) |
Definition at line 47 of file chomp_cost_server.cpp.
void chomp::ChompCostServer::mechanismStateCallback | ( | const sensor_msgs::JointStateConstPtr & | mech_state | ) |
Definition at line 186 of file chomp_cost_server.cpp.
int chomp::ChompCostServer::run | ( | ) |
Definition at line 210 of file chomp_cost_server.cpp.
Definition at line 70 of file chomp_cost_server.h.
Definition at line 69 of file chomp_cost_server.h.
ros::ServiceServer chomp::ChompCostServer::get_chomp_collision_cost_server_ [private] |
Definition at line 65 of file chomp_cost_server.h.
ros::ServiceServer chomp::ChompCostServer::get_state_cost_server_ [private] |
Definition at line 65 of file chomp_cost_server.h.
sensor_msgs::JointState chomp::ChompCostServer::mechanism_state_ [private] |
Definition at line 73 of file chomp_cost_server.h.
boost::mutex chomp::ChompCostServer::mechanism_state_mutex_ [private] |
Definition at line 71 of file chomp_cost_server.h.
ros::Subscriber chomp::ChompCostServer::mechanism_state_subscriber_ [private] |
Definition at line 66 of file chomp_cost_server.h.
ros::NodeHandle chomp::ChompCostServer::node_ [private] |
Definition at line 64 of file chomp_cost_server.h.
ros::Publisher chomp::ChompCostServer::vis_marker_array_publisher_ [private] |
Definition at line 67 of file chomp_cost_server.h.