-
Notifications
You must be signed in to change notification settings - Fork 37
Problems using MoveBaseActionClient in Gazebo #44
Comments
When you say that your Gazebo physics settings are the same as in #29, what do you mean? Can you copy those settings? You said that it was working fine a few weeks ago. The kinova-movo/master has not changed in months (besides the documentation). So I doubt that this is something from the movo package. Maybe you can try searching the specific error you get on the internet. e.g. of resources I could find: Thank you |
I'm running Gazebo 2.2.6. My physics settings match the picture from #29, which is linked here. I'm not sure what the exact framerate is at the moment, but it can run at nearly real-time. Thank you for the links you provided. I'll look into those and see if there are any solutions. |
I'm running the same Gazebo version and I do not have the same problem... strange. Let me know if you find a solution. |
I re-tested the same demo as you mentioned (movo_demos sim_demo.launch) on my remote pc, and both 6 dof and 7 dof arm configurations with kg3 gripper (in https://github.com/Kinovarobotics/kinova-movo/blob/devel/movo_common/movo_config/movo_config.bash) resulted in appropriate base planning. On my side, the real-time factor was really bad however... about 0.20... I do not know why it fails on your side. What specific configuration are you trying to run (how is the movo_config.bash file configured)? Is this something that happens systematically on your side? This is an error that originally comes from tf publishing a wrong transform. The move_group node is not able to recover from this inappropriate transform... Honestly, the ros knowledge we have internally are not enough to be able to really explain this issue and help you further.... I am very sorry about this situation. Maybe you can try searching for the specific error you get on Gazebo forums. e.g. ignoring because of a nan value in the transform? I could not find a clear answer, but maybe you will. The fix you have found is rather curious:
I am unfortunately not able to explain why this would work. Last but not least, I am launching a local ros master (roscore), then launch the demo in another terminal on my machine. Have you launched a local ros master when testing on yours? just to be sure.... sorry I am not able to help more |
Hi @martine1406 Thanks for the reply, and sorry for my delay in responding. The movo_config.bash file should have all the default values from the master branch. Lately, the simulation has actually been working well for the most part. I can't track down any specific factor in why that has been happening. It sounds like it is not something in the movo models; I will try to look into other causes on my local machine. In any case, thank you for trying to look into this further. |
awesome. yeah those issues can be confusing. At least, a lot of information is generally available online. Good luck with your digging of the root cause for this problem! |
When using a MoveBaseActionClient at the start of a simulation, the top of the Movo robot model disappears, and its transformations take on nan values.
This is happening when I run movo_demos sim_demo.launch, when it gets to the point of moving the movo base. A few weeks ago it was working fine, and I do not know what has changed (I have re-pulled from github and re-built the workspace to ensure there are no local changes).
I can also cause this to happen by spawning the movo in an empty world, and running a script that creates a MoveBaseActionClient, and sends a command to move to (1, 0, 0). This is done with a similar launch process as the sim_demo, but modified to use the empty_world (navigation is currently set to use a map).
I was looking at #29, and found that if I send a quick /movo/cmd_vel command at the start of the simulation, followed by a zero-velocity command, I can then run the script mentioned above with no problems.
I have tested spawning the movo slightly in the air, with the same results.
I'm running 14.04/Indigo, and running off of kinova-movo/master (and have tried the devel branch). My Gazebo physics settings are the same as in #29
The following is some of the errors messages that appear when roslaunching sim_demo:
The text was updated successfully, but these errors were encountered: