-
Notifications
You must be signed in to change notification settings - Fork 163
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
Rviz doesn't show the planned trajectory (trace) #57
Comments
@penglongxiang Solve the problem, the source of the question is : Solving method:
|
@AnsunWu Thank you for providing the solution to this problem. Showing trajectory is originally intended but I did not achieve it successfully. We will fix this in next update. |
No problem, Hope to do my development with the new update :) Thanks,谢谢。 |
Hi @AnsunWu, we have fixed the trajectory visualization issue, please refer here and update your local repository, you can now use xarm models with UF gripper or vacuum gripper attached in 'xarm_planner'. |
@penglongxiang Hello, Thanks for the quick update! |
Hello,
Recently, I learned the package of MoveIt! and try to use X-arm to do some simulations.
I met with a problem: RVIZ doesn't show the planned trajectory.
The code in the "xarm_simple_planner.CPP" in the x-arm planner_package, the "rviz_visul_tool" is already being used to show the information and the planned trajectory in Rviz. (Shown below)
And I also added the "Marker Array" tool in Rviz and subscribe to the right topic, the information is shown correctly:
![image](https://user-images.githubusercontent.com/61506167/103471159-34e74f80-4d57-11eb-9010-f14d64cbc849.png)
But when I executed the "pose planning code", the robot trajectory was now shown in Rviz as the code...
![image](https://user-images.githubusercontent.com/61506167/103471180-90194200-4d57-11eb-9c6a-d6251f039d7b.png)
rosservice call xarm_pose_plan 'target: [[0.28, 0.2, 0.2], [1.0, 0.0, 0.0, 0.0]]'
Could you please tell me how to let the rviz show the trajectory of the robot as in the picture below?
![image](https://user-images.githubusercontent.com/61506167/103471207-05851280-4d58-11eb-9a7c-e058cd9e1dc2.png)
**I followed the detailed tutorial of the official moveit webpage and tried many ways to solve this problem, including modifying the rviz environment, robot model in Moveit_setup_assistant,and modifying the code...But still can not solve this problem.
Or is there any other way to show the trajectory like the picture above?
Many thanks for your help!!**
http://docs.ros.org/en/kinetic/api/moveit_tutorials/html/doc/move_group_interface/move_group_interface_tutorial.html
The text was updated successfully, but these errors were encountered: