Code Monkey home page Code Monkey logo

Comments (3)

trainman419 avatar trainman419 commented on July 2, 2024

It sounds like your sound client and the soundplay node are using different versions of the SoundRequest message.

This only happens if you mix versions of sound_play from different versions of ROS.

If you're using a binary installation of ROS, please make sure that both machines are using the same ROS version.

If you have a source checkout, please make sure that it's using the correct branch.

from audio_common.

78226415 avatar 78226415 commented on July 2, 2024

thanks

from audio_common.

Chloehhh avatar Chloehhh commented on July 2, 2024

It might because you install sound_play pkg in ros (opt/ros/...)and also save the code package(copy from github) in you workspace directory, there would be two versions of sound_play/SoundRequest msg. in your system. [one is in the ros pkg installed directory, another one is in your workspace]

If you do not source devel/setup.bash in your workspace before running the code, the msg file in ros directory will be requested as default, if you #include "sound_play/SoundRequest.h" in your code, the msg file in your workspace package will be provided. And that is the problem...

So, you can remove one of these pkg in your system or source workspace/devel/setup.bash before you run the sound_play sounplay_node.py.

from audio_common.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.