-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Services Unavailable in MoveIt #142
Comments
Thank you for your inquiry |
Hi @leeminju531, I have followed the instructions to set up my robot with MoveIt, but I am encountering some issues. After launching the robot and running the example, I see the following logs: It appears that the "Services" are not available and there are errors related to a mismatch between the URDF and SRDF files. Could you please assist in resolving these issues, specifically the URDF/SRDF mismatch and the unavailable service? Steps I have taken: Thank you for your assistance. I look forward to your support in resolving this issue. |
Hi @leeminju531 |
Dear @Manimaran017, Could you make service calls (like SetRobotMode and movejoint) without running the example file through the CLI? |
Hi @leeminju531, |
I am having a similar issue. Here are my observations:
|
Dear @leeminju531, Just following up on the issue I reported earlier. Have there been any updates on the service call or potential solutions for the errors? |
This issue maybe related to
After further investigation, I found that
This could be due to the controller still being in the boot-up process, not fully initailized yet.
This is caused by the namespace issue. I will create a follow-up issue to add namespace support in |
Based on the logs you attached, I see that there were two attempts with
While this issue is present, it doesn’t seem to directly affect the services at this time.
This indicates that the controller was not successfully loaded. I will create a follow-up issue to address this.
Lastly, as mentioned in my previous response, (e.g. |
I believe the initial failure of the |
I updated to 1808c11 in order to test your solution merged with #144. Unfortunately, this makes things worse. Fist of all, the problem with the missing service remains. If I just start Yet even worse, the update seams to break the controller. If I use the RViz GUI to call Plan & Execute, the robot is not following the plan and the service returns with a timeout. For comparison, I initiated the planner through the GUI twice, once with the new version 1808c11 and once with the previous working version 0460ba7. Both output files are attached here for your review. new failing version: 1808c11.txt |
@leeminju531 |
No, you only need to start @AstrobotDaniel @Manimaran017 I believe the issues occurred due to two main points:
I’ll open separate follow-up issues for this. Thanks again! |
Hi @leeminju531, Thank you for your update regarding the issues you’ve identified. I appreciate your thorough investigation and your plan to open separate follow-up issues. I would like to revisit the URDF-related warnings that we discussed earlier. The warnings indicate the following:
These warnings suggest a potential issue with library linking that could complicate our setup. This might need addressing to ensure that all robot descriptions are properly aligned. Additionally, I have a concern regarding the virtual environment. I’m uncertain if I need to run a program in a virtual setup to verify how the robot moves. However, when I do run a program in the virtual environment, I don’t see any movement in RViz or Gazebo, although the services do seem to function correctly. If you have any insights into how to run a program in virtual mode, it would be greatly appreciated. While you mentioned that the initial warnings do not currently affect the services, I believe it is still important to resolve them to prevent any future complications, especially as we work towards a stable integration. |
I totally agree. I’ve also opened a separate URDF-related issue as well.
Regarding your concern with the virtual environment, I think you’re approaching it the right way. |
@Manimaran017 |
Description:
The program script works in RViz but the services (Set Robot Mode Service and MoveJ Service) are unavailable when running with MoveIt. The script hangs, waiting for the services to become available and eventually fails.
Steps I Followed:
Expected Behavior:
The script should initialize the required services and work with MoveIt to execute robot motions.
Actual Behavior:
The script works correctly in RViz.
When used with MoveIt, it waits indefinitely for the services (Set Robot Mode Service and MoveJ Service) and fails to execute.
Request:
![1000100371](https://private-user-images.githubusercontent.com/188667484/399236503-5e051989-a0e8-4c0d-ab7f-67062c8b7ba2.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMzY4OTEsIm5iZiI6MTczOTIzNjU5MSwicGF0aCI6Ii8xODg2Njc0ODQvMzk5MjM2NTAzLTVlMDUxOTg5LWEwZTgtNGMwZC1hYjdmLTY3MDYyYzhiN2JhMi5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQwMTE2MzFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01ODJhZTE4OWQyYTAzODBhMDViMDNjNjljMjAzMDU4ZGNhYTM4MzA5Njc1NzlmNDEyMzY5MmFhNWRiMzNiZmU2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.IyWlqpaf4kcyWkwtcyHRUlImlg8w3gWw4Al-bF5NjIc)
![1000100370](https://private-user-images.githubusercontent.com/188667484/399236511-50655725-b89b-43ce-9d3c-88aa7f457aec.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMzY4OTEsIm5iZiI6MTczOTIzNjU5MSwicGF0aCI6Ii8xODg2Njc0ODQvMzk5MjM2NTExLTUwNjU1NzI1LWI4OWItNDNjZS05ZDNjLTg4YWE3ZjQ1N2FlYy5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQwMTE2MzFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yMDI4MzhjODI2NDE0MmE4M2E4NzU4NjEyNWM4OTE0Y2VjZjI4OWU3M2FhMTQ5NjgyMTg4ODk0MmVmMmI0MjU5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.DdvM3ZvrLOojdJlaoSWJI62ccNgbc0eD0MBH1afAlfk)
Please investigate why the services are not available with MoveIt, even though the script works in RViz. Any guidance or fixes would be greatly appreciated
The text was updated successfully, but these errors were encountered: