Closed sskorol closed 2 years ago
BTW, just noticed in logs:
So it seems like some params are ignored. Will double-check the yaml. Maybe it's broken after copy-pasting.
Nope, we just don't print that info.
So the question is still actual: why does the human fly?
Also checked agent_manager
and it seems like z
is not used at all. There are 2d vectors everywhere. So how can we correctly position a human in a 3d space?
Hi,
the z value is just the initial height of the model. It is used to put the model initially in a higher position than the floor or the surface in which the model should walk on. Once the simulation is started, the models fall on the floor/surface (because of the gravity). So, then, the z is not used to navigate anymore.
Regarding the "flying humans", you are right, in the "small_house" and "warehouse" scenarios the humans does not fall properly on the floor and stay a bit higher. We are looking into it and trying to fix it as soon as possible.
The root cause is here. Z=1.0 works for the small_house. But ideally, it should be taken from z position instead.
We have fixed the problem. Please, pull the changes. The human agents do not have collisions, and when the simulation starts, they fall to zero height (in the middle of their bodies approximately). So, we need to add an extra height (Z) according to the height of each model in order to put them on the floor (the floor of all the scenarios must be at zero height).
Hi @noeperez @roberottt,
I use the following agent config for simulation:
The problem I noticed is that the spawned human doesn't touch the floor and just walks in the air.
I tried to set different z and h values. But it doesn't seem to have any effect in Gazebo at all.
Could you please advise what I'm missing here?