No force_torque topic is published when loading xacro into ignition gazebo via ros2 launch
Hi, I want to simulate the force torque sensor in ignition gazebo together with ros2. I loaded the xacro file to ignition gazebo, the force torque sensor seems to be created successfully, but no force_torque topic is published by "ign topic -l". If I save the world into sdf file and load it into ignition gazebo, the force_torque topic appears.
The package is modified from ros_gz_sim_demos. link: https://github.com/gazebosim/docs/fil...
ros2 launch test_demos load_xacro.launch.py
ros2 launch test_demos load_sdf.launch.py
ign topic -l
Environment: ubuntu 22.04, ros2 humble, Ignition Gazebo 6.11.0
Thanks for any help!
Jia