Skip to main content

Questions tagged [action-client]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Action server in a lifecycle node

is it possible to create an action client within a lifecycle node? Can you share some resources to look into for such an implementation Thanks in advance!
Sriram's user avatar
  • 93
0 votes
1 answer
19 views

How to Reject an Action Goal

when the goal_callback function in the Action Server returns GoalResponse.REJECT, instead of GoalResponse.ACCEPT, the Action Client hangs. How I can make client also gives rejection response to me?
Jarvis pjotrlake07 Elliot's user avatar
0 votes
1 answer
17 views

Could not give the Result part of the RotateAbsolute action for the turtlesim package of the humble distro

The interface of the RotateAbsolute action is defined as follows: ...
Yongxue Law's user avatar
0 votes
0 answers
11 views

ROS2 cancel action_server goal in javascript

can someone help me regrading how to cancel the action server goal? This is my current code: ...
dines's user avatar
  • 1
0 votes
0 answers
54 views

Async send goal get blocks even after action server calls succeed

I have the problem that I am calling an action server with gh = client->async_send_goal(goal, options).get(). In the logs I can see that the server finished the ...
lef98's user avatar
  • 1
0 votes
0 answers
29 views

ROS Tutorial - Nothing happens when running "Writing an action server and client (C++)

I think I've followed the instructions for this ROS Tutorial and have the following files plus config file changes: ...
Jevers's user avatar
  • 11
0 votes
0 answers
13 views

Fault Tolerant Action Server Client Design?

My ROS 2 Humble Create3 robot Dock action client sometimes does not receive a dock action result (callback sometimes not called). The robot log shows the action goal succeeded, and my client node ...
Cyclical Obsessive's user avatar
0 votes
1 answer
77 views

What is node_base_interface used for in ROS 2?

I am writing plugins using pluginlib and one of the initialization arguments are a node, like so: ...
Kaushal Sorte's user avatar
1 vote
0 answers
84 views

ROS2 C++ Generic Action / Service Client

I’m trying to make a generic C++ application for controlling ROS robots. The idea is to allow design of GUIs in a higher-level language (QML) without requiring modifying the C++ when integrating new ...
yunhui yang's user avatar
0 votes
0 answers
19 views

Pb with ActionServer and/or ActionClient in python

I've got an ActionServer that works when called from the command line, but when I use my own ActionClient, the send_goal command never ends waiting. Can someone tell me what's wrong ? my ActionClient <...
SebL's user avatar
  • 51
1 vote
1 answer
106 views

Is it possible to subscribe to an action feedback?

