NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
gazebo::FreeFlyerSensorPlugin Class Referenceabstract

#include <astrobee_gazebo.h>

Inheritance diagram for gazebo::FreeFlyerSensorPlugin:
Inheritance graph

Public Member Functions

 FreeFlyerSensorPlugin (std::string const &plugin_name, std::string const &plugin_frame, bool send_heartbeats=false)
 
virtual ~FreeFlyerSensorPlugin ()
 
- 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 Load (sensors::SensorPtr sensor, sdf::ElementPtr sdf)
 
physics::WorldPtr GetWorld ()
 
physics::ModelPtr GetModel ()
 
std::string GetRotationType ()
 
virtual void LoadCallback (ros::NodeHandle *nh, sensors::SensorPtr sensor, sdf::ElementPtr sdf)=0
 
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

- Public Types inherited from ff_util::FreeFlyerNodelet
enum  ResolveType : uint8_t { NAMESPACE = 0, TRANSFORM = 1, RESOURCE = 1 }
 
- 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_
 

Constructor & Destructor Documentation

◆ FreeFlyerSensorPlugin()

gazebo::FreeFlyerSensorPlugin::FreeFlyerSensorPlugin ( std::string const &  plugin_name,
std::string const &  plugin_frame,
bool  send_heartbeats = false 
)
explicit

◆ ~FreeFlyerSensorPlugin()

gazebo::FreeFlyerSensorPlugin::~FreeFlyerSensorPlugin ( )
virtual

Member Function Documentation

◆ ExtrinsicsCallback()

bool gazebo::FreeFlyerSensorPlugin::ExtrinsicsCallback ( geometry_msgs::TransformStamped const *  tf)
protectedvirtual

◆ GetModel()

physics::ModelPtr gazebo::FreeFlyerSensorPlugin::GetModel ( )
protected

◆ GetRotationType()

std::string gazebo::FreeFlyerSensorPlugin::GetRotationType ( )
protected

◆ GetWorld()

physics::WorldPtr gazebo::FreeFlyerSensorPlugin::GetWorld ( )
protected

◆ Load()

void gazebo::FreeFlyerSensorPlugin::Load ( sensors::SensorPtr  sensor,
sdf::ElementPtr  sdf 
)
protected

◆ LoadCallback()


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