I have created a new ROSOdometry OmniGraph, which uses omni.isaac.core_nodes.IsaacComputeOdometry to get the drone's current odometry and publishes it to ROS1 Odometry topic using omni.isaac.ros_bridge.ROSPublishOdometry, but the Odometry message doesn't change as i use command rostopic echo /odom to observe, can anyone help me briefly analyze the reason? The test code and the results are shown as follows:
'''
import torch
import hydra
from omegaconf import OmegaConf
from omni_drones import CONFIG_PATH, init_simulation_app
I have created a new ROSOdometry OmniGraph, which uses omni.isaac.core_nodes.IsaacComputeOdometry to get the drone's current odometry and publishes it to ROS1 Odometry topic using omni.isaac.ros_bridge.ROSPublishOdometry, but the Odometry message doesn't change as i use command
rostopic echo /odom
to observe, can anyone help me briefly analyze the reason? The test code and the results are shown as follows: ''' import torch import hydra from omegaconf import OmegaConf from omni_drones import CONFIG_PATH, init_simulation_app@hydra.main(version_base=None, config_path=".", config_name="demo") def main(cfg): OmegaConf.resolve(cfg) simulation_app = init_simulation_app(cfg) print(OmegaConf.to_yaml(cfg))
if name == "main": main() '''
![image](https://github.com/btx0424/OmniDrones/assets/34215214/1489ab7c-d213-4d4f-8147-eb86e0419d77)