NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
gazebo::GazeboModelPluginEps Class Reference
Inheritance diagram for gazebo::GazeboModelPluginEps:
Inheritance graph

Public Types

enum  : FSM::State {
  UNKNOWN = 1, UNDOCKED = 2, DOCKING = 3, DOCKED = 4,
  UNDOCKING = 5
}
 
enum  : FSM::Event { SENSE_NEAR = (1<<0), SENSE_FAR = (1<<1), UNDOCK = (1<<2), TIMEOUT = (1<<3) }
 
- Public Types inherited from ff_util::FreeFlyerNodelet
enum  ResolveType : uint8_t { NAMESPACE = 0, TRANSFORM = 1, RESOURCE = 1 }
 

Public Member Functions

 GazeboModelPluginEps ()
 
 ~GazeboModelPluginEps ()
 
- Public Member Functions inherited from gazebo::FreeFlyerModelPlugin
 FreeFlyerModelPlugin (std::string const &plugin_name, std::string const &plugin_frame, bool send_heartbeats=false)
 
virtual ~FreeFlyerModelPlugin ()
 
- Public Member Functions inherited from gazebo::FreeFlyerPlugin
 FreeFlyerPlugin (std::string const &plugin_name, std::string const &plugin_frame, bool send_heartbeats=false)
 
virtual ~FreeFlyerPlugin ()
 
- Public Member Functions inherited from ff_util::FreeFlyerNodelet
 FreeFlyerNodelet (bool autostart_hb_timer=true)
 
 FreeFlyerNodelet (std::string const &name, bool autostart_hb_timer=true)
 
virtual ~FreeFlyerNodelet ()
 
void AssertFault (FaultKeys enum_key, std::string const &message, ros::Time time_fault_occurred=ros::Time::now())
 
void ClearAllFaults ()
 
void ClearFault (FaultKeys enum_key)
 
void PrintFaults ()
 
ros::NodeHandle * GetPlatformHandle (bool multithreaded=false)
 
ros::NodeHandle * GetPrivateHandle (bool multithreaded=false)
 
std::string GetName ()
 
std::string GetPlatform ()
 
std::string GetTransform (std::string const &child)
 

Protected Member Functions

void LoadCallback (ros::NodeHandle *nh, physics::ModelPtr model, sdf::ElementPtr sdf)
 
void StateCallback (FSM::State const &state, FSM::FSM::Event const &event)
 
void BerthCallback ()
 
void Lock (bool enable)
 
void UpdateCallback (const ros::TimerEvent &event)
 
void DelayCallback (const ros::TimerEvent &event)
 
bool UndockCallback (ff_hw_msgs::Undock::Request &req, ff_hw_msgs::Undock::Response &res)
 
bool PayloadConfigureCallback (ff_hw_msgs::ConfigurePayloadPower::Request &req, ff_hw_msgs::ConfigurePayloadPower::Response &res)
 
bool PowerConfigureCallback (ff_hw_msgs::ConfigureAdvancedPower::Request &req, ff_hw_msgs::ConfigureAdvancedPower::Response &res)
 
bool LedsConfigureCallback (ff_hw_msgs::ConfigureSystemLeds::Request &req, ff_hw_msgs::ConfigureSystemLeds::Response &res)
 
void TelemetryCallback (const ros::TimerEvent &event)
 
- Protected Member Functions inherited from gazebo::FreeFlyerModelPlugin
virtual void Load (physics::ModelPtr model, sdf::ElementPtr sdf)
 
physics::LinkPtr GetLink ()
 
physics::WorldPtr GetWorld ()
 
physics::ModelPtr GetModel ()
 
virtual bool ExtrinsicsCallback (geometry_msgs::TransformStamped const *tf)
 
- Protected Member Functions inherited from gazebo::FreeFlyerPlugin
void InitializePlugin (std::string const &robot_name, std::string const &plugin_name)
 
void SetParentFrame (std::string const &parent)
 
std::string GetFrame (std::string target="", std::string delim="/")
 
virtual void OnExtrinsicsReceived (ros::NodeHandle *nh)
 
void SetupExtrinsics (const ros::TimerEvent &event)
 
void CallbackThread ()
 
- Protected Member Functions inherited from ff_util::FreeFlyerNodelet
virtual void Initialize (ros::NodeHandle *nh)
 
virtual void Reset ()
 
virtual void Sleep ()
 
virtual void Wakeup ()
 
void StopHeartbeat ()
 
void SendDiagnostics (const std::vector< diagnostic_msgs::KeyValue > &keyval)
 
void Setup (ros::NodeHandle &nh, ros::NodeHandle &nh_mt, std::string plugin_name)
 

Additional Inherited Members

- Protected Attributes inherited from gazebo::FreeFlyerPlugin
std::string robot_name_
 
std::string plugin_name_
 
std::string plugin_frame_
 
std::string parent_frame_
 
ros::NodeHandle nh_
 
ros::NodeHandle nh_ff_
 
ros::NodeHandle nh_ff_mt_
 
std::shared_ptr< tf2_ros::TransformListener > listener_
 
ros::CallbackQueue callback_queue_
 
std::thread thread_
 
ros::Timer timer_
 
tf2_ros::Buffer buffer_
 
- Protected Attributes inherited from ff_util::FreeFlyerNodelet
std::map< std::string, int > faults_
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : FSM::State
Enumerator
UNKNOWN 
UNDOCKED 
DOCKING 
DOCKED 
UNDOCKING 

◆ anonymous enum

anonymous enum : FSM::Event
Enumerator
SENSE_NEAR 
SENSE_FAR 
UNDOCK 
TIMEOUT 

Constructor & Destructor Documentation

◆ GazeboModelPluginEps()

gazebo::GazeboModelPluginEps::GazeboModelPluginEps ( )
inline

◆ ~GazeboModelPluginEps()

gazebo::GazeboModelPluginEps::~GazeboModelPluginEps ( )
inline

Member Function Documentation

◆ BerthCallback()

void gazebo::GazeboModelPluginEps::BerthCallback ( )
inlineprotected

◆ DelayCallback()

void gazebo::GazeboModelPluginEps::DelayCallback ( const ros::TimerEvent &  event)
inlineprotected

◆ LedsConfigureCallback()

bool gazebo::GazeboModelPluginEps::LedsConfigureCallback ( ff_hw_msgs::ConfigureSystemLeds::Request &  req,
ff_hw_msgs::ConfigureSystemLeds::Response &  res 
)
inlineprotected

◆ LoadCallback()

void gazebo::GazeboModelPluginEps::LoadCallback ( ros::NodeHandle *  nh,
physics::ModelPtr  model,
sdf::ElementPtr  sdf 
)
inlineprotectedvirtual

◆ Lock()

void gazebo::GazeboModelPluginEps::Lock ( bool  enable)
inlineprotected

◆ PayloadConfigureCallback()

bool gazebo::GazeboModelPluginEps::PayloadConfigureCallback ( ff_hw_msgs::ConfigurePayloadPower::Request &  req,
ff_hw_msgs::ConfigurePayloadPower::Response &  res 
)
inlineprotected

◆ PowerConfigureCallback()

bool gazebo::GazeboModelPluginEps::PowerConfigureCallback ( ff_hw_msgs::ConfigureAdvancedPower::Request &  req,
ff_hw_msgs::ConfigureAdvancedPower::Response &  res 
)
inlineprotected

◆ StateCallback()

void gazebo::GazeboModelPluginEps::StateCallback ( FSM::State const &  state,
FSM::FSM::Event const &  event 
)
inlineprotected

◆ TelemetryCallback()

void gazebo::GazeboModelPluginEps::TelemetryCallback ( const ros::TimerEvent &  event)
inlineprotected

◆ UndockCallback()

bool gazebo::GazeboModelPluginEps::UndockCallback ( ff_hw_msgs::Undock::Request &  req,
ff_hw_msgs::Undock::Response &  res 
)
inlineprotected

◆ UpdateCallback()

void gazebo::GazeboModelPluginEps::UpdateCallback ( const ros::TimerEvent &  event)
inlineprotected

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