Comments (3)
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.
thanks
from audio_common.
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)
- memory leak in audio_play HOT 4
- Parameter name error HOT 3
- Convert rclcpp nodes into components HOT 2
- Make all nodes to nodelet
- AudioData 8 bit integer
- Release AudioDataStamped in noetic HOT 2
- Can we play sound in systemd service + no login?
- Backporting plugin feature to ROS2 branch
- Can't get ROS 2 branch to work in ROS2 humble HOT 23
- Importing the sound_play module is slow HOT 1
- sound_play command not being executed in a docker environment HOT 1
- ros2 branch is not compiling for ROS 2 Humble HOT 4
- ROS2 foxy: Problem when writing to wav file. HOT 2
- ros2 branch has ros1 headers HOT 6
- Question/Tutorial : how to effectively use audio_capture_node in ROS2 HOT 3
- ROS2 Branch: SoundClient blocking mode does not work HOT 4
- Add audio common ros2 branch to `iron` distribution HOT 2
- Replacing `GObject` with `GLib` due to deprecation of `threads_init()` and `GObject.MainLoop`
- Can't cancel loop sounds via action
- How can i play an incoming AudioMessage HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audio_common.