|
| FibonacciState () |
| Constructs a new FibonacciState object and initializes callbacks.
|
|
Fibonacci::Goal | create_goal_handler (std::shared_ptr< yasmin::blackboard::Blackboard > blackboard) |
| Callback for creating the Fibonacci action goal.
|
|
std::string | response_handler (std::shared_ptr< yasmin::blackboard::Blackboard > blackboard, Fibonacci::Result::SharedPtr response) |
| Callback for handling the action response.
|
|
void | print_feedback (std::shared_ptr< yasmin::blackboard::Blackboard > blackboard, std::shared_ptr< const Fibonacci::Feedback > feedback) |
| Callback for printing action feedback.
|
|
| ActionState (std::string action_name, CreateGoalHandler create_goal_handler, std::set< std::string > outcomes, int timeout=-1.0) |
| Construct an ActionState with a specific action name and goal handler.
|
|
| ActionState (std::string action_name, CreateGoalHandler create_goal_handler, ResultHandler result_handler=nullptr, FeedbackHandler feedback_handler=nullptr, int timeout=-1.0) |
| Construct an ActionState with result and feedback handlers.
|
|
| ActionState (std::string action_name, CreateGoalHandler create_goal_handler, std::set< std::string > outcomes, ResultHandler result_handler=nullptr, FeedbackHandler feedback_handler=nullptr, int timeout=-1.0) |
| Construct an ActionState with outcomes and handlers.
|
|
| ActionState (const rclcpp::Node::SharedPtr &node, std::string action_name, CreateGoalHandler create_goal_handler, std::set< std::string > outcomes, ResultHandler result_handler=nullptr, FeedbackHandler feedback_handler=nullptr, int timeout=-1.0) |
| Construct an ActionState with a specified node and action name.
|
|
void | cancel_state () |
| Cancel the current action state.
|
|
void | cancel_done () |
| Notify that the action cancellation has completed.
|
|
std::string | execute (std::shared_ptr< yasmin::blackboard::Blackboard > blackboard) |
| Execute the action and return the outcome.
|
|
| State (std::set< std::string > outcomes) |
| Constructs a State with a set of possible outcomes.
|
|
std::string | operator() (std::shared_ptr< blackboard::Blackboard > blackboard) |
| Executes the state and returns the outcome.
|
|
bool | is_canceled () const |
| Checks if the state has been canceled.
|
|
bool | is_running () const |
| Checks if the state is currently running.
|
|
std::set< std::string > const & | get_outcomes () |
| Gets the set of possible outcomes for this state.
|
|
virtual std::string | to_string () |
| Converts the state to a string representation.
|
|
Represents the action state for the Fibonacci action.
This class manages goal creation, response handling, and feedback processing for the Fibonacci action.