#include <gazebo_ros_api_plugin.h>
Definition at line 127 of file gazebo_ros_api_plugin.h.
Definition at line 35 of file gazebo_ros_api_plugin.cpp.
Definition at line 40 of file gazebo_ros_api_plugin.cpp.
advertise services
Definition at line 166 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::applyBodyWrench | ( | gazebo_msgs::ApplyBodyWrench::Request & | req, |
gazebo_msgs::ApplyBodyWrench::Response & | res | ||
) |
shift wrench to body frame if a non-zero reference point is given
Definition at line 1501 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::applyJointEffort | ( | gazebo_msgs::ApplyJointEffort::Request & | req, |
gazebo_msgs::ApplyJointEffort::Response & | res | ||
) |
Definition at line 1235 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::clearBodyWrenches | ( | gazebo_msgs::BodyRequest::Request & | req, |
gazebo_msgs::BodyRequest::Response & | res | ||
) |
Definition at line 1328 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::clearBodyWrenches | ( | std::string | body_name | ) |
Definition at line 1332 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::clearJointForces | ( | gazebo_msgs::JointRequest::Request & | req, |
gazebo_msgs::JointRequest::Response & | res | ||
) |
Definition at line 1299 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::clearJointForces | ( | std::string | joint_name | ) |
Definition at line 1303 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::deleteModel | ( | gazebo_msgs::DeleteModel::Request & | req, |
gazebo_msgs::DeleteModel::Response & | res | ||
) |
delete model given name
Definition at line 664 of file gazebo_ros_api_plugin.cpp.
void gazebo::GazeboRosApiPlugin::forceJointSchedulerSlot | ( | ) | [private] |
Definition at line 1707 of file gazebo_ros_api_plugin.cpp.
ros queue thread for this node
Definition at line 157 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::getJointProperties | ( | gazebo_msgs::GetJointProperties::Request & | req, |
gazebo_msgs::GetJointProperties::Response & | res | ||
) |
Definition at line 880 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::getLinkProperties | ( | gazebo_msgs::GetLinkProperties::Request & | req, |
gazebo_msgs::GetLinkProperties::Response & | res | ||
) |
Definition at line 917 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::getLinkState | ( | gazebo_msgs::GetLinkState::Request & | req, |
gazebo_msgs::GetLinkState::Response & | res | ||
) |
Definition at line 958 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::getModelProperties | ( | gazebo_msgs::GetModelProperties::Request & | req, |
gazebo_msgs::GetModelProperties::Response & | res | ||
) |
Definition at line 803 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::getModelState | ( | gazebo_msgs::GetModelState::Request & | req, |
gazebo_msgs::GetModelState::Response & | res | ||
) |
Definition at line 729 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::getPhysicsProperties | ( | gazebo_msgs::GetPhysicsProperties::Request & | req, |
gazebo_msgs::GetPhysicsProperties::Response & | res | ||
) |
Definition at line 1084 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::getWorldProperties | ( | gazebo_msgs::GetWorldProperties::Request & | req, |
gazebo_msgs::GetWorldProperties::Response & | res | ||
) |
Definition at line 865 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::IsGazeboModelXML | ( | std::string | model_xml | ) | [private] |
Definition at line 1648 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::IsSDF | ( | std::string | model_xml | ) | [private] |
Definition at line 1658 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::IsURDF | ( | std::string | model_xml | ) | [private] |
utilites for checking incoming string URDF/XML/Param
Definition at line 1639 of file gazebo_ros_api_plugin.cpp.
void gazebo::GazeboRosApiPlugin::Load | ( | int | argc, |
char ** | argv | ||
) |
setup custom callback queue
start a thread for the physics dynamic reconfigure node
Definition at line 81 of file gazebo_ros_api_plugin.cpp.
void gazebo::GazeboRosApiPlugin::LoadGazeboRosApiPlugin | ( | std::string | _worldName | ) | [private] |
advertise all services
Definition at line 102 of file gazebo_ros_api_plugin.cpp.
Definition at line 373 of file gazebo_ros_api_plugin.cpp.
Definition at line 385 of file gazebo_ros_api_plugin.cpp.
Definition at line 379 of file gazebo_ros_api_plugin.cpp.
Definition at line 395 of file gazebo_ros_api_plugin.cpp.
void gazebo::GazeboRosApiPlugin::OnResponse | ( | ConstResponsePtr & | _response | ) | [private] |
Definition at line 151 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::pausePhysics | ( | std_srvs::Empty::Request & | req, |
std_srvs::Empty::Response & | res | ||
) |
Definition at line 1283 of file gazebo_ros_api_plugin.cpp.
void gazebo::GazeboRosApiPlugin::PhysicsReconfigureCallback | ( | gazebo::PhysicsConfig & | config, |
uint32_t | level | ||
) | [private] |
Definition at line 1842 of file gazebo_ros_api_plugin.cpp.
void gazebo::GazeboRosApiPlugin::PhysicsReconfigureNode | ( | ) | [private] |
Definition at line 1915 of file gazebo_ros_api_plugin.cpp.
void gazebo::GazeboRosApiPlugin::publishLinkStates | ( | ) | [private] |
Definition at line 1760 of file gazebo_ros_api_plugin.cpp.
void gazebo::GazeboRosApiPlugin::publishModelStates | ( | ) | [private] |
Definition at line 1807 of file gazebo_ros_api_plugin.cpp.
void gazebo::GazeboRosApiPlugin::publishSimTime | ( | const boost::shared_ptr< gazebo::msgs::WorldStatistics const > & | msg | ) | [private] |
Definition at line 1739 of file gazebo_ros_api_plugin.cpp.
void gazebo::GazeboRosApiPlugin::publishSimTime | ( | ) | [private] |
Definition at line 1748 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::resetSimulation | ( | std_srvs::Empty::Request & | req, |
std_srvs::Empty::Response & | res | ||
) |
Definition at line 1267 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::resetWorld | ( | std_srvs::Empty::Request & | req, |
std_srvs::Empty::Response & | res | ||
) |
Definition at line 1275 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::setJointProperties | ( | gazebo_msgs::SetJointProperties::Request & | req, |
gazebo_msgs::SetJointProperties::Response & | res | ||
) |
Definition at line 1113 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::setLinkProperties | ( | gazebo_msgs::SetLinkProperties::Request & | req, |
gazebo_msgs::SetLinkProperties::Response & | res | ||
) |
Definition at line 1025 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::setLinkState | ( | gazebo_msgs::SetLinkState::Request & | req, |
gazebo_msgs::SetLinkState::Response & | res | ||
) |
Definition at line 1405 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::setModelConfiguration | ( | gazebo_msgs::SetModelConfiguration::Request & | req, |
gazebo_msgs::SetModelConfiguration::Response & | res | ||
) |
Definition at line 1360 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::setModelState | ( | gazebo_msgs::SetModelState::Request & | req, |
gazebo_msgs::SetModelState::Response & | res | ||
) |
Definition at line 1160 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::setPhysicsProperties | ( | gazebo_msgs::SetPhysicsProperties::Request & | req, |
gazebo_msgs::SetPhysicsProperties::Response & | res | ||
) |
Definition at line 1052 of file gazebo_ros_api_plugin.cpp.
void gazebo::GazeboRosApiPlugin::SetupTransform | ( | btTransform & | transform, |
urdf::Pose | pose | ||
) | [private] |
utility for transforming in SetModelConfiguration
Definition at line 1625 of file gazebo_ros_api_plugin.cpp.
void gazebo::GazeboRosApiPlugin::SetupTransform | ( | btTransform & | transform, |
geometry_msgs::Pose | pose | ||
) | [private] |
Definition at line 1631 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::spawnGazeboModel | ( | gazebo_msgs::SpawnModel::Request & | req, |
gazebo_msgs::SpawnModel::Response & | res | ||
) |
STRIP DECLARATION <? ... xml version="1.0" ... ?> from model_xml
FIXME: should change publish to direct invocation World::LoadModel() and/or change the poll for Model existence to common::Events based check.
poll and wait, verify that the model is spawned within Hardcoded 60 seconds
Definition at line 466 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::spawnURDFModel | ( | gazebo_msgs::SpawnModel::Request & | req, |
gazebo_msgs::SpawnModel::Response & | res | ||
) |
STRIP DECLARATION <? ... xml version="1.0" ... ?> from model_xml
Definition at line 406 of file gazebo_ros_api_plugin.cpp.
void gazebo::GazeboRosApiPlugin::spin | ( | ) |
Definition at line 1613 of file gazebo_ros_api_plugin.cpp.
void gazebo::GazeboRosApiPlugin::transformWrench | ( | gazebo::math::Vector3 & | target_force, |
gazebo::math::Vector3 & | target_torque, | ||
gazebo::math::Vector3 | reference_force, | ||
gazebo::math::Vector3 | reference_torque, | ||
gazebo::math::Pose | target_to_reference | ||
) | [private] |
shift wrench from reference frame to target frame assume wrench is defined in
Definition at line 1485 of file gazebo_ros_api_plugin.cpp.
bool gazebo::GazeboRosApiPlugin::unpausePhysics | ( | std_srvs::Empty::Request & | req, |
std_srvs::Empty::Response & | res | ||
) |
Definition at line 1291 of file gazebo_ros_api_plugin.cpp.
void gazebo::GazeboRosApiPlugin::updateLinkState | ( | const gazebo_msgs::LinkState::ConstPtr & | link_state | ) |
Definition at line 1473 of file gazebo_ros_api_plugin.cpp.
void gazebo::GazeboRosApiPlugin::updateModelState | ( | const gazebo_msgs::ModelState::ConstPtr & | model_state | ) |
Definition at line 1225 of file gazebo_ros_api_plugin.cpp.
void gazebo::GazeboRosApiPlugin::wrenchBodySchedulerSlot | ( | ) | [private] |
Definition at line 1671 of file gazebo_ros_api_plugin.cpp.
Definition at line 284 of file gazebo_ros_api_plugin.h.
Definition at line 287 of file gazebo_ros_api_plugin.h.
Definition at line 295 of file gazebo_ros_api_plugin.h.
Definition at line 294 of file gazebo_ros_api_plugin.h.
Definition at line 274 of file gazebo_ros_api_plugin.h.
gazebo::transport::PublisherPtr gazebo::GazeboRosApiPlugin::factory_pub_ [private] |
Definition at line 256 of file gazebo_ros_api_plugin.h.
std::vector<GazeboRosApiPlugin::ForceJointJob*> gazebo::GazeboRosApiPlugin::force_joint_jobs [private] |
Definition at line 354 of file gazebo_ros_api_plugin.h.
Definition at line 266 of file gazebo_ros_api_plugin.h.
boost::thread* gazebo::GazeboRosApiPlugin::gazebo_callback_queue_thread_ [private] |
Definition at line 262 of file gazebo_ros_api_plugin.h.
Definition at line 261 of file gazebo_ros_api_plugin.h.
gazebo::transport::NodePtr gazebo::GazeboRosApiPlugin::gazebonode_ [private] |
Definition at line 254 of file gazebo_ros_api_plugin.h.
Definition at line 278 of file gazebo_ros_api_plugin.h.
Definition at line 279 of file gazebo_ros_api_plugin.h.
Definition at line 280 of file gazebo_ros_api_plugin.h.
Definition at line 276 of file gazebo_ros_api_plugin.h.
Definition at line 275 of file gazebo_ros_api_plugin.h.
Definition at line 283 of file gazebo_ros_api_plugin.h.
Definition at line 277 of file gazebo_ros_api_plugin.h.
gazebo::event::ConnectionPtr gazebo::GazeboRosApiPlugin::load_gazebo_ros_api_plugin_event_ [private] |
Definition at line 270 of file gazebo_ros_api_plugin.h.
boost::mutex gazebo::GazeboRosApiPlugin::lock_ [private] |
A mutex to lock access to fields that are used in ROS message callbacks.
Definition at line 321 of file gazebo_ros_api_plugin.h.
Definition at line 292 of file gazebo_ros_api_plugin.h.
Definition at line 312 of file gazebo_ros_api_plugin.h.
bool gazebo::GazeboRosApiPlugin::physics_reconfigure_initialized_ [private] |
Definition at line 310 of file gazebo_ros_api_plugin.h.
Definition at line 311 of file gazebo_ros_api_plugin.h.
boost::thread* gazebo::GazeboRosApiPlugin::physics_reconfigure_thread_ [private] |
Definition at line 309 of file gazebo_ros_api_plugin.h.
Definition at line 318 of file gazebo_ros_api_plugin.h.
Definition at line 298 of file gazebo_ros_api_plugin.h.
Definition at line 300 of file gazebo_ros_api_plugin.h.
Definition at line 268 of file gazebo_ros_api_plugin.h.
Definition at line 299 of file gazebo_ros_api_plugin.h.
Definition at line 301 of file gazebo_ros_api_plugin.h.
Definition at line 269 of file gazebo_ros_api_plugin.h.
gazebo::transport::PublisherPtr gazebo::GazeboRosApiPlugin::request_pub_ [private] |
Definition at line 257 of file gazebo_ros_api_plugin.h.
Definition at line 290 of file gazebo_ros_api_plugin.h.
Definition at line 291 of file gazebo_ros_api_plugin.h.
gazebo::transport::SubscriberPtr gazebo::GazeboRosApiPlugin::response_sub_ [private] |
Definition at line 258 of file gazebo_ros_api_plugin.h.
boost::thread* gazebo::GazeboRosApiPlugin::ros_spin_thread_ [private] |
Definition at line 308 of file gazebo_ros_api_plugin.h.
Definition at line 260 of file gazebo_ros_api_plugin.h.
Definition at line 285 of file gazebo_ros_api_plugin.h.
Definition at line 281 of file gazebo_ros_api_plugin.h.
Definition at line 289 of file gazebo_ros_api_plugin.h.
Definition at line 296 of file gazebo_ros_api_plugin.h.
Definition at line 288 of file gazebo_ros_api_plugin.h.
Definition at line 286 of file gazebo_ros_api_plugin.h.
Definition at line 297 of file gazebo_ros_api_plugin.h.
Definition at line 282 of file gazebo_ros_api_plugin.h.
Definition at line 272 of file gazebo_ros_api_plugin.h.
Definition at line 273 of file gazebo_ros_api_plugin.h.
gazebo::transport::SubscriberPtr gazebo::GazeboRosApiPlugin::stat_sub_ [private] |
Definition at line 255 of file gazebo_ros_api_plugin.h.
Definition at line 267 of file gazebo_ros_api_plugin.h.
Definition at line 293 of file gazebo_ros_api_plugin.h.
gazebo::physics::WorldPtr gazebo::GazeboRosApiPlugin::world [private] |
Definition at line 264 of file gazebo_ros_api_plugin.h.
bool gazebo::GazeboRosApiPlugin::world_created_ [private] |
Definition at line 332 of file gazebo_ros_api_plugin.h.
std::vector<GazeboRosApiPlugin::WrenchBodyJob*> gazebo::GazeboRosApiPlugin::wrench_body_jobs [private] |
Definition at line 353 of file gazebo_ros_api_plugin.h.
Definition at line 265 of file gazebo_ros_api_plugin.h.
std::string gazebo::GazeboRosApiPlugin::xmlPrefix_ [private] |
Definition at line 304 of file gazebo_ros_api_plugin.h.
std::string gazebo::GazeboRosApiPlugin::xmlSuffix_ [private] |
Definition at line 305 of file gazebo_ros_api_plugin.h.