ROS2 Learning
Typedefs | Functions
simple_action_server.cpp File Reference

A basic ROS2 action server node that concatenates a string based on the number of string concatenation sent by a client within a goal request. More...

#include "custom_action/action/concatenate.hpp"
#include "rclcpp/rclcpp.hpp"
#include "rclcpp_action/rclcpp_action.hpp"
Include dependency graph for simple_action_server.cpp:

Typedefs

using Concatenate = custom_action::action::Concatenate
 
using GoalHandleConcatenate = rclcpp_action::ServerGoalHandle< Concatenate >
 

Functions

rclcpp_action::GoalResponse HandleGoal (const rclcpp_action::GoalUUID &uuid, std::shared_ptr< const Concatenate::Goal > goal)
 
rclcpp_action::CancelResponse HandleCancel (const std::shared_ptr< GoalHandleConcatenate > goalHandle)
 
void execute (const std::shared_ptr< GoalHandleConcatenate > goalHandle)
 
void HandleAccepted (const std::shared_ptr< GoalHandleConcatenate > goalHandle)
 
int main (int argc, char **argv)
 

Detailed Description

A basic ROS2 action server node that concatenates a string based on the number of string concatenation sent by a client within a goal request.

Author
Antonio Mauro Galiano Contact: https://www.linkedin.com/in/antoniomaurogaliano/