NASA Astrobee Robot Software  0.16.7
Flight software for the Astrobee robot operating inside the International Space Station.
ff_util::FreeFlyerNodelet Class Reference

#include <ff_nodelet.h>

Inheritance diagram for ff_util::FreeFlyerNodelet:
Inheritance graph

Public Types

enum  ResolveType : uint8_t { NAMESPACE = 0, TRANSFORM = 1, RESOURCE = 1 }
 

Public Member Functions

 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

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)
 

Protected Attributes

std::map< std::string, int > faults_
 

Member Enumeration Documentation

◆ ResolveType

Enumerator
NAMESPACE 
TRANSFORM 
RESOURCE 

Constructor & Destructor Documentation

◆ FreeFlyerNodelet() [1/2]

ff_util::FreeFlyerNodelet::FreeFlyerNodelet ( bool  autostart_hb_timer = true)
explicit

◆ FreeFlyerNodelet() [2/2]

ff_util::FreeFlyerNodelet::FreeFlyerNodelet ( std::string const &  name,
bool  autostart_hb_timer = true 
)
explicit

◆ ~FreeFlyerNodelet()

ff_util::FreeFlyerNodelet::~FreeFlyerNodelet ( )
virtual

Member Function Documentation

◆ AssertFault()

void ff_util::FreeFlyerNodelet::AssertFault ( FaultKeys  enum_key,
std::string const &  message,
ros::Time  time_fault_occurred = ros::Time::now() 
)

◆ ClearAllFaults()

void ff_util::FreeFlyerNodelet::ClearAllFaults ( )

◆ ClearFault()

void ff_util::FreeFlyerNodelet::ClearFault ( FaultKeys  enum_key)

◆ GetName()

std::string ff_util::FreeFlyerNodelet::GetName ( )

◆ GetPlatform()

std::string ff_util::FreeFlyerNodelet::GetPlatform ( )

◆ GetPlatformHandle()

ros::NodeHandle * ff_util::FreeFlyerNodelet::GetPlatformHandle ( bool  multithreaded = false)

◆ GetPrivateHandle()

ros::NodeHandle * ff_util::FreeFlyerNodelet::GetPrivateHandle ( bool  multithreaded = false)

◆ GetTransform()

std::string ff_util::FreeFlyerNodelet::GetTransform ( std::string const &  child)

◆ Initialize()

◆ PrintFaults()

void ff_util::FreeFlyerNodelet::PrintFaults ( )

◆ Reset()

virtual void ff_util::FreeFlyerNodelet::Reset ( )
inlineprotectedvirtual

◆ SendDiagnostics()

void ff_util::FreeFlyerNodelet::SendDiagnostics ( const std::vector< diagnostic_msgs::KeyValue > &  keyval)
protected

◆ Setup()

void ff_util::FreeFlyerNodelet::Setup ( ros::NodeHandle &  nh,
ros::NodeHandle &  nh_mt,
std::string  plugin_name 
)
protected

◆ Sleep()

virtual void ff_util::FreeFlyerNodelet::Sleep ( )
inlineprotectedvirtual

◆ StopHeartbeat()

void ff_util::FreeFlyerNodelet::StopHeartbeat ( )
protected

◆ Wakeup()

virtual void ff_util::FreeFlyerNodelet::Wakeup ( )
inlineprotectedvirtual

Member Data Documentation

◆ faults_

std::map<std::string, int> ff_util::FreeFlyerNodelet::faults_
protected

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