Skip to content

ros2 branch has ros1 headers #235

@ashBabu

Description

@ashBabu

Hi, I would like to use sound_play in ros2 C++. The aim is that when an obstacle is detected (ros2 subscriber), provide an audio alert to the user.
I followed the this and got it to work by
ros2 run sound_play soundplay_node.py and ros2 run sound_play say.py "Hello". However when I do,

#include <sound_play.h>

class sound
{
sound_play::SoundClient sc_;
}

this starts complaining about ros1 headers.
Any fixes for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions