You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two ros launch files one for master/controller and another for robot/slave. Problem i'm facing is when i run the scripts or launch files directly everything working fine i.e the audio is comming properly in earphone which i'm using to test the audio play. But when i run this scrips containing the launch files with systemd audio is not comming. here is the master.service:
Here when i launch the scrips or roslaunch file directly from terminal frist in master than in slave the audio is comming properly, except if the slave launch file is terminated and started audio don't comes unless i again restart the master launch file.
I'm using ros melodic, odorid c2 both with ubuntu 18.04 mate version in them.
roswtf
shows not error or warnings. the rostopic list is:
it seems the issue is strongly related to the environment, so I will close this issue.
if you find out this issue is audio_common problem, please feel free to reopen this.
I found out this issue is related to pulseaudiosystemd.
In order to run audio_common from systemd, we need to set XDG_RUNTIME_DIR properly.
if you want to run audio_common without login, you need to run pulseaudio in system wide mode, not user mode. pulseaudio's default is used mode.
I have two ros launch files one for master/controller and another for robot/slave. Problem i'm facing is when i run the scripts or launch files directly everything working fine i.e the audio is comming properly in earphone which i'm using to test the audio play. But when i run this scrips containing the launch files with systemd audio is not comming. here is the master.service:
~/scripts/startup_launch.sh of master:
~/scripts/startup_launch.sh of slave:
catkin.launch file of master:
catkin.launch file of slave0:
Here when i launch the scrips or roslaunch file directly from terminal frist in master than in slave the audio is comming properly, except if the slave launch file is terminated and started audio don't comes unless i again restart the master launch file.
I'm using ros melodic, odorid c2 both with ubuntu 18.04 mate version in them.
shows not error or warnings. the rostopic list is:
/cam1/camera_info
/cam1/image_raw
/cam1/image_raw/compressed
/cam1/image_raw/compressed/parameter_descriptions
/cam1/image_raw/compressed/parameter_updates
/cam1/image_raw/compressedDepth
/cam1/image_raw/compressedDepth/parameter_descriptions
/cam1/image_raw/compressedDepth/parameter_updates
/cam1/image_raw/theora
/cam1/image_raw/theora/parameter_descriptions
/cam1/image_raw/theora/parameter_updates
/cap1/audio
/diagnostics
/rosout
/rosout_agg
/twist
Here /cap1/audio is the audio data, which is comming ok/properly when i echo is with rostopic
cmd.
The text was updated successfully, but these errors were encountered: