#include <gazebo_pressure_plugin.h>
|
void | Load (physics::ModelPtr _model, sdf::ElementPtr _sdf) |
| Called when the plugin is first created, and after the world has been loaded. This function should not be blocking. More...
|
|
void | OnUpdate (const common::UpdateInfo &) |
| This gets called by the world update start event. More...
|
|
|
void | CreatePubsAndSubs () |
| Creates all required publishers and subscribers, incl. routing of messages to/from ROS if required. More...
|
|
Definition at line 51 of file gazebo_pressure_plugin.h.
◆ NormalDistribution
◆ GazeboPressurePlugin()
gazebo::GazeboPressurePlugin::GazeboPressurePlugin |
( |
| ) |
|
◆ ~GazeboPressurePlugin()
gazebo::GazeboPressurePlugin::~GazeboPressurePlugin |
( |
| ) |
|
|
virtual |
◆ CreatePubsAndSubs()
void gazebo::GazeboPressurePlugin::CreatePubsAndSubs |
( |
| ) |
|
|
private |
Creates all required publishers and subscribers, incl. routing of messages to/from ROS if required.
Call this once the first time OnUpdate() is called (can't be called from Load() because there is no guarantee GazeboRosInterfacePlugin has has loaded and listening to ConnectGazeboToRosTopic and ConnectRosToGazeboTopic messages).
Definition at line 140 of file gazebo_pressure_plugin.cpp.
◆ Load()
void gazebo::GazeboPressurePlugin::Load |
( |
physics::ModelPtr |
_model, |
|
|
sdf::ElementPtr |
_sdf |
|
) |
| |
|
protected |
Called when the plugin is first created, and after the world has been loaded. This function should not be blocking.
Definition at line 34 of file gazebo_pressure_plugin.cpp.
◆ OnUpdate()
void gazebo::GazeboPressurePlugin::OnUpdate |
( |
const common::UpdateInfo & |
_info | ) |
|
|
protected |
◆ frame_id_
std::string gazebo::GazeboPressurePlugin::frame_id_ |
|
private |
◆ link_
physics::LinkPtr gazebo::GazeboPressurePlugin::link_ |
|
private |
◆ model_
physics::ModelPtr gazebo::GazeboPressurePlugin::model_ |
|
private |
◆ namespace_
std::string gazebo::GazeboPressurePlugin::namespace_ |
|
private |
◆ node_handle_
gazebo::transport::NodePtr gazebo::GazeboPressurePlugin::node_handle_ |
|
private |
◆ pressure_message_
gz_sensor_msgs::FluidPressure gazebo::GazeboPressurePlugin::pressure_message_ |
|
private |
◆ pressure_n_
◆ pressure_pub_
gazebo::transport::PublisherPtr gazebo::GazeboPressurePlugin::pressure_pub_ |
|
private |
◆ pressure_topic_
std::string gazebo::GazeboPressurePlugin::pressure_topic_ |
|
private |
◆ pressure_var_
double gazebo::GazeboPressurePlugin::pressure_var_ |
|
private |
◆ pubs_and_subs_created_
bool gazebo::GazeboPressurePlugin::pubs_and_subs_created_ |
|
private |
◆ random_generator_
std::mt19937 gazebo::GazeboPressurePlugin::random_generator_ |
|
private |
◆ ref_alt_
double gazebo::GazeboPressurePlugin::ref_alt_ |
|
private |
◆ updateConnection_
◆ world_
physics::WorldPtr gazebo::GazeboPressurePlugin::world_ |
|
private |
The documentation for this class was generated from the following files:
rotors_gazebo_plugins
Author(s): Fadri Furrer, Michael Burri, Mina Kamel, Janosch Nikolic, Markus Achtelik
autogenerated on Mon Feb 28 2022 23:39:04