Action Server node that publishes WrenchStamped messages. More...
#include <wrench_action_server.hpp>
Inheritance diagram for WrenchActionServer:
Collaboration diagram for WrenchActionServer:Public Types | |
| using | Wrench = wrench_action_sample_msgs::action::Wrench |
| using | GoalHandleApplyWrench = rclcpp_action::ServerGoalHandle< Wrench > |
| using | WrenchMsg = geometry_msgs::msg::WrenchStamped |
Public Member Functions | |
| WrenchActionServer (const rclcpp::NodeOptions &options=rclcpp::NodeOptions()) | |
| Constructor for the WrenchActionServer. | |
Action Server node that publishes WrenchStamped messages.
This server accepts an action goal specifying a duration. Upon acceptance, it publishes wrench messages to the "robot_force" topic at 10Hz, linearly increasing the force values based on the iteration count.
| using WrenchActionServer::GoalHandleApplyWrench = rclcpp_action::ServerGoalHandle<Wrench> |
| using WrenchActionServer::Wrench = wrench_action_sample_msgs::action::Wrench |
| using WrenchActionServer::WrenchMsg = geometry_msgs::msg::WrenchStamped |
|
explicit |
Constructor for the WrenchActionServer.
| options | Node options for ROS 2 node initialization. |