Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Please explain what exactly you mean by it negatively impacted the behaviour of my program.

There is no core ROS functionality to play sound. You will have to use some library or system calls or some other ROS package that implements this behaviour. Why not use sound_play, if that provides the means to play sound on another node? I suggest to check out its documentation if you want to use it.

Otherwise, the question of how to to play sound in a Linux program is a bit off topic for this forum. I'm sure google will bring up a ton of info.