Hi, I was considering to is it possible to subscribe to a action feedback from another node. I tried it to subscribe a moveit2 action feedback ( /scaled_joint_trajectory_controller/...
user avatar
0 votes
1 answer
133 views

ROS2 one action client calling multiple servers

I would like to call multiple action servers with a single client, however, with the current rclcpp implementation server name is only passed in the constructor, so ...
user avatar
0 votes
1 answer
9 views

Why rclcpp_action create_client cannot choose qos options?

Hi everyone, I'm trying to understand the actionlib of ROS2. I have a question as title... (Hope this question not too stupid) In rclcpp_action create_action, user can choose which qos they want but ...
user avatar
0 votes
1 answer
112 views

Get Feedback from Move Base if goal is reachable

Hi, I am running the move base navigation package (Local planner DWA, global planner NavfnROS). The problem is, I would like to determine whenever the goal is not reachable. Unfortunately, the ...
user avatar
0 votes
1 answer
12 views

How to create custom action interface definition in ros2?

I want to create the following plan_aid.action file: string planning_problem --- string trajectory --- string planning_status What is the exact procedure to do it ...
user avatar
0 votes
1 answer
61 views

Can one node be a client for several action/service servers?

I have one client which runs a state machine that coordinates between planner node, perception node, localization node and motion control node. I am using ROS action to communicate between state ...
user avatar
0 votes
1 answer
7 views

Custom action servers run in a launch file problem

Hi all, I've made two simple action server A and B and one action client C that can communicate with both. I experienced a really strange behaviour: if i put the two server nodes within a launch file ...
user avatar
0 votes
2 answers
3 views

Using a action's result - Pt. 2

Hello together, I already had a problem using the result of an action. After implementing the solution of @mgruhler, another problem occurred. This time I have another problem: The ...
user avatar
0 votes
1 answer
19 views

Using a action's result

Hello together, together with another student, we have written a action client and server by using actionlib/client/simple_action_client.h and ...
user avatar
0 votes
1 answer
13 views

Trouble trying to find ActionType for "execute_trajectory" Action Server

Hello, i'm running ROS Kinetic on Ubuntu 16.04 and working with the Panda robot from Franka Emika. I'm currently trying to send a command to the robot via Python scripting, i.e Action Client. I can ...
user avatar
0 votes
1 answer
12 views

Action Client Not Picking Up Messages from Action Server

Hi, I'm not sure what I've missed here. Simply I have followed the action server/client tutorials and I've extended my own messages so that I can determine if the robot has or has not docked ...
MarkyMark's user avatar
  • 526
0 votes
1 answer
62 views

MoveIt: Error: Action client not connected

On running move it for my custom robotic arm i am getting the following error ...
user avatar
0 votes
1 answer
10 views

Python action client does not connect properly

I had a problem with an action client not connecting to the server. I stuck as close to the tutorial as possible. I tested that the server works by using ...
user avatar
0 votes
2 answers
206 views

follow_joint_trajectory action client not connected

Im attempting to setup a simple controller manager through moveit to eventually connect to my robot node (which I haven't written yet). This is a single are 6DOF robot. I have my robots urdf and ...
user avatar
0 votes
1 answer
8 views

Passing arguments with action client

I want to control an Franka Emika robot using action servers. https://frankaemika.github.io/docs/ros_introduction.html The gripper Operation franka_gripper::HomingAction() is working with: ...
user avatar
0 votes
1 answer
6 views

Unable to configure custom 1DOF gripper to TIAGo robot arm

I am trying to integrate a new custom gripper to the tiago robot from pal robotics in ros indigo environment. I am using the gripper_action_controller (link text) from ros_controllers to make the ...
user avatar
0 votes
1 answer
2 views

Error on action_client as topic callback

I'm trying to implement a node that subscribes to a topic to get a list of geometry_msgs/Points and then send it to ...
user avatar
0 votes
1 answer
9 views

proper method to use moveit::planning_interface::MoveGroup::move () action in sequnce?

Hello everyone, I am currently developing a sorting system using a Hyper-spectral camera, a conveyor belt and a KUKA KR6.R900. I have already developed the image processing and classification nodes ...
user avatar
0 votes
1 answer
36 views

How to add parameters to a subscriber callback function given that it is also an action_client

Hello, I'm new to ROS and my situation is the following: I have a node which subscribes to a Topic, so of course I have my callback function (which by the way uses a custom message so the problem may ...
user avatar
0 votes
1 answer
16 views

You are attempting to call methods on an uninitialized goal handle

Hi, I've written a simple action server & client. However I am getting this error message from the server when calling the goal: ...
MarkyMark's user avatar
  • 526
0 votes
1 answer
11 views

A string goal with actionlib

I'm just starting out with ROS actions. The example uses the goal type uint32, but I wanted to use a std_msgs::String. This is ...
AndyZe's user avatar
  • 873
0 votes
1 answer
6 views

sound_play action client c++

Hi all Anyone knows how to use the sound_play action_lib client request c++ version? I've see that only a python test file is available. Thank you so much Originally posted by dottant on ROS Answers ...
user avatar
0 votes
1 answer
18 views

undefined reference to actionlib::GoalIDGenerator::GoalIDGenerator()

I tried adapting the Actionlib Client-Tutorial to a action I already used in some python scripts but as soon as I insert ...
user avatar
0 votes
1 answer
52 views

Can I handle multiple client requests of different action types with one action server?

I have a requirement as follows: One GUI window has an Action Server. This should serve multiple client requests (may be one at a time) but each request type is different (ex:- 1.MoveAction 2....
user avatar
0 votes
1 answer
8 views

Client can't reach action server

Hello, I'm launching two agents simultaneously, both of which create an action server, but only one makes a request (hardcoded that way). The problem is that while both processes seem to run fine on ...
user avatar