Gazebo Sim

API Reference

7.9.0
MulticopterMotorModel Class Reference

This system applies a thrust force to models with spinning propellers. See examples/worlds/quadcopter.sdf for a demonstration. More...

#include <MulticopterMotorModel.hh>

Public Member Functions

 MulticopterMotorModel ()
 Constructor. More...
 
 ~MulticopterMotorModel () override=default
 Destructor. More...
 
void Configure (const Entity &_entity, const std::shared_ptr< const sdf::Element > &_sdf, EntityComponentManager &_ecm, EventManager &_eventMgr) override
 Configure the system. More...
 
void PreUpdate (const UpdateInfo &_info, EntityComponentManager &_ecm) override
 
- Public Member Functions inherited from System
 System ()=default
 Constructor. More...
 
virtual ~System ()=default
 Destructor. More...
 

Detailed Description

This system applies a thrust force to models with spinning propellers. See examples/worlds/quadcopter.sdf for a demonstration.

Constructor & Destructor Documentation

◆ MulticopterMotorModel()

Constructor.

◆ ~MulticopterMotorModel()

~MulticopterMotorModel ( )
overridedefault

Destructor.

Member Function Documentation

◆ Configure()

void Configure ( const Entity _entity,
const std::shared_ptr< const sdf::Element > &  _sdf,
EntityComponentManager _ecm,
EventManager _eventMgr 
)
overridevirtual

Configure the system.

Parameters
[in]_entityThe entity this plugin is attached to.
[in]_sdfThe SDF Element associated with this system plugin.
[in]_ecmThe EntityComponentManager of the given simulation instance.
[in]_eventMgrThe EventManager of the given simulation instance.

Implements ISystemConfigure.

◆ PreUpdate()

void PreUpdate ( const UpdateInfo _info,
EntityComponentManager _ecm 
)
overridevirtual

Implements ISystemPreUpdate.


The documentation for this class was generated from the following file: