NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
executive::OpStateTeleop Class Reference

#include <op_state_teleop.h>

Inheritance diagram for executive::OpStateTeleop:
Inheritance graph

Public Member Functions

 ~OpStateTeleop ()
 
OpStateHandleCmd (ff_msgs::CommandStampedPtr const &cmd)
 
OpStateHandleResult (ff_util::FreeFlyerActionState::Enum const &state, std::string const &result_response, std::string const &cmd_id, Action const &action)
 
- Public Member Functions inherited from executive::OpState
virtual ~OpState ()
 
virtual OpStateStartupState (std::string const &cmd_id="")
 
OpStateHandleCmd (ff_msgs::CommandStampedPtr const &cmd, bool &completed, bool &successful)
 
virtual OpStateHandleWaitCallback ()
 
virtual OpStateHandleGuestScienceAck (ff_msgs::AckStampedConstPtr const &ack)
 
virtual void AckCmd (std::string const &cmd_id, uint8_t completed_status=ff_msgs::AckCompletedStatus::OK, std::string const &message="", uint8_t status=ff_msgs::AckStatus::COMPLETED)
 
std::string GenerateActionFailedMsg (ff_util::FreeFlyerActionState::Enum const &state, Action const &action, std::string const &action_result="")
 
std::string GetActionString (Action const &action)
 
virtual bool PausePlan (ff_msgs::CommandStampedPtr const &cmd)
 
OpStateTransitionToState (unsigned char id)
 
std::string const & name () const
 
unsigned char const & id () const
 

Protected Member Functions

 OpStateTeleop (std::string const &name, unsigned char id)
 
- Protected Member Functions inherited from executive::OpState
 OpState (std::string const &name, unsigned char id)
 
void SetExec (Executive *const exec)
 
void SetPlanStatus (bool successful, std::string err_msg="")
 

Friends

class OpStateRepo
 

Additional Inherited Members

- Protected Attributes inherited from executive::OpState
const std::string name_
 
unsigned const char id_
 
Executiveexec_
 

Constructor & Destructor Documentation

◆ ~OpStateTeleop()

executive::OpStateTeleop::~OpStateTeleop ( )
inline

◆ OpStateTeleop()

executive::OpStateTeleop::OpStateTeleop ( std::string const &  name,
unsigned char  id 
)
inlineexplicitprotected

Member Function Documentation

◆ HandleCmd()

OpState * executive::OpStateTeleop::HandleCmd ( ff_msgs::CommandStampedPtr const &  cmd)
virtual

Reimplemented from executive::OpState.

◆ HandleResult()

OpState * executive::OpStateTeleop::HandleResult ( ff_util::FreeFlyerActionState::Enum const &  state,
std::string const &  result_response,
std::string const &  cmd_id,
Action const &  action 
)
virtual

Reimplemented from executive::OpState.

Friends And Related Function Documentation

◆ OpStateRepo

friend class OpStateRepo
friend

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