Ignition Gazebo

API Reference

6.6.0
DetachableJoint Class Reference

A system that initially attaches two models via a fixed joint and allows for the models to get detached during simulation via a topic. More...

#include <DetachableJoint.hh>

Public Member Functions

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

Public Attributes

transport::Node node
 Ignition communication node. More...
 

Detailed Description

A system that initially attaches two models via a fixed joint and allows for the models to get detached during simulation via a topic.

Parameters:

  • <parent_link>: Name of the link in the parent model to be used in creating a fixed joint with a link in the child model.
  • <child_model>: Name of the model to which this model will be connected
  • <child_link>: Name of the link in the child model to be used in creating a fixed joint with a link in the parent model.
  • <topic> (optional): Topic name to be used for detaching connections
  • <suppress_child_warning> (optional): If true, the system will not print a warning message if a child model does not exist yet. Otherwise, a warning message is printed. Defaults to false.

Constructor & Destructor Documentation

◆ DetachableJoint()

DetachableJoint ( )
default

Documentation inherited.

Member Function Documentation

◆ Configure()

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

Documentation inherited.

Implements ISystemConfigure.

◆ PreUpdate()

void PreUpdate ( const UpdateInfo _info,
EntityComponentManager _ecm 
)
finalvirtual

Documentation inherited.

Implements ISystemPreUpdate.

Member Data Documentation

◆ node

Ignition communication node.


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