Questions tagged [actionlib]
The actionlib tag has no summary.
155 questions
0 votes
0 answers
13 views
Knowing ROS2 node name from which the action goal is sent
I've a specific usecase where I would like to know from which node the action goal has received to the action server. I would like to limit my action server to receive goals from 2-3 specific action ...
0 votes
2 answers
33 views
How to verify correct actionlib.SimpleActionClient setup?
I am trying to create a SimpleActionClient in my Python service node using the following lines of code: ...
0 votes
2 answers
49 views
How to change topic name in function call?
Hello, I am trying to run the same code on different robots, and they have different tf prefixes. So instead of making n files, I want to just change the prefix in the function, here called ns ...
0 votes
1 answer
42 views
The parameter arrangement of a simple done callback function for an action client
What is really the difference between this: ...
0 votes
1 answer
50 views
catkin_make unable to find actionlib in its original install location
It seems as though it is looking for actionlib in one of our catkin workspaces. It was installed to /opt/ros/kinetic/share/actionlib. Is there a way to correct how catkin finds it? Is there another ...
0 votes
1 answer
33 views
actionlib axclient always disconnected from server
Hi all, I am trying to run an action using my computer as a client and a robot as a server. I am using the actionlib axclient for that. In my computer I can see the topic I want to use ...
0 votes
1 answer
256 views
Actionlib: AttributeError: 'PoseStamped' object has no attribute 'use_start_pose'
I'm trying to use move base flex inside a SMACH state machine and want to call the get_path-action. The corresponding action-msg looks like this: ...
0 votes
1 answer
39 views
Ensuring mutual exclusion between different actions
Hi! I'm looking for a good way to ensure that different actions do not run at the same time. Let's say we have a robot that can do different actions, such as moving and making a measurement. It seems ...
0 votes
1 answer
18 views
actionlib constructor initialization
I'd appreciate it if someone can explain the reason why the actionlib simpleServer constructor needs to be initialized as a constructor initializer list? If the initialization's removed the ...
0 votes
2 answers
40 views
Cancel rospy action with Ctrl+C
Hi to everyone, i'm using a class in which some methods call actions as SimpleActionClient. I create a node in the same executable i create the class instance and leave if the signal handling. When i ...
0 votes
1 answer
120 views
Actionlib: preempt vs cancel
Hi, I'm currently trying to understand the Actionlib state machine and am not clear about what "preempt" exactly means in this context. The wikipage (http://wiki.ros.org/actionlib/...
0 votes
1 answer
46 views
Wait for timer to be stopped
Hi everybody, I'm working on a state_machine right now and I have the following problem: I have a ROS timer running on a timerCallback which supervises the current states and depending on the state ...
0 votes
1 answer
18 views
Navigation Sending Simple Goal from Class
Hi, I'm having trouble converting the Navigation Tutorial "SendingSimpeGoals" to a format where the functionality can be used out of a library. When splitting everything up into a h- and cpp-...
0 votes
1 answer
52 views
How to use function rclcpp_action::create_server in class with ROS2 Crystal?
Hello guys, I am trying to make a class with actionlib in ROS2 crystal. I started by modifying the example code here. However, I get stuck in calling the function rclcpp_action::create_server. Is ...
0 votes
1 answer
35 views
ros_control combination with actionlib
Hi there, This is probably a noob question, but after spending some hours trying to figure this out and asking google, I decided to ask it nonetheless. I am building an interface to a robot that does ...