add z launch argument - #130
Conversation
|
Could you elaborate a bit on the motivation and effects of this, please? |
|
@urfeex Hi, thank you for the quick comment. This parameter allows to spawn the robot at a certain height in Gazebo, so that users can build a custom scene in which the robot moves below its base. In the basic usage of the modified launch file (i.e., when this parameter is not specified), the robot spawns on the Gazebo ground as it was before. Without this PR, AFAIK users cannot set this manually via Gazebo GUI or services, so the parameter is necessary to do what described. Look, for instance, what happens with this video or this one. Please let me know if you have any additional questions :) |
|
Yes, but wouldn't this require to re-define from scratch the whole URDF? |
|
The URDF in this repository should be seen as an example. A robot in an empty world. With real-world applications, users should specify their own URDF. Given the use-case you provided, you also would not like the robot to learn a policy where it can reach beneath itself, where in real world there would be a pillar. |
I agree on this.
True. In case you find this useful, I can re-target this PR to implement this. |
|
As written above, we see this package's URDF as an example. Therefore, I would like to avoid opening up paths repurposing this URDF in scenarios that it is not designed for. I'll discuss that in the team, though. |
|
Thank you for your feedback, @urfeex.
Great! If possible, I'll be glad to receive updates on this here. |


This PR introduces a new launch argument to spawn the robot in Gazebo at a custom
zheight.