I am using a Gazebo simulation (11.10.2) with ros-humble-gazebo-plugins and I am trying to instantiate sensors multiple times with adjusted parameters in a nested robot model. Therefore, I want to use the proposed parameter passing as described in your tutorial, but it seems to be difficult to get it runnable.
Assuming the following model.sdf file describes a camera sensor.
The aim is to include an instance of the camera with some different parameters in the robot's model.sdf file.
For example, with a different housing color specified within the <material> tag.
The code of the robot's model.sdf file mentioned above does not change anything. The camera still has its default color.
Now the question is how to get the parameter passing runnable?
Another point to mention is that you specified libsdformat version 10 and sdf version 1.7 in the tutorial.
But the ros-humble-gazebo-plugins are related to libsdformat9-9 if it is installed with apt install.
I described that format problem in a Gazebo Answers post here.
So how can I set up an environment with ros-humble-gazebo-plugins, libsdformat version 10 and sdf version 1.7 to use parameter passing successfully?
Is the parameter passing still a draft, or is it a more robust version?
It would be very nice if you can give me some advice or hints to make progress on this topic.
Dear sdf-tutorial contributors,
I am using a Gazebo simulation (11.10.2) with
ros-humble-gazebo-plugins
and I am trying to instantiate sensors multiple times with adjusted parameters in a nested robot model. Therefore, I want to use the proposed parameter passing as described in your tutorial, but it seems to be difficult to get it runnable.Assuming the following model.sdf file describes a camera sensor.
The aim is to include an instance of the camera with some different parameters in the robot's model.sdf file. For example, with a different housing color specified within the
<material>
tag.The code of the robot's model.sdf file mentioned above does not change anything. The camera still has its default color. Now the question is how to get the parameter passing runnable?
Another point to mention is that you specified libsdformat version 10 and sdf version 1.7 in the tutorial. But the
ros-humble-gazebo-plugins
are related to libsdformat9-9 if it is installed withapt install
. I described that format problem in a Gazebo Answers post here. So how can I set up an environment withros-humble-gazebo-plugins
, libsdformat version 10 and sdf version 1.7 to use parameter passing successfully? Is the parameter passing still a draft, or is it a more robust version?It would be very nice if you can give me some advice or hints to make progress on this topic.
I look forward to hearing from you.
Best regards.