Skip to content

AudioData messages (audio_common_msgs) empty when echoing /audio or subscribing to /audio in python script #165

Description

@ameliefroessl

Hi,

I'm experiencing a very weird problem. I have no idea how this is happening, but maybe you can help me out. When I echo the /audio topic played back either from a bag file or publishing the audiodata live, echo will be completely empty and trying to connect to the topic via python subscriber, the callback is never even called. However, rostopic hz /audio indicates that there are messages coming through. Also, rqt_bag shows me there are messages in the bag. I can also rerecord what's in the bag and the recorded bag also has those messages when I check them in rqt. I can also publish and subscribe to std_msgs/UInt8MultiArray messages, which have the same byte data field (uint8[]) as the AudioData messages.

I am able to see the messages and subscribe to the topic on a different machine. I'm running Ubuntu 18 on both and installed is ROS melodic. I checked on the machine for which all of this works, audio_common_msgs 0.3.7 is installed and on the machine it does not work I have audio_common_msgs 0.3.9, if that is relevant...

Thanks for any help !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions