ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi Onurcan
You are try to wait for result before sending goal to action server. In here
self.wait = self.client.wait_for_result()
You should do that after sending goal
self.client.send_goal(self.goal)
self.wait = self.client.wait_for_result()
2 | No.2 Revision |
Hi Onurcan
You are try to wait for result before sending goal to action server. In here
self.wait = self.client.wait_for_result()
You should do that after sending goal
self.client.send_goal(self.goal)
self.wait = self.client.wait_for_result()
self.wait = self.client.wait_for_result()and use self.client.wait_for_result() return for result variable.
3 | No.3 Revision |
Hi Onurcan
You are try to wait for result before sending goal to action server. In here
self.wait = self.client.wait_for_result()
You should do that after sending goal
self.client.send_goal(self.goal)
self.wait = self.client.wait_for_result()
and use self.client.wait_for_result() return for result variable.
In the class init you can use client.wait_for_server() function to wait for server.
4 | No.4 Revision |
Hi Onurcan
You are try trying to wait for result before sending goal to action server. In here
self.wait = self.client.wait_for_result()
You should do that after sending goal
self.client.send_goal(self.goal)
self.wait = self.client.wait_for_result()
and use self.client.wait_for_result() return for result variable.
In the class init you can use client.wait_for_server() function to wait for server.