which file is it that can i use to get the depth data? ----- Original Message ---- From: "ros-users-request@code.ros.org" To: ros-users@code.ros.org Sent: Sat, June 11, 2011 3:00:02 AM Subject: ros-users Digest, Vol 16, Issue 10 Send ros-users mailing list submissions to ros-users@code.ros.org To subscribe or unsubscribe via the World Wide Web, visit https://code.ros.org/mailman/listinfo/ros-users or, via email, send a message with subject or body 'help' to ros-users-request@code.ros.org You can reach the person managing the list at ros-users-owner@code.ros.org When replying, please edit your Subject line so it is more specific than "Re: Contents of ros-users digest..." Today's Topics: 1. Re: show video from robot in the web interface (based on rosjs tutoirial) (Alexander Shavykin) 2. Re: A Python version of the ROS REIN framework? (Patrick Goebel) 3. Announcing a new ROS repository (#SOH DE LOONG#) 4. Re: ros-users Digest, Vol 16, Issue 9 (Ravi Kumar) 5. error with opencv in image_transport tutorial (Alexander Shavykin) 6. IPv6 support (Rodrigo Ventura) ---------------------------------------------------------------------- Message: 1 Date: Fri, 10 Jun 2011 01:55:15 +0400 From: Alexander Shavykin Subject: Re: [ros-users] show video from robot in the web interface (based on rosjs tutoirial) To: User discussions , Sarah.Osentoski@us.bosch.com Message-ID: Content-Type: text/plain; charset="iso-8859-1" Thank you for the answer Sarah. It works but not so as i want. First of all i have problems with the setting params for mjpeg_server as it has written in tutorial: http://localhost:8080/stream?topic=/gscam/image_raw&width=320&height=240 Now i see only 640*480 picture with very big delay in local network. Also i tried to set params in gscam (using GSCAM_CONFIG) but it didn't help (like *GSCAM_CONFIG*="v4l2src device=/dev/video0 ! videoscale ! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! video/x-raw-rgb") And also i have some other questions Is gscam better for publish images then another image_transport modules? Is combination gscam and mjpeg_server is the best decision for decrease the delays between robot and offboard computer? Also if you could put up a tutorial for another way to show video from robot to web using rosjs it will be very good. And the last question: what is the best way to transmit audio from ROS to offboard computer? Thank you! 2011/6/9 Osentoski Sarah (CR/RTC1.1-NA) > Hi Alexander, > > > So, I'm a bit confused about getting the camera to publish topics to ros or > getting those topics from ros into the website. So I'll endeavour to answer > both. > > 1. How to get your camera to be publishing rostopics: > > The first thing to do is to make sure that you get your camera publishing > images to ros. There are a lot of different drivers/code you can use but > since you mentioned gstreammer I'll explain how to use gscam to get the > images from your camera into ROS. > > The documentation for gscam can be found here: > http://www.ros.org/wiki/gscam > > And you can download it using apt-get install > ros-diamondback-brown-perception > > If your camera was attached to /dev/video2 then you coul ddo the vollowing > commands > > roscd gscam > cd bin > export GSCAM_CONFIG="v4l2src device=/dev/video2 ! video/x-raw-rgb ! >ffmpegcolorspace" > rosrun gscam gscam > > Now gscam will be publishing the images on gscam/image_raw topic > > 2. How to get the rostopics that your camera publishes to be viewed on the > website: > > You can stream the video to the website one of two ways. The first is how > you mentioned where you use rosjs to subscribe to the topic. If you need > help with what to do from here we can put up a tutorial. > > There is another node, mjpeg_server http://www.ros.org/wiki/mjpeg_server that > will let you stream the videos and take advantage of built in optimizations > in the browser > > To use this node you can install it via the following command: > apt-get install ros-diamondback-remote-lab > > then just rosrun mjpeg_server mjpeg_server > > To see the image you can just type the address into your web browser: > > > http://localhost:8080/stream?topic=/gscam/image_raw > > > You should see the image in your browser at this point. The documentation > on the mjpeg_server page will tell you parameters you can set to see the > images at different quality/sizes. > > I hope this helps. Let us know if you have any questions. > > Sarah Osentoski > > ------------------------------ > *From:* ros-users-bounces@code.ros.org [mailto: > ros-users-bounces@code.ros.org] *On Behalf Of *Alexander Shavykin > *Sent:* Wednesday, June 08, 2011 1:43 PM > *To:* ros-users@code.ros.org > *Subject:* [ros-users] show video from robot in the web interface (based > on rosjs tutoirial) > > Hello. > > I have an Irobot Create and netbook with web camera on it. > The system on netbook is Ubuntu 10.04 > I try to make control the robot with ROS via web interface from offboard > computer using wi-fi. > So there is very good tutorial with rosjs. > > All examples work. > But i am a little confused how to show video from web camera on the robot > in my web interface. > > So as i understand there are some methods for this task > > To use service /imagetopic >connection.callService('/rosjs/subscribe',json(['/imagetopic',0,'jpeg',128,96,100]),function(rsp) >) > {}); > or > to use gstreamer > and also others. > I don't understand how to realize these methods. > Could you give some examples how to show the video from the robot in the > web interface on off board computer? > > > Thank you. > > > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users > > -------------- next part -------------- An HTML attachment was scrubbed... URL: /lurker/list/ros-users.html/attachments/20110610/3eca5130/attachment.html ------------------------------ Message: 2 Date: Thu, 09 Jun 2011 15:24:28 -0700 From: Patrick Goebel Subject: Re: [ros-users] A Python version of the ROS REIN framework? To: ros-users@code.ros.org Message-ID: <4DF1481C.1040506@pirobot.org> Content-Type: text/plain; charset=ISO-8859-1 So I already have a followup to my own question. I have a detector node that does the face detection and publishes the results using the rein DetectionArray message type which includes an ROI for each detected face. I have a separate display node that displays the raw camera image as well as any markers that might be generated by the detector (or other nodes) such as bounding boxes around faces. My question is this: is it better ROS practice to have the display node subscribe to the DetectionArray topics from each of the detector node(s) and then draw bounding boxes (or other markers) from the those messages, or, should I create services in the display node that draw markers on the image upon requests from the detector nodes? I rather like the feel of the services approach, but since frame rates will be about 20-30 fps, is this considered on the high side for service-based transactions? Thanks! patrick On 6/9/2011 11:47 AM, Patrick Goebel wrote: > Hello ROS users, > > I was reading up on the ROS REIN framework > (http://www.ros.org/wiki/rein) which looks really nice and I want to do > something similar using Python. I have a good start and will use my > pi_face_tracker application as a test case. But before I get too far > along, has anyone already done this? In other words, has anyone already > put together a Python-based image processing pipeline for ROS/OpenCV and > optionally, point clouds as well? (Though I realize that PCL does not > yet have Python bindings.) > > Thanks! > patrick > > http://www.pirobot.org > > > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users > ------------------------------ Message: 3 Date: Fri, 10 Jun 2011 02:36:08 +0000 From: #SOH DE LOONG# Subject: [ros-users] Announcing a new ROS repository To: "ros-users@code.ros.org" Message-ID: <867E641DAC9AA74FB1FD0E4651A676302A3B81CF@SINPRD0103MB043.apcprd01.prod.exchangelabs.com> Content-Type: text/plain; charset="us-ascii" Hi everybody, A*STAR wants to announce our new ros repository: http://code.google.com/p/astar-ros-pkg/ For now, the repository contains only one package but more will be added when they are ready.The package in the repository does a simple people detection and tracking using the Kinect. It also outputs the position and distance of each person from the kinect's point of view. Thanks for your attention. ------------------------------ Message: 4 Date: Fri, 10 Jun 2011 11:04:28 +0530 From: Ravi Kumar Subject: Re: [ros-users] ros-users Digest, Vol 16, Issue 9 To: ros-users@code.ros.org Message-ID: Content-Type: text/plain; charset="iso-8859-1" Hi all, I need 2d laser data of horizontal terrain, but I am unable in getting that, so I am using data from (mrpt.org), rawlog format but can any please tell me how to convert the rawlog file in to bag or input data. -------------- next part -------------- An HTML attachment was scrubbed... URL: /lurker/list/ros-users.html/attachments/20110610/96ab4c92/attachment-0001.htm ------------------------------ Message: 5 Date: Fri, 10 Jun 2011 15:28:57 +0400 From: Alexander Shavykin Subject: [ros-users] error with opencv in image_transport tutorial To: ros-users@code.ros.org Message-ID: Content-Type: text/plain; charset="iso-8859-1" Hello. i have an Ubuntu 10.04 and Ros diamondback. I try to do image_transport tutorial ( http://www.ros.org/wiki/image_transport/Tutorials) i run (as here http://www.ros.org/wiki/image_transport/Tutorials/ExaminingImagePublisherSubscriber ) ------------------------------------------------------------------------------------------- alexander@alexander-laptop:~/learning_image_transport$ rosrun learning_image_transport my_publisher home/alexander/image.jpg --------------------------------------------------------------------------------------------- And i got next error: ----------------------------------------------------- OpenCV Error: Null pointer (NULL array pointer is passed) in cvGetMat, file /tmp/buildd/ros-diamondback-vision-opencv-1.4.3/debian/ros-diamondback-vision-opencv/opt/ros/diamondback/stacks/vision_opencv/opencv2/build/opencv-svn/modules/core/src/array.cpp, line 2380 terminate called after throwing an instance of 'cv::Exception' what(): /tmp/buildd/ros-diamondback-vision-opencv-1.4.3/debian/ros-diamondback-vision-opencv/opt/ros/diamondback/stacks/vision_opencv/opencv2/build/opencv-svn/modules/core/src/array.cpp:2380: error: (-27) NULL array pointer is passed in function cvGetMat Aborted -------------------------------------------------------------------------- How can i correct this situation? Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: /lurker/list/ros-users.html/attachments/20110610/ebd9b6d6/attachment-0001.htm ------------------------------ Message: 6 Date: Fri, 10 Jun 2011 19:54:40 +0100 From: Rodrigo Ventura Subject: [ros-users] IPv6 support To: ros-users@code.ros.org Message-ID: <34D4C2AD-87F0-402A-A6D1-65F43D0A1B38@isr.ist.utl.pt> Content-Type: text/plain; charset=iso-8859-1 It seems ROS does not support IPv6, yet. Is there any plans to add IPv6 support? How hard would it be? Best, Rodrigo Ventura Institute for Systems and Robotics Instituto Superior T?cnico Lisbon, Portugal http://users.isr.ist.utl.pt/~yoda ------------------------------ _______________________________________________ ros-users mailing list ros-users@code.ros.org https://code.ros.org/mailman/listinfo/ros-users End of ros-users Digest, Vol 16, Issue 10 *****************************************