ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

What is SimpleActionServer and SimpleActionClient for ros2?

asked 2022-10-11 10:07:28 -0600

Edvard gravatar image

updated 2022-10-11 10:10:02 -0600

Hi. Sorry for all mistakes, English is not my native language. Is there SimpleActionServer and SimpleActionClient implementation for ros2? I found nav2_util::SimpleActionServer, but it's not working for some reason right now on my system so I don't know if it works like actionlib::SimpleActionServer from ros1. I found nothing about SimpleActionClient for ros2. I'd appreciate any help, especially if you could give an example.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2022-10-11 13:38:17 -0600

Currently, no, there is no simple action server / client in ROS 2. You should use the Nav2 Utils one. There are discussions about adding it though, but TBD on that being released.

edit flag offensive delete link more

Comments

I understand, thank you for help.

Edvard gravatar image Edvard  ( 2022-10-12 02:13:24 -0600 )edit
1

answered 2022-10-12 12:58:38 -0600

gvdhoorn gravatar image

There is DLu/simple_actions:

A simple version of the rclpy/rclcpp action libraries.

edit flag offensive delete link more

Comments

Thank you, I'll check

Edvard gravatar image Edvard  ( 2022-10-13 00:09:05 -0600 )edit
0

answered 2022-10-11 11:03:04 -0600

duck-development gravatar image

You may look in the code from turtle Sim.

It has an action server

https://docs.ros.org/en/humble/Tutori...

See the pull request https://github.com/ros/ros_tutorials/...

edit flag offensive delete link more

Comments

Thank you for your help.

Edvard gravatar image Edvard  ( 2022-10-12 02:12:38 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2022-10-11 10:07:28 -0600

Seen: 423 times

Last updated: Oct 12 '22