Robotics StackExchange | Archived questions

Could not determine the type for the passed topic

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.

Asked by AwooOOoo on 2019-06-19 09:46:18 UTC

Comments

Are these topics using custom or standard message types?

Asked by PeteBlackerThe3rd on 2019-06-19 10:15:49 UTC

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

Asked by AwooOOoo on 2019-06-25 03:56:33 UTC

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

Asked by ninamwa on 2019-11-28 14:35:32 UTC

I have same problem with /Image topic.

Asked by ttttthomas on 2019-12-02 16:02:52 UTC

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.

Asked by hodudu on 2022-09-21 00:04:31 UTC

Answers