ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2019-09-13 16:52:13 -0500 | marked best answer | Calling a (Gazebo) service parallelly from multiple nodes/ Remapping a (Gazebo) service to a particular namespace I have a multi robot setting (with different namespaces which work totally independent of each other, in the same empty_world) in Gazebo. I have to reset the manipulated objects after a certain time interval. I have different ROS nodes controlling the robots and the resetting objects. So I want to use gazebo/set_model_state service parallelly in all the nodes. Spawning one robot works fine as it is the only node using the service. But as soon as I launch the second node it gives me the following error from the first simulation and the second simulation starts running fine.
I'm aware that the service call executes commands in a serial manner. But I would like to call the service parallelly from all the nodes at the same time. Is this possible? I suppose this can be done if I can somehow "remap" the service like I do for the topics. That way I can specifically call the service belonging to the robot of that particular namespace. Or if I somehow clone the existing service into multiple unique services each node can call these unique nodes parallelly. But I'm not sure how this can be done. Any suggestions? |
2019-09-12 06:25:37 -0500 | received badge | ● Famous Question (source) |
2019-06-09 06:31:03 -0500 | commented answer | moveit, the tutorial node motion_planning_api_tutorial.launch does not work Thanks a lot! |
2019-05-30 12:33:29 -0500 | commented answer | "URDF/COLLADA file is not a valid robot model" when loading IRB4600 in MoveIt Setup Assistant You might encounter the "Not a valid model error" if you do not source the setup.bash file. |
2019-05-30 12:32:01 -0500 | commented answer | "URDF/COLLADA file is not a valid robot model" when loading IRB4600 in MoveIt Setup Assistant Sometimes the problem might arise from not sourcing the setup.bash file. |
2019-01-22 03:09:52 -0500 | received badge | ● Notable Question (source) |
2018-08-16 10:55:17 -0500 | received badge | ● Popular Question (source) |
2018-05-14 00:18:31 -0500 | commented question | How can I make a robot joints and links reset completely in gazebo from python? Did you find a way to solve this problem ? |
2018-05-09 00:02:39 -0500 | received badge | ● Enthusiast |
2018-04-18 03:44:22 -0500 | edited answer | Calling a (Gazebo) service parallelly from multiple nodes/ Remapping a (Gazebo) service to a particular namespace Since the service call takes very less time to execute the command. I added an extra line for rospy to wait till the ser |
2018-04-18 03:44:22 -0500 | received badge | ● Editor (source) |
2018-04-18 03:43:22 -0500 | edited answer | Calling a (Gazebo) service parallelly from multiple nodes/ Remapping a (Gazebo) service to a particular namespace Since the service call takes very less time to execute the command. I added an extra line for rospy to wait till the ser |
2018-04-18 03:41:28 -0500 | answered a question | Calling a (Gazebo) service parallelly from multiple nodes/ Remapping a (Gazebo) service to a particular namespace Since the service call takes very less time to execute the command. I added an extra line for rospy to wait till the ser |
2018-04-17 08:45:43 -0500 | asked a question | Calling a (Gazebo) service parallelly from multiple nodes/ Remapping a (Gazebo) service to a particular namespace Calling a (Gazebo) service parallelly from multiple nodes/ Remapping a (Gazebo) service to a particular namespace I have |
2018-04-16 04:51:25 -0500 | received badge | ● Supporter (source) |