Could not determine the type for the passed topic

asked 2019-06-19 09:46:18 -0500

AwooOOoo gravatar image

Hi, I have a node that subscribes to one topic and publishes to another. When I ros2 topic list both the topic subscribed to and published are listed as expected. When I ros2 topic echo <topic name>, I get the message Could not determine the type for the passed topic.

I saw a similar topic at github link in which this error shows up using the Connext DDS implementation, but I'm using the opensplice DDS implementation. Its still listed as an open bug, but wanted to check I'm not missing something (more likely).

Any pointers as to what might be causing this? I have other nodes publishing just fine and can be echo'd.

Sincerely, Paul.

edit retag flag offensive close merge delete

Comments

1

Are these topics using custom or standard message types?

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2019-06-19 10:15:49 -0500 )edit

I'm publishing to topic /position/gnss which is simply a NavSatFix message...

AwooOOoo gravatar image AwooOOoo  ( 2019-06-25 03:56:33 -0500 )edit

Did you figure this out? I am having the same problem now with the /odom topic.

ninamwa gravatar image ninamwa  ( 2019-11-28 13:35:32 -0500 )edit

I have same problem with /Image topic.

ttttthomas gravatar image ttttthomas  ( 2019-12-02 15:02:52 -0500 )edit

Hello, @PeteBlackerThe3rd

I'm using custom message like below.

adc.msg
--------------------
uint16[32] high_speed_adc_ch0
uint16[32] high_speed_adc_ch1
uint16[32] high_speed_adc_ch2
uint16[32] high_speed_adc_ch3
uint16[32] high_speed_adc_ch4
uint16[32] high_speed_adc_ch5
uint16[32] high_speed_adc_ch6
uint16[32] high_speed_adc_ch7

I have encountered this message(Could not determine the type for the passed topic).

Thank you.

hodudu gravatar image hodudu  ( 2022-09-21 00:04:31 -0500 )edit