Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplify music server with playsound package and support mp3 files #82

Conversation

CullenSUN
Copy link
Contributor

@CullenSUN CullenSUN commented Nov 11, 2023

Improve music playing function

  • support playing mp3 and wav
  • make it easier for maker to add different music file to the resource folder
  • can play music from certain second (segment)

@CullenSUN CullenSUN marked this pull request as draft November 11, 2023 17:44
@CullenSUN CullenSUN marked this pull request as ready for review November 13, 2023 15:53
@mangdangroboticsclub mangdangroboticsclub merged commit 87015c4 into mangdangroboticsclub:ros2-dev-danceScript Nov 23, 2023
3 checks passed
@CullenSUN CullenSUN deleted the feature/improve-music-server branch November 26, 2023 16:11
mangdangroboticsclub pushed a commit that referenced this pull request Mar 29, 2024
* Update dance script function

* Feature/add music to dance (#81)

* add music package

* update steps in read me file

* fix ci errors

* fix flake8 errors

* Fix flake8

* remove ending white space

* continue fix ci errors

* fix flake errors

* improve code thread safety

* improve performance of dance node script

* fix tuple syntax error

* fix flake

* fix flake8

* simplify music server with playsound package and support mp3 files (#82)

* simplify music server with playsound package and support mp3 files

* put music playing in background thread

* use pygame to play sound

* use thread pool instead of thread

* remove threading handling because that's outofbox from pygame

* use playsound again to try

* Try Pydub

* add time to play sound feature

* Add logs

* Fix Duration bug

* Polish up PR for review

* add stop function

* Put playing on background

* Improve music player

* Split Music service into two

* Add read me doc for music package

* update main read me

* Fix typo

* Fix deprecated syntax (#84)

* Clean up documents (#85)

* add: mini pupper 2 urdf working in rviz

* remove vs code files

* rename to mini-pupper-2-description

* make bring up launch file able to launch both mini-pupper and mini-pupper 2

* pick up changes from Peter

* fix minor syntax and read me

* fix flake errors

* fix small syntax issue

* fix long loading issue of xacro file

* tidy up mesh files

* further fix file path

* simplify launch file

* Recentered leg links and applied symmetry

* update joint movement range according to the actual robot

* Applied symmetry to all links' center of mass and inertia

* use mp 1 legs

* Fix ros control parameters

* Add config for init z position

* Fix colors

* restore mp1 files

* remove unused urdf files

* Add lidar link

This reverts commit 6407687.

mini_pupper_2_description/urdf/mini_pupper_description.urdf.xacro

---------

Co-authored-by: Afreez <fae@mangdang.net>
Co-authored-by: Peter Nimac <nimac.peter@protonmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants