-
Notifications
You must be signed in to change notification settings - Fork 24
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
Failed to validate trajectory: couldn't receive full current joint state within 1s #7
Comments
In your urdf there should be the definition for a plugin that will publish the joint state every x times per second (in my setup I had only one joint corresponding to the position of the drone itself). It seems that right now your model is not publishing this information or the node that should move your drone is not receiving it. Try to do an echo of the joint state topic and check that everything is published well. |
Hi @AlessioTonioni, |
Try to echo /tf, if I remember well joint states should be published there. If they are not check your urdf, there should be somewhere the declaration of a plugin to publish the joint state |
@AlessioTonioni Thanks for the help! I installed the plugin by running
I tried to execute my planned path in Rviz again after installing the plugin, but Rviz crashes when executing the path, part of the code shown in the terminal:
Sorry for the long post, as i have no clue what could be wrong for this situation. Any help will be greatly appreciated. Thanks! |
@wenxin615 could you solve the problem. I have the same error here! |
Hi guys did you solve the problem? I'm having the same problem here Did you manage to publish the joint_state? |
For future reference to expand on my previous answers, in my setup joint state are published by a libgazebo plugin defined inside the urdf file. The plugin definition is defined between line and 134 and 140 on quadrotore.urdf |
@AlessioTonioni , I have tried your setup. Nothing is published on If you really have an output on |
Well, I can fetch the joint state - in this case simple Pose of drone - from various topics and services. My desire is to realize this through |
Unfortunately, I have not used this code in the last 4.5 year so I am not really able to test anything. My best advice is to follow the far better step by step tutorial by will selby. |
For the granularity of the issue, I have found my way directed to here. Will Selby had done his simulation with Rotors drone, whereas yours is with Hector. I will try to replicate his work until I find a clue related to /joint_states, which is essential for MoveIt! to work. Thanks for the help anyways. |
Hello!
Currently, I have no problem planning a motion but the problem happens when i execute my planning from moveit to gazebo, it gives the error: "Failed to validate trajectory: couldn't receive full current joint state within 1s".
I'm currently using ros indigo, gazebo 2.2.6, moveit last update (Feb 2017), ubuntu 14.04 trusty.
In the terminal, when i try to plan and execute a valid state, the screenshot is attached in the link below https://drive.google.com/file/d/0B0_mv7dnS9ezbzNQUHlRWlc5Tlk/view?usp=sharing
The rqt_graph is attached in the link below.
https://drive.google.com/file/d/0B0_mv7dnS9ezVnpTVUs1YVVJMk0/view?usp=sharing
I will be grateful if you could help me on this problem. Thanks you..
The text was updated successfully, but these errors were encountered: