ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Álvaro's profile - activity

2018-07-09 13:53:12 -0500 marked best answer audio stream for a web site

Hi, I'm looking for a nice way to stream the audio collected from the robot mics to a web interface. Is any one aware of a ROS project which already provides that kind of functionality? Something similar to the mjpegcanvasjs in the Robot Web Tool but with audio data. Image+audio would work too. Thanks.


Edit: Thanks luketheduke! you are right, more details might help to better understand the problem: we want to develop a web-based remote interface for controlling a robot. The operator will be sit in front a computer far from the robot (even in a different network) and he/she should be able command the robot, and to see and to hear what the robot sees and hears. The robot runs ROS indigo and Ubuntu 14.04.

ffmpeg looks like an option but I have some doubts: 1. Ideally we'd like to stop and start the streaming of audio and video on demand. Using ffmpeg, we'll have it running endlessly and I'm concerned about the required resources. 2. Besides, we'll use a web-based interface (html) so right now I'm not sure if the audio streaming provided by ffmpeg can be played through a web. Any comments??

The idea is to end up with a ROS package that could be deployed in any robot to stream audio.

Thanks!

2017-07-19 09:17:34 -0500 received badge  Famous Question (source)
2017-05-27 12:28:29 -0500 received badge  Notable Question (source)
2017-05-27 02:30:31 -0500 received badge  Popular Question (source)
2017-05-26 17:55:43 -0500 answered a question audio stream for a web site

Thanks luketheduke! you are right, more details might help to better understand the problem: we want to develop a web-ba

2017-05-26 10:54:51 -0500 asked a question audio stream for a web site

audio stream for a web site Hi, I'm looking for a nice way to stream the audio collected from the robot mics to a web in

2013-12-08 07:09:34 -0500 received badge  Famous Question (source)
2013-06-18 02:23:20 -0500 received badge  Famous Question (source)
2013-05-26 22:28:58 -0500 received badge  Notable Question (source)
2013-05-18 05:34:55 -0500 received badge  Popular Question (source)
2013-05-13 11:24:28 -0500 commented question rosjava_core installation fails

I've been able to install rosjava_core in a new machine in a "dirty" way: I copied the files downloaded in a different computer for a previous installation. Then I just followed the steps detailed in the installation guide. I had to install the gradle package in order to avoid a missing dependency.

2013-05-10 06:11:53 -0500 received badge  Student (source)
2013-05-08 07:20:02 -0500 received badge  Editor (source)
2013-05-08 07:18:55 -0500 asked a question rosjava_core installation fails

Around one month ago, I installed rosjava_core following the steps presented at the rosjava installation guide (http://docs.rosjava.googlecode.com/hg/rosjava_core/html/installing.html) without signifcant problems in my desktop computer.

Today, I'm trying to do the same in a different computer (Ubuntu 12.04) but new errors appear. The promblem shows up when merging with remote repository:

rosws merge http://rosjava.googlecode.com/hg/.rosinstall

It seems that rosjava_core has been moved (you can check it at http://rosjava.googlecode.com/hg/README) to GitHub (https://github.com/rosjava/rosjava_core). After surfing this repository, I found a more updated documentation where it is written how to merge with the new remote url:

rosws merge https://raw.github.com/rosjava/rosjava_core/master/.rosinstall

However, I still get the same error when executing it:

ERROR in config: Unable to download URL [https://raw.github.com/rosjava/rosjava_core/master/.rosinstall]: HTTP Error 404: Not Found

and I can not install it.

What am I doing wrong? how can I solve the problem?

2013-01-03 13:40:36 -0500 received badge  Notable Question (source)
2013-01-02 21:23:33 -0500 commented answer Groovy Installation with MacPort fails on Mac OS X (10.7.5)

As it is written in Installation Instructions for Groovy in OSX: "We need a specific Version of boost (1.41 to 1.47)". When you follow all the steps related to Boost Installation, the 1.47.0.2 version is installed.

2013-01-02 09:46:01 -0500 received badge  Popular Question (source)
2013-01-02 09:43:31 -0500 answered a question Groovy Installation with MacPort fails on Mac OS X (10.7.5)

Boost is installed. The command port installed responds with:

$ port installed

The following ports are currently installed:

...

boost@1.47.0_2 (active)

...

Should I test it in a different way??

2013-01-02 09:36:51 -0500 received badge  Scholar (source)
2013-01-02 01:00:54 -0500 asked a question Groovy Installation with MacPort fails on Mac OS X (10.7.5)

Hi all, I'm trying to install ROS Groovy on my Mac BookAir and it goes fine until I have to compile. I've followed all the steps and, after the cmake step, when I'm building ROS base I got the next error:

$ make
[  0%] Built target cpp_common
Linking CXX shared library ../devel/lib/librospack.dylib
Undefined symbols for architecture x86_64:
  "boost::filesystem3::path::wchar_t_codecvt_facet()", referenced from:
      boost::filesystem3::path::codecvt() in rospack.cpp.o
  "boost::filesystem3::path::m_erase_redundant_separator(unsigned long)", referenced from:
      boost::filesystem3::path& boost::filesystem3::path::append<std::string>(std::string const&, std::codecvt<wchar_t, char, __mbstate_t> const&) in rospack.cpp.o
  "boost::filesystem3::path::m_append_separator_if_needed()", referenced from:
      boost::filesystem3::path& boost::filesystem3::path::append<std::string>(std::string const&, std::codecvt<wchar_t, char, __mbstate_t> const&) in rospack.cpp.o
  "boost::filesystem3::path::operator/=(boost::filesystem3::path const&)", referenced from:
      rospack::Rosstackage::exports_dry_package(rospack::Stackage*, std::string const&, std::string const&, std::vector<std::string, std::allocator<std::string> >&) in rospack.cpp.o
      boost::filesystem3::operator/(boost::filesystem3::path const&, boost::filesystem3::path const&) in rospack.cpp.o
  "boost::filesystem3::detail::current_path(boost::system::error_code*)", referenced from:
      boost::filesystem3::current_path() in rospack.cpp.o
  "boost::filesystem3::detail::dir_itr_close(void*&, void*&)", referenced from:
      boost::filesystem3::detail::dir_itr_imp::~dir_itr_imp() in rospack.cpp.o
  "boost::filesystem3::detail::create_directory(boost::filesystem3::path const&, boost::system::error_code*)", referenced from:
      boost::filesystem3::create_directory(boost::filesystem3::path const&) in rospack.cpp.o
  "boost::filesystem3::detail::directory_iterator_construct(boost::filesystem3::directory_iterator&, boost::filesystem3::path const&, boost::system::error_code*)", referenced from:
      boost::filesystem3::directory_iterator::directory_iterator(boost::filesystem3::path const&) in rospack.cpp.o
  "boost::filesystem3::detail::directory_iterator_increment(boost::filesystem3::directory_iterator&, boost::system::error_code*)", referenced from:
      boost::filesystem3::directory_iterator::increment() in rospack.cpp.o
  "boost::filesystem3::detail::status(boost::filesystem3::path const&, boost::system::error_code*)", referenced from:
      boost::filesystem3::is_directory(boost::filesystem3::path const&) in rospack.cpp.o
      boost::filesystem3::is_regular_file(boost::filesystem3::path const&) in rospack.cpp.o
      boost::filesystem3::exists(boost::filesystem3::path const&) in rospack.cpp.o
  "boost::filesystem3::path::parent_path() const", referenced from:
      rospack::Rosstackage::inStackage(std::string&) in rospack.cpp.o
  "boost::filesystem3::path::filename() const", referenced from:
      rospack::Rosstackage::isStackage(std::string const&) in rospack.cpp.o
      rospack::Rosstackage::crawlDetail(std::string const&, bool, int, bool, std::vector<rospack::DirectoryCrawlRecord*, std::allocator<rospack::DirectoryCrawlRecord*> >&, boost::unordered_set<std::string, boost::hash<std::string>, std::equal_to<std::string>, std::allocator<std::string> >&) in rospack.cpp.o
      rospack::Rosstackage::inStackage(std::string&) in rospack.cpp.o
      rospack::Rosstackage::addStackage(std::string const&) in rospack.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [devel/lib/librospack.dylib] Error 1
make[1]: *** [rospack/CMakeFiles/rospack.dir/all] Error 2
make: *** [all] Error 2

It seems that is something related to rospack and boost libraries. Any idea about how to solve it?? Thanks in advance.