-
Notifications
You must be signed in to change notification settings - Fork 188
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
Update Example 9 to use Gazebo Sim and .xml launch files #486
Update Example 9 to use Gazebo Sim and .xml launch files #486
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear @destogl and @christophfroehlich thanks a lot for both contributions. Switching to gz-sim is definitely a plus.
But keeping the examples simple and documented are the main target of the repo I guess.
<arg name="gz_args" value=" -r -v 4 $(var gazebo_world)"/> | ||
</include> | ||
|
||
<node pkg="ros_gz_bridge" exec="parameter_bridge" args=" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not naming the node clock_bridge
as in the python equivalent ?
<param name="use_sim_time" value="true" /> | ||
</node> | ||
|
||
</launch> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear @destogl maybe we do not need the equivalent xml file here, as it is not in the other examples.
<plugin | ||
filename="gz-sim-sensors-system" | ||
name="gz::sim::systems::Sensors"> | ||
<render_engine>ogre2</render_engine> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this is the only difference with the default gz-sim empty.world
file.
Do we need it here ?
@christophfroehlich you are right, I just tested and we don't need world file. I agree that we can go with #482, only thing I would like to add on top of it is You can just take |
Used for testing ros-controls/ros2_control#1354.
@christophfroehlich, This should help you with #482—it should replace it if that is OK with you.