Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/tutorial-basics/tutorial_04_sequence.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Actions. You will find an extensive article

## StatefulAsyncAction

The __StatefulAsyncAction__ is the preferred way to implement asynchronous Actions.
The __StatefulActionNode__ is the preferred way to implement asynchronous Actions.

It is particularly useful when your code contains a __request-reply pattern__,
i.e. when the action sends an asynchronous request to another process,
Expand All @@ -43,7 +43,7 @@ computation that takes a long time, you may want to split it into small "chunks"
or you may want to move that computation to another thread
(see [AsyncThreadedAction](tutorial-advanced/asynchronous_nodes.md) tutorial).

A derived class of __StatefulAsyncAction__ must override the following virtual methods,
A derived class of __StatefulActionNode__ must override the following virtual methods,
instead of `tick()`:

- __NodeStatus onStart()__: called when the Node was in IDLE state.
Expand All @@ -67,12 +67,12 @@ struct Pose2D

namespace chr = std::chrono;

class MoveBaseAction : public BT::StatefulAsyncAction
class MoveBaseAction : public BT::StatefulActionNode
{
public:
// Any TreeNode with ports must have a constructor with this signature
MoveBaseAction(const std::string& name, const BT::NodeConfig& config)
: StatefulAsyncAction(name, config)
: StatefulActionNode(name, config)
{}

// It is mandatory to define this static method.
Expand Down