Error when change the sensor message from custom one to standard
Hi
I changed some ROS2 nodes so can use standard IMU sensor messages defined in ROS as standard sensor IMU message instead of custom one . I defined correctly the IMU sensor message in the message file. Also in the python3 code I have imported correctly with from sensor_msgs.msg import Imu.. So, somewhere in my python code I would like to use this standard sensor message . When I execute the launch file with
ros2 launch system_launch test_system_launch.py
I got the following ERROR
[ERROR] [1666862786.571709059] [rosbag2_transport]: Topic '/robot/imu' has several types associated. Only topics with one type are supported
I think have to check the publishers of the /robot/imu
topic Which nodes publishes and which message types.. But not sure is the right way to find out the error and how to do it. Any help ?