#include <gazebo_controller_interface.h>
|
void | Load (physics::ModelPtr _model, sdf::ElementPtr _sdf) |
|
void | OnUpdate (const common::UpdateInfo &) |
|
◆ GazeboControllerInterface()
gazebo::GazeboControllerInterface::GazeboControllerInterface |
( |
| ) |
|
|
inline |
◆ ~GazeboControllerInterface()
gazebo::GazeboControllerInterface::~GazeboControllerInterface |
( |
| ) |
|
◆ CommandMotorCallback()
void gazebo::GazeboControllerInterface::CommandMotorCallback |
( |
GzActuatorsMsgPtr & |
actuators_msg | ) |
|
|
private |
◆ CreatePubsAndSubs()
void gazebo::GazeboControllerInterface::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 104 of file gazebo_controller_interface.cpp.
◆ InitializeParams()
void gazebo::GazeboControllerInterface::InitializeParams |
( |
| ) |
|
◆ Load()
void gazebo::GazeboControllerInterface::Load |
( |
physics::ModelPtr |
_model, |
|
|
sdf::ElementPtr |
_sdf |
|
) |
| |
|
protected |
◆ OnUpdate()
void gazebo::GazeboControllerInterface::OnUpdate |
( |
const common::UpdateInfo & |
| ) |
|
|
protected |
◆ Publish()
void gazebo::GazeboControllerInterface::Publish |
( |
| ) |
|
◆ QueueThread()
void gazebo::GazeboControllerInterface::QueueThread |
( |
| ) |
|
|
private |
◆ callback_queue_thread_
boost::thread gazebo::GazeboControllerInterface::callback_queue_thread_ |
|
private |
◆ cmd_motor_sub_
gazebo::transport::SubscriberPtr gazebo::GazeboControllerInterface::cmd_motor_sub_ |
|
private |
◆ command_motor_speed_sub_topic_
std::string gazebo::GazeboControllerInterface::command_motor_speed_sub_topic_ |
|
private |
◆ input_reference_
Eigen::VectorXd gazebo::GazeboControllerInterface::input_reference_ |
|
private |
◆ model_
physics::ModelPtr gazebo::GazeboControllerInterface::model_ |
|
private |
◆ motor_velocity_reference_pub_
gazebo::transport::PublisherPtr gazebo::GazeboControllerInterface::motor_velocity_reference_pub_ |
|
private |
◆ motor_velocity_reference_pub_topic_
std::string gazebo::GazeboControllerInterface::motor_velocity_reference_pub_topic_ |
|
private |
◆ namespace_
std::string gazebo::GazeboControllerInterface::namespace_ |
|
private |
◆ node_handle_
gazebo::transport::NodePtr gazebo::GazeboControllerInterface::node_handle_ |
|
private |
◆ pubs_and_subs_created_
bool gazebo::GazeboControllerInterface::pubs_and_subs_created_ |
|
private |
◆ received_first_reference_
bool gazebo::GazeboControllerInterface::received_first_reference_ |
|
private |
◆ updateConnection_
◆ world_
physics::WorldPtr gazebo::GazeboControllerInterface::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