Add rclcpp_action action_server benchmarks (#1433)
* Add rclcpp_action action_server benchmarks Signed-off-by: Stephen Brawner <brawner@gmail.com> * Address cancel bug Signed-off-by: Stephen Brawner <brawner@gmail.com> * Fix errors Signed-off-by: Stephen Brawner <brawner@gmail.com> * Fix clang error Signed-off-by: Stephen Brawner <brawner@gmail.com>
This commit is contained in:
parent
5607c3242d
commit
29cfc45e81
3 changed files with 330 additions and 0 deletions
|
@ -112,6 +112,9 @@ public:
|
|||
protected:
|
||||
std::shared_ptr<rclcpp::Node> node;
|
||||
std::shared_ptr<rclcpp_action::Server<test_msgs::action::Fibonacci>> action_server;
|
||||
|
||||
// Goal handle needs to be kept alive by the server in order for client request specific to the
|
||||
// goal to succeed.
|
||||
std::shared_ptr<GoalHandle> current_goal_handle;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue