-
Notifications
You must be signed in to change notification settings - Fork 12
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
Describe the process of adding new skins #4
Comments
Hi! |
Thanks! In the meantime, can you advise on the animation part for active/no_active behavior? As it seems like I'm pretty close to the solution, just want to understand the direction. |
Sure! |
But where in the code do you map these 2 states with the animation? I'm a little bit confused with the above error message as I don't see how these states correlate to animation files (.bvh) that you explicitly load in There were similar errors related to the actual behaviors that we define in agents.xml. And I fixed them by introducing my own behaviors for a new model. But how can I do the same for the |
To replace an animation is not complex, while the animation is compatible with the skeleton of the model (related to your first problem). |
But I generated both .dae and .bvh from a single .fbx. So animation should 100% match the .dae, as it works in Blender and the other tools. So I guess there's something more on the code level where some default animation is used with my model (which is incompatible with the existing animations). |
No, I'm stuck. Seems like there should be some special model/animation configuration to play well with Gazebo. There are a bunch of ways how you can export data from Blender. And all the tutorials are pretty much outdated. I don't know why it doesn't work. Looking forward to receiving some instructions from you. Thanks. |
Building a functional model with animation to play in Gazebo properly is quite tricky. |
Thanks, do you have any raw estimate? So that I'd understand if I want to spend more time on investigation or just wait for your update. You know, if it's a week, for example, I can wait for sure. If a month, I'd likely find a solution myself. Note that I perfectly realize it's open-source and you have your primary job. So that's just a question, no offence. |
Probably, we could upload something next week. |
We have just added 5 new human models. |
@noeperez top! Will try later today. Thanks! |
New models work for me. I'm looking forward to getting the instructions for custom models. Thanks! |
Hi! |
@roberottt excellent, thanks! I'm wondering if you also tried to change the animation. I made many attempts, but it seems like Blender exports a broken .bvh file, which can't be correctly handled by Gazebo. Or maybe I just missed something. |
Hi! The models built like that are compatible with all the .bvh animations from here. We just associated the proper animations, for the "active" and "non-active" modes, to the behavior indicated. |
@noeperez yes, I know that dataset. However, I'm asking if you tried some custom animations built with e.g. Mixamo? It's a very simple and powerful UI tool. You can import your .fbx from MakeHuman, add any animation, then export back to .fbx and import it to Blender with a fully working animation. What I'm stuck at within this process is splitting .fbx onto .dae and .bvh. If I use only .dae, it seems to work well in Gazebo w/o animation. But when I try to export .bvh, it breaks the model: there's a monster from a horror movie walking in Gazebo. :) |
Sorry, we did not try with other animations or building custom animations.
|
I tried to follow the instructions but got a broken model at the end. Have you tried adding such parts as ponytails, eyelashes, and eyebrows or changing the size of the body? It seems like |
We have the same problems. When merging the skeleton of the walk.dae with the skin of a new model not always fits perfectly, and some bones positions and connections must be adjusted manually. |
Anyway, thanks for your effort! |
Hi @noeperez @roberottt,
I'm trying to add a new model to a simulation. Here are the steps I've completed so far:
MakeHuman
appMixamo
.dae
and.bvh
viaBlender
and put them tomodels
folderAgent.msg
skin_filename
andanimation_filename
with newly added itemshunav_msgs
handlers for the newly added behaviorsWhen I start all the services via launch file, I see the following error:
As it comes from Gazebo, I'm not really sure how exactly I should fix it. Where are these active/inactive animations are set?
Would be greatly appreciated any thoughts.
The text was updated successfully, but these errors were encountered: